[Interest] Qt 5.15.16 macos 11.6.1 (bigsur)

2023-12-09 Thread maitai
Hi, I have a user on MacOS 11.6.1 M1 (ARM64) where our application crashes badly with: Dyld Error Message: Symbol not found: __ZTTNSt3__114basic_ifstreamIcNS_11char_traitsIc Referenced from: /Users/USER/*/qtVlm.app/Contents/MacOS/qtVlm Expected in: /usr/lib/libc++.1.dylib The same

Re: [Interest] Draw a qimage with transparency on a QOpenGLPaintDevice

2022-05-02 Thread maitai
ing(); pnt.endNativePainting(); pnt->drawImage(etc); This seems to force a kind of flush and all is fine after that. Should I report a bug? Thanks Philippe Le 01-05-2022 13:45, maitai a écrit : Hi, I have some heavy rendering that I would like to speed up using openGL. For the time being using only QPainter r

[Interest] Draw a qimage with transparency on a QOpenGLPaintDevice

2022-05-01 Thread maitai
Hi, I have some heavy rendering that I would like to speed up using openGL. For the time being using only QPainter regular method but later some native openGL code. So instead of painting on a QImage, I am painting on a QOpenGLPaintDevice. All is fine except one point: When the painter

[Interest] Question about QML particles

2022-04-26 Thread maitai
Hi, I am trying to render particles with a trail, which should be just a basic polygon representing the path traveled by the particle, with no fancy effect. I have of course tried with TrailEmitter, but I get at best some isolated points behind the particle and not a line. Is there a way to

Re: [Interest] Buod android minsdk

2022-02-10 Thread maitai
Hi and thanks very much, that was it. --Philippe Le 10-02-2022 21:56, Nuno Santos a écrit : Phillipe, I had the same problem recently. Check qt creator project env vars. -- Nuno Santos No dia 10/02/2022, às 19:47, maitai escreveu:  Hi, I need to build a pure SDK/NDK30 android app

[Interest] Buod android minsdk

2022-02-10 Thread maitai
Hi, I need to build a pure SDK/NDK30 android app. The reason for that is that some static libs use functions not available in SDK/NDK21, for instance stderr, stdout, and some other. I have tried to set in pro file ANDROID_MIN_SDK_VERSION = 30 and also to modify build.gradle, but linkage

[Interest] Android 11, memory leak and Scudo

2022-01-20 Thread maitai
Hi all, I have several users crashing with OOM under Android 11 or 12 (qt5.15.8 Widget app, SDK30, NDK21, JDK11). The same exact config (same apk, same settings, same data) does not behave the same depending on the device using SCUDO or JEMALLOC. I have a device running Android 11 but with

[Interest] Android Native File Picker

2022-01-09 Thread maitai
Hi, Is there a way for the Android native QFileDialog::getOpenFileName to pick up a file in my own app private files (/Android/data/com.company.appname/files) ? On Android 11 and up I can see only Android/media. If I use my own filepicker based on QFileSystemModel then I can see all my

Re: [Interest] Android 11/SDK 30 file issues

2021-12-23 Thread maitai
, Andreas Buhr a écrit : Hi Philippe, On 21.12.21 21:40, maitai wrote: I have dug a lot today into it and my feeling is that it is not a qt bug. Even if it is not a Qt bug, Qt users are affected by it and it would be valuable to have one central point where we collect information about it. A bug

Re: [Interest] Android 11/SDK 30 file issues

2021-12-21 Thread maitai
droid file explorer. I use an intent ACTION_OPEN_DOCUMENT_TREE to allow a full directory access, but even in Java I can see only "MEDIA" files once accepted. Any kind of hints really needed. Thanks Philippe Le 21-12-2021 21:16, Andreas Buhr a écrit : Hi Philippe, On 21.12.21

[Interest] Android 11/SDK 30 file issues

2021-12-21 Thread maitai
Hi, We are having a big issue with Android 11 build for SDK30 which is now compulsory, currently running qt5.15.6 (commercial). To be prepared for that we have moved previously (with a build made for SDK 29), all user data from where it was to Documents/appName. But now with the new build

Re: [Interest] QGeoSatelliteInfoSource on iOS

2021-11-15 Thread maitai
on behalf of maitai Sent: Monday, November 15, 2021 11:53 AM To: Interest@qt-project.org Subject: [Interest] QGeoSatelliteInfoSource on iOS Hello, On iOS (Qt 5.15.7) I am not able to get a QGeoSatelliteInfoSource from createDefaultSource(). It always returns null and availableSources is empty. I can

[Interest] QGeoSatelliteInfoSource on iOS

2021-11-15 Thread maitai
Hello, On iOS (Qt 5.15.7) I am not able to get a QGeoSatelliteInfoSource from createDefaultSource(). It always returns null and availableSources is empty. I can retrieve position through QGeoPositionInfoSource. Same code works correctly on Android. Is it a known limitation on iOS, or maybe

Re: [Interest] iOS QGeoPositionInfoSource updateInterval

2021-11-02 Thread maitai
, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B - From: Interest on behalf of maitai Sent: Saturday, October 30, 2021 7:23 PM To: Interest@qt-project.org Subject: [Interest] iOS QGeoPositionInfoSource updateInterval Hi all, It seems to me that QGeoPositionInfoSource

[Interest] iOS QGeoPositionInfoSource updateInterval

2021-10-30 Thread maitai
Hi all, It seems to me that QGeoPositionInfoSource::setUpdateInterval on iOS does nothing, whatever I set I am still receiving a position update around every second. I want to use a longer interval when in background, in order not to drain the battery. But even in foreground I cannot change

Re: [Interest] ios pressure sensor

2021-10-27 Thread maitai
OK thanks, let's hope it will be available in some 5.15.x release --Philippe. Le 27-10-2021 09:16, Alex Blasche a écrit : It is being worked on atm. https://bugreports.qt.io/browse/QTBUG-70877 -- Alex From: Interest on behalf of maitai Sent: Tuesday

[Interest] ios pressure sensor

2021-10-26 Thread maitai
Hi all, I need to read pressure sensor on Android and iOS. Android no problem, but for iOS it is not even supported (https://doc.qt.io/qt-5/compatmap.html) Any hard reason for that before I start to do it natively ? -- Philippe. ___ Interest

Re: [Interest] QDir().rename() or QFile::rename() on Android 11

2021-10-26 Thread maitai
3 methods are working fine including QDir::rename, and takes less that a second. The manual/recurse method also takes less than a second, so my conclusion is that /Android/data is a very very slow place. --Philippe Le 26-10-2021 00:50, Thiago Macieira a écrit : On Monday, 25 October 2021 05:37:06

[Interest] QDir().rename() or QFile::rename() on Android 11

2021-10-25 Thread maitai
Hi, I need to move globally one folder to another in /Android/Data/myapp/files. App is built against SDK29, and I do have android:requestLegacyExternalStorage="true" in the manifest. I am using QFile::rename, or QDir().rename() with same bad result when running Android 11. There is no

Re: [Interest] SSL & Let's Encrypt certificate expiration

2021-10-06 Thread maitai
I vaguely understand that, but that is not my question. My question is why forcing the loading of systemCACertificates() works. --Philippe Le 06-10-2021 20:28, Thorsten Glaser a écrit : On Wed, 6 Oct 2021, maitai wrote: old Ubuntu 16.04 VM. ca-certificates (20160104ubuntu1) does not have

Re: [Interest] SSL & Let's Encrypt certificate expiration

2021-10-06 Thread maitai
OK, this is a SSL/TLS specialists debate and I am not, I just have simple questions. What I see: On Linux 16.04/Qt 5.11.3/SSL 1.0.2g If I force the loading of systemCa into the default SSL configuration all is OK QSslConfiguration def = QSslConfiguration::defaultConfiguration();

[Interest] SSL & Let's Encrypt certificate expiration

2021-10-05 Thread maitai
Hi all, Since the Let's Encrypt root certificate expired, we have a few users unable to initiate a SSL connexion (most of them on recent Windows 10 version, app built with qt 5.15.6, but also some linux cases). We are using OpenSSL 1.1.1. After some searches, we found out that the

Re: [Interest] qt and Windows tolerance heap

2021-09-08 Thread maitai
09-2021 20:05, maitai a écrit : OK, thanks. I will not attempt to modify the registry. I just want to know if that is the case and eventually display a warning. The key for that is Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FTH\State Now I want to test my changes, I have already forced

Re: [Interest] qt and Windows tolerance heap

2021-09-07 Thread maitai
might want to code your check to allow for a security violation, so the is it enabled would be yes, no, or "I cant tell" response. Scott From: Interest On Behalf Of maitai Sent: Tuesday, September 7, 2021 7:36 AM To: Interest@qt-project.org Subject: Re: [Interest] qt and Windows tole

Re: [Interest] qt and Windows tolerance heap

2021-09-07 Thread maitai
: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FTH\ExclusionList\myapp.exe Change myapp.exe for your actual application. From: Jérôme Godbout Date: Tuesday, September 7, 2021 at 9:07 AM To: maitai , Interest@qt-project.org Subject: Re: [Interest] qt and Windows tolerance heap The tolerant heap only

[Interest] qt and Windows tolerance heap

2021-09-07 Thread maitai
Hi, I have some users (mainly beta testers) that are suffering from "Windows Tolerant Heap" (https://docs.microsoft.com/en-us/windows/win32/win7appqual/fault-tolerant-heap). The consequence of this being activated after some crashes is that the application becomes very slow, plus some

Re: [Interest] Question on retina

2021-05-03 Thread maitai
Ok, thanks Le 03-05-2021 10:54, Tor Arne Vestbø a écrit : You can (they will/should be scaled appropriately), but ideally you should provide @3x assets as well. Cheers, Tor Arne On 3 May 2021, at 09:04, maitai wrote: Hello, Can I use images with devicePixelRation = 2 on iOS devices

[Interest] Question on retina

2021-05-03 Thread maitai
Hello, Can I use images with devicePixelRation = 2 on iOS devices reporting 3 or more as devicePixelRatio? Thanks Philippe Lelong ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

[Interest] iOS and openGL

2021-04-12 Thread maitai
Hi, I have a QWidget app running on many platforms including iOS, using QGraphicsScene/View, Qt 5.15.2. The scene can contains many items, be rotated, etc. We enable openGL QGraphicsview's viewport as it is stated in the documentation, i.e. QOpenGLWidget *gl = new QOpenGLWidget();

Re: [Interest] Android manifest min sdk with 5.15.1

2020-10-21 Thread maitai
Hi, Min SDK and Target SDK are now variables that you should set in the pro file, for instance ANDROID_MIN_SDK_VERSION = 21 ANDROID_TARGET_SDK_VERSION = 29 See here: https://doc.qt.io/qt-5/qmake-variable-reference.html -- Philippe Le 20-10-2020 22:58, Jérôme Godbout a écrit : Hi, I run

[Interest] Android 5 and ssl 1.1.1

2020-10-16 Thread maitai
Hi all, We are currently migrating to Android bundle (.aab) and qt 5.15.1, and I have some questions related to Android 5 (SDK 21) and SSL So far we were distributing apk built with 5.12.3/SSL 1.0 for android 4 and 5, and apk built with 5.13.2/SSL 1.1.1 for Android 6 and above. With the

[Interest] qt 5.15.0 msvc 2019

2020-07-30 Thread maitai
Hi all, I am a bit confused with qt 5.15.0 on Windows. The downloader proposes either MSVC2015 or MSVC2019, why not MSVC2017, mystery. I chose 2019, and installed relevant MSVC/Visual basic suites. All good, build ok, etc. Installer installs MSVC 2019 if missing, etc. Then users start to

Re: [Interest] QDialog and Ubuntu 18.04

2020-05-04 Thread maitai
Any insight? I will open a qt-bug then Thanks Le 24-04-2020 10:07, maitai a écrit : Hello all I am having strange QDialog behavior under Ubuntu 18.04. The application is a QWidget app compiled either with qt 5.14.1 or qt 5.12.3 that does not matter Here the behavior is the following: If I

[Interest] QDialog and Ubuntu 18.04

2020-04-24 Thread maitai
Hello all I am having strange QDialog behavior under Ubuntu 18.04. The application is a QWidget app compiled either with qt 5.14.1 or qt 5.12.3 that does not matter Here the behavior is the following: If I use UNITY desktop moving (dragging) a QDialog works, but instead of moving straight

Re: [Interest] Crash when creating QNetworkAccessManager in qt 5.14.x

2020-02-06 Thread maitai
Found it, and as expected it was something stupid on my side. I had somewhere an old directory "bearer" containing old dlls from 5.9.1 and qt was loading those instead of 5.14.1 Sorry all for the trouble, and thanks for your patience with me. Philippe.

Re: [Interest] Crash when creating QNetworkAccessManager in qt 5.14.x

2020-02-06 Thread maitai
); CoUninitialize(); QNetworkAccessManager *inet = new QNetworkAccessManager(); delete inet; ... On 2020-02-06 08:02, coroberti . wrote: Have you tried to comment out cleanup of reply objects (QNetworkReply) ? On Thu, Feb 6, 2020 at 8:49 AM maitai wrote: I've checked it already, and anyway

Re: [Interest] Crash when creating QNetworkAccessManager in qt 5.14.x

2020-02-05 Thread maitai
Dialog declared static, their ctors most likely will run before main(), > i.e. some COM/networking activity could occur before main() kicks in. > > On 2020-02-05 21:10, maitai wrote: > >> As I said, I now have doubts it comes from COM threading... >> >> I have b

Re: [Interest] Crash when creating QNetworkAccessManager in qt 5.14.x

2020-02-05 Thread maitai
QNetworkAccessManager(); delete inet; this crashes on new in our app, not in a sample without HEADERS and SOURCES. I cannot understand that, certainly there is something obvious I am missing. Philippe Lelong. Le 05-02-2020 17:06, Henry Skoglund a écrit : > On 2020-02-05 16:32, maitai wr

Re: [Interest] Crash when creating QNetworkAccessManager in qt 5.14.x

2020-02-05 Thread maitai
Hi Rainer, Unfortunately your suggestion didn't work I have added in my pro file: win32: QMAKE_LFLAGS += /CLRTHREADATTRIBUTE:MTA and I can see the option in the link command (I also tried the 2 other possibilities STA and NONE of course), but that does not fix anything. My feeling is that

Re: [Interest] Crash when creating QNetworkAccessManager in qt 5.14.x

2020-02-04 Thread maitai
Thanks all for your help Further findings: The message concerning COM failing to initialize comes from our app, and is in fact there always in 5.14.x (regardless of the issue with QNetworkManager) In the very first lines of main.cpp, we call a static function which for Windows does

Re: [Interest] Crash when creating QNetworkAccessManager in qt 5.14.x

2020-02-04 Thread maitai
Thanks Robert and Thiago, If I create it on the stack instead of on the heap same mystery, i.e if I create it before qApp all good, if after it crashes this works: qWarning()<<"test"; QNetworkAccessManager inet; qWarning()<<"after test"; QApplication app(argc, argv); this

Re: [Interest] Crash when creating QNetworkAccessManager in qt 5.14.x

2020-02-04 Thread maitai
and if the matters come to order, there's some memory corruption as my experience. jm2c Kind regards, Robert Iakobashvili On Tue, Feb 4, 2020 at 10:02 AM maitai wrote: Hi all, While the mail list was broken I did some further experiments: If I move the creation

Re: [Interest] Crash when creating QNetworkAccessManager in qt 5.14.x

2020-02-04 Thread maitai
that in a small sample but failed. I have build a small app with the same qt modules, the same linked libraries, running in the same directory, but failed to reproduce it. Any idea about what can go wrong here? Thanks Philippe Le 01-02-2020 20:11, maitai a écrit : Hi all I am trying

[Interest] Crash when creating QNetworkAccessManager in qt 5.14.x

2020-02-03 Thread maitai
Hi all I am trying to upgrade from qt5.13.2/MSVC2017 to Qt5.14.1/MSVC2017 In 5.14.1 (and 0) app is crashing on "QNetWorkAccessManager *inetManager = new QNetWorkAccessManager()", while all is OK in previous Qt versions I cannot debug this on Windows. I have removed all old dlls etc

Re: [Interest] mapboxgl plugin and glyphs

2020-01-05 Thread maitai
I saw there is a possibility to create a cache database (mapboxgl.db) using an offline tool. Maybe this is a way to save just the glyphs I need, without tiles? Philippe Le 28-12-2019 01:00, Ola Røer Thorsen a écrit : 27. des. 2019 kl. 19:51 skrev maitai : Hello, Is there a way to specify

[Interest] mapboxgl plugin and glyphs

2019-12-27 Thread maitai
Hello, Is there a way to specify a specific url for glyphs in mapboxgl plugin? Longer version: I need to disable all access to mapbox urls, (i.e. I want to use mapboxgl plugin just to load our own geojson geometries, and anyway the app must run completely offline). For that I have put a dummy

Re: [Interest] MapboxGL offline and custom vector tiles source

2019-12-23 Thread maitai
Thanks, I will have a close look. Philippe Le 22-12-2019 21:51, Ola Røer Thorsen a écrit : > tor. 19. des. 2019 kl. 17:24 skrev maitai : > >> We would like to serve custom vector tiles, ideally though an API call >> or eventually a local server/stream. We don't want to

Re: [Interest] MapboxGL offline and custom vector tiles source

2019-12-23 Thread maitai
vectors On Thu, 19 Dec 2019 17:22:25 +0100 maitai wrote: Hello, We would like to serve custom vector tiles, ideally though an API call or eventually a local server/stream. We don't want to add data or layers to an existing mapbox chart, but rather respond to tile queries by sending our own

[Interest] MapboxGL offline and custom vector tiles source

2019-12-19 Thread maitai
Hello, We would like to serve custom vector tiles, ideally though an API call or eventually a local server/stream. We don't want to add data or layers to an existing mapbox chart, but rather respond to tile queries by sending our own geojson tiles. We have already done that for OSM plugin

Re: [Interest] cdn.qt.io is currently unable to handle this request.

2019-12-07 Thread maitai
+1 Le 07-12-2019 21:08, Nuno Santos a écrit : Hi, Is anyone having the same problem while trying to download Qt installer or using the maintenance tool? Best, Nuno ___ Interest mailing list Interest@qt-project.org

Re: [Interest] QImage::copy threadsafe?

2019-11-09 Thread maitai
be very careful with memory and time to copy. Philippe. Le 09-11-2019 18:12, Giuseppe D'Angelo via Interest a écrit : Hi, On 08/11/2019 18:33, maitai wrote: All is in the tile, is QImage::copy threadsafe? The method is const but is it enough? Documentation does not state it is thread safe so I am

[Interest] QImage::copy threadsafe?

2019-11-08 Thread maitai
Hello all, All is in the tile, is QImage::copy threadsafe? The method is const but is it enough? Documentation does not state it is thread safe so I am wondering. My case is I have a QImage loaded in the main thread, and many many threads that keep extracting small rectangles from it using

Re: [Interest] Struggling to build qt 5.9.9 for iOS

2019-08-12 Thread maitai
, project) being equal ? Philippe. Le 11-08-2019 18:38, Thiago Macieira a écrit : On Sunday, 11 August 2019 05:15:31 PDT maitai wrote: FYI based on what you said I added -qt-zlib to configure options, and now my app compiles and runs OK. I don't know if it is a normal option for such a build My

Re: [Interest] Struggling to build qt 5.9.9 for iOS

2019-08-11 Thread maitai
FYI based on what you said I added -qt-zlib to configure options, and now my app compiles and runs OK. I don't know if it is a normal option for such a build Philippe Le 11-08-2019 07:22, maitai a écrit : Thanks Diago for the answer. We are using our own zlib library. The fact

Re: [Interest] Struggling to build qt 5.9.9 for iOS

2019-08-10 Thread maitai
and that fixed my problem at least. Philippe Le 10-08-2019 22:51, Thiago Macieira a écrit : On Saturday, 10 August 2019 02:03:19 PDT maitai wrote: items/qquickshadereffect.cpp:511:20: error: aligned allocation function of type 'void *(unsigned long, enum std::align_val_t)' is only

[Interest] Struggling to build qt 5.9.9 for iOS

2019-08-10 Thread maitai
Hi, I need to build qt5.9.9 since I cannot wait for its release end 2019, due to qtbug-70683. I am trying to build with what I have, i.e. XCode 10.2.1 SDK iOS 12.2 After I run configure and make, I get a compilation error: items/qquickshadereffect.cpp:511:20: error: aligned allocation

[Interest] building qt 5.9.9

2019-08-07 Thread maitai
Hello, I need to build qt5.9.9/iOS dev branch which is due end 2019, but I cannot wait until that due to https://bugreports.qt.io/browse/QTBUG-70683 What is the best way to get the sources? Get 5.9.8 and apply the patch, or somehow getting 5.9.9 dev branch? Any git commands welcomed Thanks

Re: [Interest] qt 5.13.0 SSL requirements

2019-07-30 Thread maitai
Thanks Thiago, seems it fixed it all. Le 30-07-2019 02:59, Thiago Macieira a écrit : On Monday, 29 July 2019 09:33:41 PDT maitai wrote: Hi all, I have some Windows 10/64 bits users reporting "TLS initialization failed" when running our app, built with Qt 5.13.0 MSVC 2017/64 bits I

Re: [Interest] qt 5.13.0 SSL requirements

2019-07-29 Thread maitai
= no-pkg-config > CONFIG += link_pkgconfig > PKGCONFIG += /path/to/openssl/lib/pkgconfig/openssl.pc \ > /path/to/openssl/lib/pkgconfig/libssl.pc > > /René > > On Mon, 29 Jul 2019 at 19:15, David M. Cotter wrote: > seconded > > On Jul 29, 2019, at 9:33 AM, maitai wrote:

[Interest] qt 5.13.0 SSL requirements

2019-07-29 Thread maitai
Hi all, I have some Windows 10/64 bits users reporting "TLS initialization failed" when running our app, built with Qt 5.13.0 MSVC 2017/64 bits I have found this page: https://doc.qt.io/qt-5/windows-requirements.html But the interesting part is missing, i.e. what variable should I set to

Re: [Interest] unable to compile for iOS Simulator

2019-05-04 Thread maitai
Thanks for your reply Yes I have a zlib lib which is linked statically I'll see if I can remove it just for that case. Philippe. Le 04-05-2019 17:50, Thiago Macieira a écrit : On Saturday, 4 May 2019 05:00:24 PDT maitai wrote: Undefined symbols for architecture x86_64: "_inflateVal

[Interest] unable to compile for iOS Simulator

2019-05-04 Thread maitai
Hi all, Qt5.12.3, trying to compile using latest XCode for iOS simulator, I get the following error: Undefined symbols for architecture x86_64: "_inflateValidate", referenced from: _png_inflate_claim in libqtlibpng.a(pngrutil.o) ld: symbol(s) not found for architecture x86_64 clang:

Re: [Interest] Qt 5.9 and OpenSSL 1.1?

2019-03-22 Thread maitai
Interesting exchange but can someone summarize? I distribute an app compiled with qt 5.11.1, and I cannot go immediately to 5.12 I deliver the libs for ssl 1.0 a bit the way creator is doing it. It works in 99% of the cases, but some rare linux distributions just crash. The solution would

Re: [Interest] QtLocation MapPolyLine and MouseArea

2019-03-08 Thread maitai
Mar 2019 18:32:35 +0100 maitai wrote: Hi, I need to trigger various actions whenever a MapPolyLine is hovered or pressed, such as displaying a tooltip, a menu, etc. I have put a MouseArea on it with anchors.fills: parent, but the problem is that the mouse area does not represent the line

Re: [Interest] QtLocation MapPolyLine and MouseArea

2019-03-08 Thread maitai
And indeed that was it! In the MapPolyLine's MouseArea I just replaced "anchor.fill: parent" with "containmentMask: polyline" and (luckily I think) it works without any further calculations. Thanks a lot for the tip. Philippe. Le 08-03-2019 08:18, maitai a é

Re: [Interest] QtLocation MapPolyLine and MouseArea

2019-03-07 Thread maitai
Thanks Shawn, that looks the best approach, I 'll give it a try. Le 07-03-2019 20:29, Shawn Rutledge a écrit : On 7 Mar 2019, at 18:32, maitai wrote: Hi, I need to trigger various actions whenever a MapPolyLine is hovered or pressed, such as displaying a tooltip, a menu, etc. I have put

Re: [Interest] QtLocation MapPolyLine and MouseArea

2019-03-07 Thread maitai
4:32 am, maitai wrote: Hi, I need to trigger various actions whenever a MapPolyLine is hovered or pressed, such as displaying a tooltip, a menu, etc. I have put a MouseArea on it with anchors.fills: parent, but the problem is that the mouse area does not represent the line, but the polygon

Re: [Interest] QtLocation MapPolyLine and MouseArea

2019-03-07 Thread maitai
could be quick enough. Maybe doing the inverted converting the coordinate to point would make the computation easier. http://mathworld.wolfram.com/Point-LineDistance2-Dimensional.html -Original Message- From: Interest On Behalf Of maitai Sent: March 7, 2019 12:33 PM To: Interest@qt-proje

[Interest] QtLocation MapPolyLine and MouseArea

2019-03-07 Thread maitai
Hi, I need to trigger various actions whenever a MapPolyLine is hovered or pressed, such as displaying a tooltip, a menu, etc. I have put a MouseArea on it with anchors.fills: parent, but the problem is that the mouse area does not represent the line, but the polygon made by the line. For

Re: [Interest] QtLocation MapPolyLine and MapPolyGon style

2019-02-26 Thread maitai
, create the polygon with Shapes, and then do the math and georeference it "manually". As for your last question, i don't think i can answer since too many details are missing hope this helps a bit, anyway On Mon, 25 Feb 2019 20:01:17 +0100 maitai wrote: Hi, I may be wrong since it

[Interest] QtLocation MapPolyLine and MapPolyGon style

2019-02-25 Thread maitai
Hi, I may be wrong since it seems incredible, but it seems there is no way to draw a MapPolyLine dashed or dotlined, and similarly I didn't find a way to fill a MapPolygon with a pattern. If that is the case, what in your opinion would be the best way to implement this? I found

Re: [Interest] Qt Location custom osm plugin and high res tiles

2019-02-20 Thread maitai
So it's a matter of tradeoff there On Wed, 20 Feb 2019 17:33:05 +0100 maitai wrote: Hi Paolo, My initial question was concerning a custom map type, not a derived plugin. So basically you are saying that on a retina x2 screen I can send back 512x512 tiles and the plugin will mark the t

Re: [Interest] Qt Location custom osm plugin and high res tiles

2019-02-20 Thread maitai
What does that mean? If you meant "a modified osm plugin", then you would be already using this class anyway. If you meant "custom map type", then just feeding 512x512 tiles should work. On Wed, 20 Feb 2019 08:38:44 +0100 maitai wrote: Hi, Seems to me that QGeoCameraCapabilit

Re: [Interest] Qt Location custom osm plugin and high res tiles

2019-02-19 Thread maitai
Hi, Seems to me that QGeoCameraCapabilities is a private qt API? >From what I found on the net seems it would help a lot for customizing own map plugin or tile server, but it's not clear how I can access it. Philippe Le 19-02-2019 19:40, maitai a écrit : > Thanks I'll give it

Re: [Interest] Qt Location custom osm plugin and high res tiles

2019-02-19 Thread maitai
Thanks I'll give it a try Message d'origine De : Paolo Angelelli Date : 19/02/2019 7:21 PM (GMT+01:00) À : interest@qt-project.org Objet : Re: [Interest] Qt Location custom osm plugin and high res tiles Hi, yes it's easy.All you have to do is setting the appropriate

[Interest] Qt Location custom osm plugin and high res tiles

2019-02-19 Thread maitai
Hello, Is it possible to use high res tiles with a custom osm plugin? In fact I created my own local server and would like to know if I can send high res tiles, for instance if devicePixelRatio is 2 I would send 512x512 tiles, expecting Qt Location to set the tile pixel ratio to 2. Thanks

[Interest] qmediaplayer on raspberry stretch (and modified stretch)

2019-02-03 Thread maitai
Hello, I have an application running on Raspberry/Stretch supposed to play some wav files. On RPI basically for sound you can choose between HDMI or Jack output. Stretch by default does not come with pulseAudio, so it is only Alsa. Actually there is no problem with a "pure" Stretch

[Interest] logging category for qmediaplayer

2019-02-01 Thread maitai
Hello, I am having a problem with sound output on some devices and would like to enable qloggincategory for QMediaPlayer, in order to get an idea of what is going on. I tried QLoggingCategory::setFilterRules("qt.multimedia.* = true"); and various other ideas but no output in the console

Re: [Interest] Compiling 5.11.2 on a Pi 3B

2018-11-08 Thread maitai
Hi Jason This is my way for compiling qt for RPI 3 or 2, cross compiling from a Ubuntu virtual machine. The trick for me is to replace the content of qtbase/mkspecs/devices/linux-rasp-pi2-g++/qmake.conf with include(../common/linux_device_pre.conf) QMAKE_LFLAGS +=

Re: [Interest] Crash in iOS 12 when Accessibility is ON

2018-10-26 Thread maitai
, etc. Kind regards, Robert Iakobashvili On Fri, Oct 26, 2018 at 11:09 AM maitai wrote: Hi Robert, Thanks for the support. Backtrace is joined, as seen from xcode. Philippe. Le 26-10-2018 09:27, coroberti . a écrit : > Hi Philippe, > Just voted for it. > >

[Interest] Crash in iOS 12 when Accessibility is ON

2018-10-26 Thread maitai
Hello, There has been already 2 bug reports for that (QTBUG-70909 and QTBUG-70683), but it is not yet fixed and I am looking for a workaround, since lot of my users are complaining. To make a long story short, iOS 12 is crashing in UIAccessibility _axuiElementForNotificationData when for

Re: [Interest] Linux openssl 1.1.0 versus 1.0.X

2018-09-16 Thread maitai
Hello, I don't think the problem will be gone any time soon. I know plenty of users who never update anything... I noticed that qtCreator ships ssl and crypto libs (into Tools/QtCreator/lib/Qt/lib). I just put these 6 files into my own libs directory and hop, all good, no recompilation

Re: [Interest] Linux openssl 1.1.0 versus 1.0.X

2018-09-15 Thread maitai
, Giuseppe D'Angelo via Interest a écrit : Il 15/09/2018 12:51, maitai ha scritto: Some of my users have started migrating to Ubuntu 18.04 and since it comes with openssl 1.1.0 the app cannot connect anymore. As I understand qt 5.11.1 prebuild binaries are built against openssl 1.0.X

Re: [Interest] Linux openssl 1.1.0 versus 1.0.X

2018-09-15 Thread maitai
the whole qt again just for that case. I will add a stupid test, and if https does not work let's go for http. Thanks again, you are right I agree. Philippe. Le 15-09-2018 18:06, Thiago Macieira a écrit : On Saturday, 15 September 2018 03:51:29 PDT maitai wrote: Hello, Some of my users have

[Interest] Linux openssl 1.1.0 versus 1.0.X

2018-09-15 Thread maitai
Hello, Some of my users have started migrating to Ubuntu 18.04 and since it comes with openssl 1.1.0 the app cannot connect anymore. As I understand qt 5.11.1 prebuild binaries are built against openssl 1.0.X. Is there a simple way to deploy my application with openssl 1.0.X libraries so it

Re: [Interest] QML Settings fails persistance on Android

2018-08-31 Thread maitai
QML Settings > component then? > > /René > > On Fri, 31 Aug 2018 at 14:35 maitai wrote: > > Hi, > > Here I have a slot in my backend (c++) that is called each time the app goes > to background (from override onPause() in java). I do sync() there. > > Ph

Re: [Interest] QML Settings fails persistance on Android

2018-08-31 Thread maitai
Hi, Here I have a slot in my backend (c++) that is called each time the app goes to background (from override onPause() in java). I do sync() there. Philippe. Le 31-08-2018 13:26, René Hansen a écrit : > Hi, > > I've run into a number of weird cases where properties on a SETTINGS element

Re: [Interest] Bluetooth library and old windows versions

2018-08-23 Thread maitai
, Maurice -Original Message- From: Interest On Behalf Of maitai Sent: Thursday, August 23, 2018 3:32 PM To: interest@qt-project.org Subject: Re: [Interest] Bluetooth library and old windows versions Hi Oliver, thanks for your reply This message is from Qt or from Windows? Because

Re: [Interest] Bluetooth library and old windows versions

2018-08-23 Thread maitai
on I think. The plugin method will probably display the message each time the app is launched and that is annoying. Philippe Le 23-08-2018 15:00, Oliver Wolff a écrit : Hi, On 23/08/2018 13:30, maitai wrote: Hello, I have a problem with users equipped with an old version of Windows (8, or 7).

[Interest] Bluetooth library and old windows versions

2018-08-23 Thread maitai
Hello, I have a problem with users equipped with an old version of Windows (8, or 7). The latest version of my app (Qt 5.11.1/MSVC 2017 based) required QtBluetooth but when users load the app they get a message saying: "This Windows version does not support the required Bluetooth API.

Re: [Interest] bluetooth again

2018-08-03 Thread maitai
Thanks Alex, Yes both client and server are pure Qt apps (5.11.1). I will try to build two small samples for that, when I will be back from vacation (in a week). Philippe. Le 03-08-2018 12:31, Alex Blasche a écrit : -Original Message- From: Interest On Behalf Of maitai I am

[Interest] bluetooth again

2018-08-02 Thread maitai
Hello, I am having 2 small other issues and before I report a bug I would like to have your opinion: On MacOS QBluetoothServiceInfo::unregisterService() crashes immediately. The very same bluetooth server running on Android does not crash. On Android (running as a server) when closing the

[Interest] Android Wear swipe to dismiss

2018-07-27 Thread maitai
Hello, I have an Android Wear app (qt 5.11.1, API 26, QML-based). When the app goes to background, it does not recover if that was initiated by a "swipe from left to right". It works only if the send to background was made by pressing the watch button. On an Android phone there is no

Re: [Interest] Android bluetooth in a thread

2018-07-26 Thread maitai
From: Interest on behalf of maitai Sent: Thursday, 26 July 2018 9:08:00 AM To: Interest@qt-project.org Subject: [Interest] Android bluetooth in a thread Hello, Another question about QBluetooth, this time on Android: If I run a bluetooth "client" class i

[Interest] Android bluetooth in a thread

2018-07-26 Thread maitai
Hello, Another question about QBluetooth, this time on Android: If I run a bluetooth "client" class in a thread, discovery fails and I have this weird message in the console: QObject::connect: Cannot queue arguments of type 'QBluetoothServiceInfo' (Make sure 'QBluetoothServiceInfo' is

Re: [Interest] Bluetooth on Windows 10

2018-07-25 Thread maitai
will have a look as soon as possible. Olli On 25/07/2018 09:07, maitai wrote: Hi Olli Yes it is better but still not perfect: When I try the pingpong sample, it now works if I set Android as the server, and Windows as the client. But the opposite does not work, the paired Android device cannot

Re: [Interest] Bluetooth on Windows 10

2018-07-25 Thread maitai
requires the devices to be paired in order to use Bluetooth on Windows. There is a bug report about getting rid of that requirement (https://bugreports.qt.io/browse/QTBUG-58660) but that's the status quo atm. Olli On 24/07/2018 16:59, maitai wrote: Hi Oliver, No the 2 machines are not paired

Re: [Interest] Bluetooth on Windows 10

2018-07-24 Thread maitai
, are the two machines paired? Windows API does not allow pairing them, so the initial pairing has to be using the system UI. Olli On 24/07/2018 10:32, maitai wrote: Thanks Alex, I have done that, but although it seems to do things, I cannot make it work on Windows (server or client). It works

Re: [Interest] Bluetooth on Windows 10

2018-07-24 Thread maitai
:13, Alex Blasche a écrit : Adding QLoggingCategory::setFilterRules(QStringLiteral("qt.bluetooth* = true")); to your main() might help. -- Alex From: Interest on behalf of maitai Sent: Monday, 23 July 2018 6:34:15 PM To: Interest@qt-project.org

Re: [Interest] Bluetooth on Windows 10

2018-07-23 Thread maitai
the server (Qt 5.11.1). Now that I know that it should work I will dig deeper Thanks again Philippe. Le 23-07-2018 17:17, Alex Blasche a écrit : -Original Message- From: Interest On Behalf Of maitai I have already read many posts on this topic, but I cannot understand the following

  1   2   3   >