From rob_allan at trimble.com Tue Dec 1 03:32:23 2020 From: rob_allan at trimble.com (Rob Allan) Date: Tue, 1 Dec 2020 15:32:23 +1300 Subject: [Interest] Can't include Android asset filenames containing spaces in qmake 5.15 Message-ID: Something seems to have changed between Qt 5.13 and 5.15 in terms of how qmake handles Android asset filenames containing spaces. With 5.13, we were able to do the following in our .pro file: ASSET_DATA.path = /assets ASSET_DATA.files += $$quote(.\MyFiles\FileWithoutSpaces.txt) ASSET_DATA.files += $$quote(.\MyFiles\File With Spaces.txt) INSTALLS += ASSET_DATA The $$quote is unnecessary, but harmless, with the first of these files. It's essential with the second file that includes spaces in the filename. With Qt 5.15, this no longer works. Qmake fails with an error, and stops processing the file. The error is: 1>C:\Qt\5.15.1\android\bin\qmake.exe -install qinstall C:\Build\MyFiles\File\ With\ Spaces.txt android-build\armeabi-v7a\Release\assets\File\ With\ Spaces.txt 1>EXEC : error : usage: [-exe] source target 1>make.exe: *** [Makefile:24733: install_ASSET_DATA] Error 3 I've tried using $$shell_quote and $$system_quote in place of $$quote, both of which seems to be "stronger" quoting methods. (If you use 'message' to output the contents of ASSET_DATA.files, then you don't see the quotes in the message when you use $$quote, but they are still present in the message output when you use $$shell_quote or $$system_quote.) If I use $$shell_quote or $$system_quote, then qmake continues and doesn't report an error, but any files containing spaces are simply skipped and ignored, and don't end up in the assets. I've also tried actual double-quotes, double-quotes escaped with backslashes, escaping the space characters with backslashes, and pretty much anything else I could think of - no dice. Does anyone know what's changed here, and how I can go about including asset files with embedded spaces in their names? (I'm aware that one answer to this query is "Don't have spaces in your filenames". I'm looking into that option, but for historical reasons we have a lot of files containing embedded spaces, so getting rid of them all will have a lot of impacts and will require quite a bit of work. So I'd like to avoid that solution if I can.) Thanks, Rob Allan -------------- next part -------------- An HTML attachment was scrubbed... URL: From kde at carewolf.com Tue Dec 1 09:11:18 2020 From: kde at carewolf.com (Allan Sandfeld Jensen) Date: Tue, 01 Dec 2020 09:11:18 +0100 Subject: [Interest] Qt WebEngine, MHTML and custom schemes In-Reply-To: References: Message-ID: <7181036.EvYhyI6sBW@twilight> On Montag, 30. November 2020 15:00:10 CET Benjamin TERRIER wrote: > Hi, > > When accessing an MHTML file using a custom local scheme (either using > 'qrc:/' or using 'QWebEngineUrlSchemeHandler') it triggers a download. > > However, when using 'file:/' the MHTML file is displayed as a web page. > > I am trying to have the MHTML displayed also when using a custom scheme. > I have tried to play with > https://doc.qt.io/qt-5/qwebengineurlscheme.html#Flag-enum but it did not > work. > > Does someone have an idea to make it work? > Unfortunately it is pretty hard-coded, see src/3rdparty/chromium/content/ browser/loader/download_utils_impl.cc. We could make it somewhat programmable by implementing ContentBrowserClientQt::AllowRenderingMhtmlOverHttp() which despite its name is called for all non-file schemes. The question is then, should it be a setting per scheme or per page, and are there other people needing such a feature? The fact it is called from both IO and UI threads makes it a little more work than usual to implement. Best regards 'Allan From vperetokin at gmail.com Tue Dec 1 10:26:52 2020 From: vperetokin at gmail.com (Vadim Peretokin) Date: Tue, 1 Dec 2020 10:26:52 +0100 Subject: [Interest] Qt Installer for Windows: installs broken compiler Message-ID: While I've previously had MinGW 32bit installed by Qt working fine, this is no longer the case with the latest 5.12 LTS and Qt Online Installer combination: [image: Workspace 1_491.png] Trying to compile something results in a "Maybe you forgot to setup the environment?". Everything is setup in the online installer fine: [image: image.png] What could be the problem? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Workspace 1_491.png Type: image/png Size: 24511 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 8731 bytes Desc: not available URL: From christian.kandeler at qt.io Tue Dec 1 10:42:25 2020 From: christian.kandeler at qt.io (Christian Kandeler) Date: Tue, 1 Dec 2020 10:42:25 +0100 Subject: [Interest] Qt Installer for Windows: installs broken compiler In-Reply-To: References: Message-ID: <53db22b8-511c-acd9-0e98-142262cda9fd@qt.io> On 12/1/20 10:26 AM, Vadim Peretokin wrote: > While I've previously had MinGW 32bit installed by Qt working fine, > this is no longer the case with the latest 5.12 LTS and Qt Online > Installer combination: The tooltip you are seeing appears if the compiler executable either does not exist or is not an executable file, so you might want to check that. I just installed this particular compiler from the installer and do not observe this behavior. Christian From vperetokin at gmail.com Tue Dec 1 10:58:20 2020 From: vperetokin at gmail.com (Vadim Peretokin) Date: Tue, 1 Dec 2020 10:58:20 +0100 Subject: [Interest] Qt Installer for Windows: installs broken compiler In-Reply-To: <53db22b8-511c-acd9-0e98-142262cda9fd@qt.io> References: <53db22b8-511c-acd9-0e98-142262cda9fd@qt.io> Message-ID: On Tue, Dec 1, 2020 at 10:43 AM Christian Kandeler wrote: > On 12/1/20 10:26 AM, Vadim Peretokin wrote: > > While I've previously had MinGW 32bit installed by Qt working fine, > > this is no longer the case with the latest 5.12 LTS and Qt Online > > Installer combination: > > > The tooltip you are seeing appears if the compiler executable either > does not exist or is not an executable file, so you might want to check > that. > > I just installed this particular compiler from the installer and do not > observe this behavior. > > Thanks for the tip, that was the issue. I previously renamed the directory it is installed in and forgot about that. It's interesting that reinstalling the compiler did not restore the directory! > > Christian > > _______________________________________________ > Interest mailing list > Interest at qt-project.org > https://lists.qt-project.org/listinfo/interest > -------------- next part -------------- An HTML attachment was scrubbed... URL: From b.terrier at gmail.com Wed Dec 2 20:30:46 2020 From: b.terrier at gmail.com (Benjamin TERRIER) Date: Wed, 2 Dec 2020 20:30:46 +0100 Subject: [Interest] Qt WebEngine, MHTML and custom schemes In-Reply-To: <7181036.EvYhyI6sBW@twilight> References: <7181036.EvYhyI6sBW@twilight> Message-ID: On Tue, 1 Dec 2020 at 09:11, Allan Sandfeld Jensen wrote: > > Unfortunately it is pretty hard-coded, see src/3rdparty/chromium/content/ > browser/loader/download_utils_impl.cc. > > We could make it somewhat programmable by implementing > ContentBrowserClientQt::AllowRenderingMhtmlOverHttp() which despite its > name > is called for all non-file schemes. > > The question is then, should it be a setting per scheme or per page, and > are > there other people needing such a feature? The fact it is called from both > IO > and UI threads makes it a little more work than usual to implement. > > Best regards > 'Allan > > Thanks for the details. Sadly I was looking for a faster solution, so I will have to use "file:///". For AllowRenderingMhtmlOverHttp(), my understanding is that until https://crbug.com/790734 is done it is not possible to discriminate by scheme. Regards, Benjamin -------------- next part -------------- An HTML attachment was scrubbed... URL: From private at bernhard-lindner.de Thu Dec 3 19:19:25 2020 From: private at bernhard-lindner.de (Bernhard Lindner) Date: Thu, 03 Dec 2020 19:19:25 +0100 Subject: [Interest] Qt Designer zombie widget phenomenon In-Reply-To: <97467304-6d68-2934-41df-1f115a747ce4@logikalsolutions.com> References: <97467304-6d68-2934-41df-1f115a747ce4@logikalsolutions.com> Message-ID: <690e44915bc4e94d170ce08d99dac9d4a4b2390d.camel@bernhard-lindner.de> Thanks, Roland, for the interesting answer! I wasn't using Designer much recently. But as soon as that happens again, I will check what you described. I used layouts a lot and yes, some of them orginate from Qt4. But I am not sure how many. I started using Qt5 a long time ago. Hard to say if this actually happens for Qt4 UIs only. I guess there is no way to grep such hidden layouts? Is there, by any chance, a Designer developer wo maybe knows more details? > During early Qt 4.x days, this and corrupted .ui files that had to be > hand edited using a basic editor were common problems. Recently I had to > crack open some .ui files created during the 4.x days using the 4.x era > Designer. I had this _exact_ problem crop up using the QtCreator bundled > in both Ubuntu 18.04 LTS (base for your KDE Neon version) and the one in > Ubuntu 20.04 LTS. > > I didn't dig horribly deep into the problem given everything else life > was tossing at me, but I did open the .ui files BlueFish > http://bluefish.openoffice.nl/index.html and a couple of other editors. > When I searched for the object names the Designer gave me for the Zombie > objects I found they were all inside a "hidden" layout. Even things that > I had just deleted were there. > > This problem did not manifest itself in any .ui files I created from > scratch, only in those that had originally been created using 4.x era tools. > > If you still have the original files and have in your notes (or can > simply reproduce the problem) you should obtain the name of the > object(s) then open the .ui in an XML highlighting editor and search for > them. I suspect you will find them in a "hidden" layout. What I remember > from the experience is it seemed like deleted objects were "stored for > safe keeping" in a "deleted" layout in case you wanted to restore them. > Again, this only happened in .ui files that had been created with 4.x > era tools. Even when I used the new tools they seemed to put anything I > deleted in that layout for safe keeping. I guess in case I wanted to > undelete it? > > The Zombie effect has to do with the mysteries of layout sizing and > visibility calculations. It is decided for you that some little piece of > that layout is now "visible" and the object contained in that area appears. > > Being quite busy and seeing there were no need for layouts in these > dialogs anyway (it was fixed size having no max/min buttons) I nuked > every layout. One did need the min/max buttons. I recreated the .ui from > scratch and there were no mystery objects revealed in the XML editors. > > On 9/6/20 5:00 AM, Bernhard Lindner wrote: > > Hi! > > > > Ok, that is kind of crazy and ridiculous. And maybe it is something stupid I am doing. > > But > > I can't figure it out. It suddenly started many months ago after some Qt Creator > > update > > and at the beginning I simply ignored it. But now it is driving me nuts. > > > > This is what happens: > > I open a window UI in Qt Creator Designer, I change something random like a text and I > > save the changed design. Then I close the designer and build the application. After > > starting the application, sometimes a new, completely random widget (e.g. a QComboBox) > > appears somewhere embedded in a new random layout cell in my window. That widget is > > blank > > and everything else in the window is unchanged. If this happens I can go back to the > > designer and simply delete the additional "zombie widget". Then everything is back to > > normal after building the application... until I edit a design and with a small chance > > some other zombie widget pops up from nowhere. The zombie widget is not visible when > > editing/saving/closing the design, only after reloading it from disk. > > > > I could not find a system when or why this happens. I don't think it is an unwanted > > drag- > > n-drop action. > > > > I am using KDE Neon 18.04 and the most recent Qt Creator with Qt 5.14.2. > > > > Has this happend to someone else before? > > -- Gruß, Bernhard -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: This is a digitally signed message part URL: From roland at logikalsolutions.com Thu Dec 3 14:29:42 2020 From: roland at logikalsolutions.com (Roland Hughes) Date: Thu, 3 Dec 2020 07:29:42 -0600 Subject: [Interest] [SPAM] Re: Qt Designer zombie widget phenomenon Message-ID: <97467304-6d68-2934-41df-1f115a747ce4@logikalsolutions.com> Spam detection software, running on the system "mx.qt-project.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Sorry for the incredibly delayed response, but I've been occupied with the mysteries of nursing homes + hospice + how to bury a parent during COVID-19. I left this message in my in-box because I did want to respond to it. Content analysis details: (5.9 points, 4.6 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: interestingauthors.com] 3.3 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [50.201.197.203 listed in zen.spamhaus.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [199.250.217.13 listed in wl.mailspike.net] 0.1 URIBL_SBL_A Contains URL's A record listed in the Spamhaus SBL blocklist [URIs: bluefish.openoffice.nl] 1.6 URIBL_SBL Contains an URL's NS IP listed in the Spamhaus SBL blocklist [URIs: bluefish.openoffice.nl] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -0.0 NICE_REPLY_A Looks like a legit reply (A) -------------- next part -------------- An embedded message was scrubbed... From: Roland Hughes Subject: Re: [Interest] Qt Designer zombie widget phenomenon Date: Thu, 3 Dec 2020 07:29:42 -0600 Size: 8094 URL: From jani.heikkinen at qt.io Tue Dec 8 15:11:02 2020 From: jani.heikkinen at qt.io (Jani Heikkinen) Date: Tue, 8 Dec 2020 14:11:02 +0000 Subject: [Interest] Qt 6.0.0 released In-Reply-To: References: Message-ID: Hi all! We have released Qt 6.0.0 today! Please see more information from Qt 6.0.0 release blog post: https://www.qt.io/blog/qt-6.0-released Big thanks to everyone involved! br, Jani Heikkinen Release Manager The Qt Company From nuno.santos at imaginando.pt Tue Dec 8 16:19:51 2020 From: nuno.santos at imaginando.pt (Nuno Santos) Date: Tue, 8 Dec 2020 15:19:51 +0000 Subject: [Interest] Qt 6.0.0 released In-Reply-To: References: Message-ID: <66445539-F18F-4AA3-8BFA-52E12771123C@imaginando.pt> Jani, How can install this. It does not show up in Maintenance Tool. Best, Nuno > On 8 Dec 2020, at 14:11, Jani Heikkinen wrote: > > Hi all! > > We have released Qt 6.0.0 today! Please see more information from Qt 6.0.0 release blog post: https://www.qt.io/blog/qt-6.0-released > > Big thanks to everyone involved! > > br, > Jani Heikkinen > Release Manager > The Qt Company > _______________________________________________ > Interest mailing list > Interest at qt-project.org > https://lists.qt-project.org/listinfo/interest From dave at kjams.com Tue Dec 8 22:17:19 2020 From: dave at kjams.com (David M. Cotter) Date: Tue, 8 Dec 2020 13:17:19 -0800 Subject: [Interest] Qt6 & "multimedia" In-Reply-To: References: Message-ID: <168F396C-2AB1-4A69-A6FA-88F61244D8FA@kjams.com> I see that "multimedia" has been removed, and also i see here that things were being worked on , but no work lately? My app IS a multimedia app and relies heavily on multimedia for camera input and video playback. what is the status of this? what is the intended replacement? Specifically: is this the case: "we wanted to release Qt6 asap, so didn't wait until multimedia was done. we will finish mutimedia and then make it part of Qt6"... or is it this case: "multimedia will no longer be part of Qt. we may in the future support some parts of what used to be called multimedia (WUTBCM), but you will be expected to rewrite anything that depends on WUTBCM" anyone know? > On Dec 8, 2020, at 6:11 AM, Jani Heikkinen wrote: > > Hi all! > > We have released Qt 6.0.0 today! Please see more information from Qt 6.0.0 release blog post: https://www.qt.io/blog/qt-6.0-released > > Big thanks to everyone involved! > > br, > Jani Heikkinen > Release Manager > The Qt Company -------------- next part -------------- An HTML attachment was scrubbed... URL: From szehowe.koh at gmail.com Tue Dec 8 22:28:10 2020 From: szehowe.koh at gmail.com (Sze Howe Koh) Date: Wed, 9 Dec 2020 05:28:10 +0800 Subject: [Interest] Qt6 & "multimedia" In-Reply-To: <168F396C-2AB1-4A69-A6FA-88F61244D8FA@kjams.com> References: <168F396C-2AB1-4A69-A6FA-88F61244D8FA@kjams.com> Message-ID: On Wed, 9 Dec 2020 at 05:20, David M. Cotter wrote: > > I see that "multimedia" has been removed, and also i see here that things were being worked on, but no work lately? > > My app IS a multimedia app and relies heavily on multimedia for camera input and video playback. > > what is the status of this? what is the intended replacement? > > Specifically: > > is this the case: > "we wanted to release Qt6 asap, so didn't wait until multimedia was done. we will finish mutimedia and then make it part of Qt6"... > > or is it this case: > "multimedia will no longer be part of Qt. we may in the future support some parts of what used to be called multimedia (WUTBCM), but you will be expected to rewrite anything that depends on WUTBCM" > > anyone know? It's the first case. https://www.qt.io/blog/add-on-support-in-qt-6.0-and-beyond > On Dec 8, 2020, at 6:11 AM, Jani Heikkinen wrote: > > Hi all! > > We have released Qt 6.0.0 today! Please see more information from Qt 6.0.0 release blog post: https://www.qt.io/blog/qt-6.0-released > > Big thanks to everyone involved! > > br, > Jani Heikkinen > Release Manager > The Qt Company Regards, Sze-Howe From me at the-compiler.org Tue Dec 8 22:30:00 2020 From: me at the-compiler.org (Florian Bruhin) Date: Tue, 8 Dec 2020 22:30:00 +0100 Subject: [Interest] Qt 6.0.0 released In-Reply-To: <66445539-F18F-4AA3-8BFA-52E12771123C@imaginando.pt> References: <66445539-F18F-4AA3-8BFA-52E12771123C@imaginando.pt> Message-ID: <20201208213000.lckv42s4tsajqcqr@aragog.localdomain> On Tue, Dec 08, 2020 at 03:19:51PM +0000, Nuno Santos wrote: > How can install this. It does not show up in Maintenance Tool. Shows up just fine for me FWIW. Florian -- me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From yue.nicholas at gmail.com Wed Dec 9 01:56:46 2020 From: yue.nicholas at gmail.com (Nicholas Yue) Date: Tue, 8 Dec 2020 16:56:46 -0800 Subject: [Interest] Qt6 - Making Qt installer package for Windows, Linux and OS X Message-ID: Hi, With the release of Qt6, what is the recommended way to package up Qt shared libraries with application executable as installer. I am looking to package up an application executable so that once installed, all the required Qt libraries are also included in the installer. I have read about bundle/fixupbundle, I was wondering with the release of Qt6 and CMake being the default build system, if there is any improvement/streamline of the process. Cheers -- Nicholas Yue Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows http://au.linkedin.com/in/nicholasyue https://vimeo.com/channels/naiadtools -------------- next part -------------- An HTML attachment was scrubbed... URL: From quangphu1799 at gmail.com Wed Dec 9 03:58:04 2020 From: quangphu1799 at gmail.com (=?UTF-8?B?UXVhbmcgUGjDuiBCw7lp?=) Date: Wed, 9 Dec 2020 09:58:04 +0700 Subject: [Interest] Qt 6.0.0 released In-Reply-To: <20201208213000.lckv42s4tsajqcqr@aragog.localdomain> References: <66445539-F18F-4AA3-8BFA-52E12771123C@imaginando.pt> <20201208213000.lckv42s4tsajqcqr@aragog.localdomain> Message-ID: While installing Qt6 from online installer but have this error. [image: Screenshot from 2020-12-09 09-43-28.png] It just happens on Qt 6, Qt5 and below worked fine. Does anyone have solution My system: Ubuntu 18.04. Thanks. On Wed, 9 Dec 2020 at 04:34, Florian Bruhin wrote: > On Tue, Dec 08, 2020 at 03:19:51PM +0000, Nuno Santos wrote: > > How can install this. It does not show up in Maintenance Tool. > > Shows up just fine for me FWIW. > > Florian > > -- > me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org > https://bruhin.software/ | > https://github.com/sponsors/The-Compiler/ > GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc > I love long mails! | https://email.is-not-s.ms/ > _______________________________________________ > Interest mailing list > Interest at qt-project.org > https://lists.qt-project.org/listinfo/interest > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2020-12-09 09-43-28.png Type: image/png Size: 311328 bytes Desc: not available URL: From jani.heikkinen at qt.io Wed Dec 9 06:59:08 2020 From: jani.heikkinen at qt.io (Jani Heikkinen) Date: Wed, 9 Dec 2020 05:59:08 +0000 Subject: [Interest] Qt 6.0.0 released In-Reply-To: References: <66445539-F18F-4AA3-8BFA-52E12771123C@imaginando.pt> <20201208213000.lckv42s4tsajqcqr@aragog.localdomain>, Message-ID: Hi! Ubuntu 18.04 isn't supported development host for Qt 6.0, see https://bugreports.qt.io/browse/QTBUG-85851 So please update to 20.04 and you are able to install and use Qt 6.0.0 br, Jani ________________________________________ From: Interest on behalf of Quang Phú Bùi Sent: Wednesday, December 9, 2020 4:58 AM To: Florian Bruhin Cc: interestqt-project.org Subject: Re: [Interest] Qt 6.0.0 released While installing Qt6 from online installer but have this error. [Screenshot from 2020-12-09 09-43-28.png] It just happens on Qt 6, Qt5 and below worked fine. Does anyone have solution My system: Ubuntu 18.04. Thanks. On Wed, 9 Dec 2020 at 04:34, Florian Bruhin > wrote: On Tue, Dec 08, 2020 at 03:19:51PM +0000, Nuno Santos wrote: > How can install this. It does not show up in Maintenance Tool. Shows up just fine for me FWIW. Florian -- me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/ _______________________________________________ Interest mailing list Interest at qt-project.org https://lists.qt-project.org/listinfo/interest -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2020-12-09 09-43-28.png Type: image/png Size: 311328 bytes Desc: Screenshot from 2020-12-09 09-43-28.png URL: From tino.pyssysalo at qt.io Wed Dec 9 07:00:05 2020 From: tino.pyssysalo at qt.io (Tino Pyssysalo) Date: Wed, 9 Dec 2020 06:00:05 +0000 Subject: [Interest] Qt 6.0.0 released In-Reply-To: <66445539-F18F-4AA3-8BFA-52E12771123C@imaginando.pt> References: <66445539-F18F-4AA3-8BFA-52E12771123C@imaginando.pt> Message-ID: <9C9FE5A5-8ED2-4787-BB40-1FBDF9D4F6C1@qt.io> Hey, Qt 6.0 should be visible for open source users and commercial users, who have a valid subscription license. ,An evaluation can be requested in https://www.qt.io/download "Download Qt now". -- BR, Tino On 8.12.2020, 17.25, "Interest on behalf of Nuno Santos" wrote: Jani, How can install this. It does not show up in Maintenance Tool. Best, Nuno > On 8 Dec 2020, at 14:11, Jani Heikkinen wrote: > > Hi all! > > We have released Qt 6.0.0 today! Please see more information from Qt 6.0.0 release blog post: https://www.qt.io/blog/qt-6.0-released > > Big thanks to everyone involved! > > br, > Jani Heikkinen > Release Manager > The Qt Company > _______________________________________________ > Interest mailing list > Interest at qt-project.org > https://lists.qt-project.org/listinfo/interest _______________________________________________ Interest mailing list Interest at qt-project.org https://lists.qt-project.org/listinfo/interest From nuno.santos at imaginando.pt Wed Dec 9 07:38:24 2020 From: nuno.santos at imaginando.pt (Nuno Santos) Date: Wed, 9 Dec 2020 06:38:24 +0000 Subject: [Interest] Qt 6.0.0 released In-Reply-To: <20201208213000.lckv42s4tsajqcqr@aragog.localdomain> References: <66445539-F18F-4AA3-8BFA-52E12771123C@imaginando.pt> <20201208213000.lckv42s4tsajqcqr@aragog.localdomain> Message-ID: <1C3501AA-1D88-4F22-A5F8-183FBEBC3AD1@imaginando.pt> Not for me… :( > On 8 Dec 2020, at 21:30, Florian Bruhin wrote: > > On Tue, Dec 08, 2020 at 03:19:51PM +0000, Nuno Santos wrote: >> How can install this. It does not show up in Maintenance Tool. > > Shows up just fine for me FWIW. > > Florian > > -- > me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org > https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ > GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc > I love long mails! | https://email.is-not-s.ms/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot 2020-12-09 at 06.35.33.jpg Type: image/jpeg Size: 128360 bytes Desc: not available URL: From jani.heikkinen at qt.io Wed Dec 9 07:40:44 2020 From: jani.heikkinen at qt.io (Jani Heikkinen) Date: Wed, 9 Dec 2020 06:40:44 +0000 Subject: [Interest] Qt 6.0.0 released In-Reply-To: <0B9A335F-973A-4463-9F45-12007B193AB2@imaginando.pt> References: <66445539-F18F-4AA3-8BFA-52E12771123C@imaginando.pt> <20201208213000.lckv42s4tsajqcqr@aragog.localdomain> <0B9A335F-973A-4463-9F45-12007B193AB2@imaginando.pt> Message-ID: Hi, This is really weird; Qt 6.0.0 should be the first item below Qt. Are you trying to do opensource or commercial installation? Please sent your qt account details privately to me and I'll check why Qt6 isn't visible for you br, Jani From: Nuno Santos Sent: keskiviikko 9. joulukuuta 2020 8.36 To: Florian Bruhin Cc: Jani Heikkinen ; interestqt-project.org Subject: Re: [Interest] Qt 6.0.0 released Not for me: [cid:AA4D1268-90F5-40FB-B85C-E285BDF766E1 at lan] On 8 Dec 2020, at 21:30, Florian Bruhin > wrote: On Tue, Dec 08, 2020 at 03:19:51PM +0000, Nuno Santos wrote: How can install this. It does not show up in Maintenance Tool. Shows up just fine for me FWIW. Florian -- me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 152936 bytes Desc: image001.png URL: From chgans at gmail.com Wed Dec 9 07:54:36 2020 From: chgans at gmail.com (Christian Gagneraud) Date: Wed, 9 Dec 2020 19:54:36 +1300 Subject: [Interest] Qt 6.0.0 released In-Reply-To: References: <66445539-F18F-4AA3-8BFA-52E12771123C@imaginando.pt> <20201208213000.lckv42s4tsajqcqr@aragog.localdomain> <0B9A335F-973A-4463-9F45-12007B193AB2@imaginando.pt> Message-ID: Like is Qt6 for private members only? Please don't go this way. Your testing base is open source users before all. Commercial user wants stability, without the testing price. Isn't it included in the license price? On Wed, 9 Dec 2020, 19:44 Jani Heikkinen, wrote: > Hi, > > This is really weird; Qt 6.0.0 should be the first item below Qt. Are you > trying to do opensource or commercial installation? > > > > Please sent your qt account details privately to me and I’ll check why Qt6 > isn’t visible for you > > > > br, > > Jani > > > > > > > > *From:* Nuno Santos > *Sent:* keskiviikko 9. joulukuuta 2020 8.36 > *To:* Florian Bruhin > *Cc:* Jani Heikkinen ; interestqt-project.org < > interest at qt-project.org> > *Subject:* Re: [Interest] Qt 6.0.0 released > > > > Not for me: > > > > [image: cid:AA4D1268-90F5-40FB-B85C-E285BDF766E1 at lan] > > > > On 8 Dec 2020, at 21:30, Florian Bruhin wrote: > > > > On Tue, Dec 08, 2020 at 03:19:51PM +0000, Nuno Santos wrote: > > How can install this. It does not show up in Maintenance Tool. > > > Shows up just fine for me FWIW. > > Florian > > -- > me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org > https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ > GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc > I love long mails! | https://email.is-not-s.ms/ > > > _______________________________________________ > Interest mailing list > Interest at qt-project.org > https://lists.qt-project.org/listinfo/interest > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 152936 bytes Desc: not available URL: From bhaller at mac.com Wed Dec 9 08:07:45 2020 From: bhaller at mac.com (Ben Haller) Date: Wed, 9 Dec 2020 02:07:45 -0500 Subject: [Interest] Will a Qt 5.x release support macOS 11? Message-ID: <23C36394-5F96-42DA-9574-341913268CCC@mac.com> Hi all. Just wondering whether there is any plan for any Qt 5.x release to support macOS 11. At present, Qt 5.15 supports only through macOS 10.15 (https://doc.qt.io/qt-5/macos.html#supported-versions), as far as I can tell, and my app built on macOS 10.15 apparently does not run properly on macOS 11 (so my users inform me). Since it looks like it will be a little while before a Qt 6 release is really solid (I just saw on the list that the first LTS release of Qt 6 is expected in September 2021, almost a year from now), it would be really nice if macOS 11 were added to the list of supported releases for 5.15. Any chance of that? I have users who are already on macOS 11 now; I’d like to have a better story for them. Thanks for any info! Cheers, -B. Benjamin C. Haller Messer Lab Cornell University From philwave at gmail.com Wed Dec 9 08:35:49 2020 From: philwave at gmail.com (Philippe) Date: Wed, 09 Dec 2020 08:35:49 +0100 Subject: [Interest] Qt 6.0.0 released In-Reply-To: References: Message-ID: <20201209083547.F2B4.6F0322A@gmail.com> It seems (?) Qt6 requires the new Subcription commercial license, while the old perpetual license, valid for Qt 5.x, is not possible to use for Qt6. Philippe On Wed, 9 Dec 2020 19:54:36 +1300 Christian Gagneraud wrote: Like is Qt6 for private members only? > Please don't go this way. Your testing base is open source users before all. Commercial user wants stability, without the testing price. Isn't it included in the license price? > > > On Wed, 9 Dec 2020, 19:44 Jani Heikkinen, wrote: > >> Hi, >> This is really weird; Qt 6.0.0 should be the first item below Qt. Are you trying to do opensource or commercial installation? >> >> Please sent your qt account details privately to me and I’ll check why Qt6 isn’t visible for you >> >> br, >> Jani >> >> >> >> From: Nuno Santos >> Sent: keskiviikko 9. joulukuuta 2020 8.36 >> To: Florian Bruhin >> Cc: Jani Heikkinen ; interestqt-project.org >> Subject: Re: [Interest] Qt 6.0.0 released >> >> >> >> Not for me: >> >> >> >> >> >> >>> On 8 Dec 2020, at 21:30, Florian Bruhin <me at the-compiler.org> wrote: >>> >>> >>> On Tue, Dec 08, 2020 at 03:19:51PM +0000, Nuno Santos wrote: >>> >>> >>>> How can install this. It does not show up in Maintenance Tool. Shows up just fine for me FWIW. Florian -- me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/ _______________________________________________ Interest mailing list Interest at qt-project.org https://lists.qt-project.org/listinfo/interest -------------- next part -------------- An HTML attachment was scrubbed... URL: From elvstone at gmail.com Wed Dec 9 08:53:10 2020 From: elvstone at gmail.com (Elvis Stansvik) Date: Wed, 9 Dec 2020 08:53:10 +0100 Subject: [Interest] Will a Qt 5.x release support macOS 11? In-Reply-To: <23C36394-5F96-42DA-9574-341913268CCC@mac.com> References: <23C36394-5F96-42DA-9574-341913268CCC@mac.com> Message-ID: I am also interested in this. We may not be able to move our application to Qt 6 in quite a while, but would be nice if we didn't have to leave macOS users who upgrade their OS in the dust. Elvis Den ons 9 dec. 2020 08:09Ben Haller via Interest skrev: > Hi all. Just wondering whether there is any plan for any Qt 5.x release > to support macOS 11. At present, Qt 5.15 supports only through macOS 10.15 > (https://doc.qt.io/qt-5/macos.html#supported-versions), as far as I can > tell, and my app built on macOS 10.15 apparently does not run properly on > macOS 11 (so my users inform me). Since it looks like it will be a little > while before a Qt 6 release is really solid (I just saw on the list that > the first LTS release of Qt 6 is expected in September 2021, almost a year > from now), it would be really nice if macOS 11 were added to the list of > supported releases for 5.15. Any chance of that? I have users who are > already on macOS 11 now; I’d like to have a better story for them. Thanks > for any info! > > Cheers, > -B. > > Benjamin C. Haller > Messer Lab > Cornell University > > _______________________________________________ > Interest mailing list > Interest at qt-project.org > https://lists.qt-project.org/listinfo/interest > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hamish at risingsoftware.com Wed Dec 9 09:07:45 2020 From: hamish at risingsoftware.com (Hamish Moffatt) Date: Wed, 9 Dec 2020 08:07:45 +0000 Subject: [Interest] Will a Qt 5.x release support macOS 11? In-Reply-To: <23C36394-5F96-42DA-9574-341913268CCC@mac.com> References: <23C36394-5F96-42DA-9574-341913268CCC@mac.com> Message-ID: <01000176468ab88d-b04bede7-ea38-41a0-809f-3385655ac4a1-000000@email.amazonses.com> On 9/12/20 6:07 pm, Ben Haller via Interest wrote: > Hi all. Just wondering whether there is any plan for any Qt 5.x release to support macOS 11. At present, Qt 5.15 supports only through macOS 10.15 (https://doc.qt.io/qt-5/macos.html#supported-versions), as far as I can tell, and my app built on macOS 10.15 apparently does not run properly on macOS 11 (so my users inform me). Since it looks like it will be a little while before a Qt 6 release is really solid (I just saw on the list that the first LTS release of Qt 6 is expected in September 2021, almost a year from now), it would be really nice if macOS 11 were added to the list of supported releases for 5.15. Any chance of that? I have users who are already on macOS 11 now; I’d like to have a better story for them. Thanks for any info! Our app (built with Qt 5.12) is working fine on 11. Why not get OS 11 and test yourself? Hamish From kde at carewolf.com Wed Dec 9 09:19:16 2020 From: kde at carewolf.com (Allan Sandfeld Jensen) Date: Wed, 09 Dec 2020 09:19:16 +0100 Subject: [Interest] Will a Qt 5.x release support macOS 11? In-Reply-To: <23C36394-5F96-42DA-9574-341913268CCC@mac.com> References: <23C36394-5F96-42DA-9574-341913268CCC@mac.com> Message-ID: <2631287.1UIlR0Ts9P@twilight> On Mittwoch, 9. Dezember 2020 08:07:45 CET Ben Haller via Interest wrote: > Hi all. Just wondering whether there is any plan for any Qt 5.x release to > support macOS 11. At present, Qt 5.15 supports only through macOS 10.15 > (https://doc.qt.io/qt-5/macos.html#supported-versions), as far as I can > tell, and my app built on macOS 10.15 apparently does not run properly on > macOS 11 (so my users inform me). Since it looks like it will be a little > while before a Qt 6 release is really solid (I just saw on the list that > the first LTS release of Qt 6 is expected in September 2021, almost a year > from now), it would be really nice if macOS 11 were added to the list of > supported releases for 5.15. Any chance of that? I have users who are > already on macOS 11 now; I’d like to have a better story for them. Thanks > for any info! > I can't say anything for the company at this point, but at least report any issues you encounter in JIRA. Builds so far seems to work, though the build process does warn about building for an unsupported version. Best regards 'Allan From coroberti at gmail.com Wed Dec 9 09:28:44 2020 From: coroberti at gmail.com (coroberti) Date: Wed, 9 Dec 2020 10:28:44 +0200 Subject: [Interest] Will a Qt 5.x release support macOS 11? In-Reply-To: <01000176468ab88d-b04bede7-ea38-41a0-809f-3385655ac4a1-000000@email.amazonses.com> References: <23C36394-5F96-42DA-9574-341913268CCC@mac.com> <01000176468ab88d-b04bede7-ea38-41a0-809f-3385655ac4a1-000000@email.amazonses.com> Message-ID: Gentlemen, Make sure it works fine both on the Intel CPU and the new Apple M1. In our case, there are issues on Intel CPU and crashes on M1. Kind regards, Robert Iakobashvili ............................ On Wed, Dec 9, 2020 at 10:09 AM Hamish Moffatt wrote: > > On 9/12/20 6:07 pm, Ben Haller via Interest wrote: > > Hi all. Just wondering whether there is any plan for any Qt 5.x release to support macOS 11. At present, Qt 5.15 supports only through macOS 10.15 (https://doc.qt.io/qt-5/macos.html#supported-versions), as far as I can tell, and my app built on macOS 10.15 apparently does not run properly on macOS 11 (so my users inform me). Since it looks like it will be a little while before a Qt 6 release is really solid (I just saw on the list that the first LTS release of Qt 6 is expected in September 2021, almost a year from now), it would be really nice if macOS 11 were added to the list of supported releases for 5.15. Any chance of that? I have users who are already on macOS 11 now; I’d like to have a better story for them. Thanks for any info! > > Our app (built with Qt 5.12) is working fine on 11. Why not get OS 11 > and test yourself? > > > Hamish > > _______________________________________________ > Interest mailing list > Interest at qt-project.org > https://lists.qt-project.org/listinfo/interest From hamish at risingsoftware.com Wed Dec 9 09:55:41 2020 From: hamish at risingsoftware.com (Hamish Moffatt) Date: Wed, 9 Dec 2020 08:55:41 +0000 Subject: [Interest] Will a Qt 5.x release support macOS 11? In-Reply-To: Message-ID: <0100017646b69cf5-bbfac979-bf5b-4fde-8f58-7e0ddcad840a-000000@email.amazonses.com> Interesting. If it doesn't work on the M1, isn't that a Rosetta bug? I assume you haven't compiled for M1 yet given the Qt support is not released. Hamish Sent from Nine ________________________________ From: coroberti Sent: Wednesday, 9 December 2020 19:28 To: Qt Interest Cc: Hamish Moffatt Subject: Re: [Interest] Will a Qt 5.x release support macOS 11? Gentlemen, Make sure it works fine both on the Intel CPU and the new Apple M1. In our case, there are issues on Intel CPU and crashes on M1. Kind regards, Robert Iakobashvili ............................ On Wed, Dec 9, 2020 at 10:09 AM Hamish Moffatt wrote: > > On 9/12/20 6:07 pm, Ben Haller via Interest wrote: > > Hi all.  Just wondering whether there is any plan for any Qt 5.x release to support macOS 11.  At present, Qt 5.15 supports only through macOS 10.15 (https://doc.qt.io/qt-5/macos.html#supported-versions), as far as I can tell, and my app built on macOS 10.15 apparently does not run properly on macOS 11 (so my users inform me).  Since it looks like it will be a little while before a Qt 6 release is really solid (I just saw on the list that the first LTS release of Qt 6 is expected in September 2021, almost a year from now), it would be really nice if macOS 11 were added to the list of supported releases for 5.15.  Any chance of that?  I have users who are already on macOS 11 now; I’d like to have a better story for them.  Thanks for any info! > > Our app (built with Qt 5.12) is working fine on 11. Why not get OS 11 > and test yourself? > > > Hamish > > _______________________________________________ > Interest mailing list > Interest at qt-project.org > https://lists.qt-project.org/listinfo/interest -------------- next part -------------- An HTML attachment was scrubbed... URL: From coroberti at gmail.com Wed Dec 9 10:11:07 2020 From: coroberti at gmail.com (coroberti) Date: Wed, 9 Dec 2020 11:11:07 +0200 Subject: [Interest] Will a Qt 5.x release support macOS 11? In-Reply-To: <0100017646b69cf5-bbfac979-bf5b-4fde-8f58-7e0ddcad840a-000000@email.amazonses.com> References: <0100017646b69cf5-bbfac979-bf5b-4fde-8f58-7e0ddcad840a-000000@email.amazonses.com> Message-ID: Dear Hamish, Yes, this is the case. Some bugs like in webengine (chromium) have been filed, but it could be there are others. After getting the new HW, we'll be more knowledgeable. Regarding the native compilation, it seems that there are good patches already made by Tor Arne Vestbo, and the folks are compiling successfully: https://bugreports.qt.io/browse/QTBUG-85279 Take care and the best. Kind regards, Robert Iakobashvili ............................ On Wed, Dec 9, 2020 at 10:55 AM Hamish Moffatt wrote: > > Interesting. If it doesn't work on the M1, isn't that a Rosetta bug? I assume you haven't compiled for M1 yet given the Qt support is not released. > > > Hamish > > Sent from Nine > ________________________________ > From: coroberti > Sent: Wednesday, 9 December 2020 19:28 > To: Qt Interest > Cc: Hamish Moffatt > Subject: Re: [Interest] Will a Qt 5.x release support macOS 11? > > Gentlemen, > Make sure it works fine both on the Intel CPU and the new Apple M1. > > In our case, there are issues on Intel CPU and crashes on M1. > > Kind regards, > Robert Iakobashvili > ............................ > > On Wed, Dec 9, 2020 at 10:09 AM Hamish Moffatt > wrote: > > > > On 9/12/20 6:07 pm, Ben Haller via Interest wrote: > > > Hi all. Just wondering whether there is any plan for any Qt 5.x release to support macOS 11. At present, Qt 5.15 supports only through macOS 10.15 (https://doc.qt.io/qt-5/macos.html#supported-versions), as far as I can tell, and my app built on macOS 10.15 apparently does not run properly on macOS 11 (so my users inform me). Since it looks like it will be a little while before a Qt 6 release is really solid (I just saw on the list that the first LTS release of Qt 6 is expected in September 2021, almost a year from now), it would be really nice if macOS 11 were added to the list of supported releases for 5.15. Any chance of that? I have users who are already on macOS 11 now; I’d like to have a better story for them. Thanks for any info! > > > > Our app (built with Qt 5.12) is working fine on 11. Why not get OS 11 > > and test yourself? > > > > > > Hamish > > > > _______________________________________________ > > Interest mailing list > > Interest at qt-project.org > > https://lists.qt-project.org/listinfo/interest From me at the-compiler.org Wed Dec 9 10:39:07 2020 From: me at the-compiler.org (Florian Bruhin) Date: Wed, 9 Dec 2020 10:39:07 +0100 Subject: [Interest] Will a Qt 5.x release support macOS 11? In-Reply-To: <2631287.1UIlR0Ts9P@twilight> References: <23C36394-5F96-42DA-9574-341913268CCC@mac.com> <2631287.1UIlR0Ts9P@twilight> Message-ID: <20201209093907.v6yzkhv3q62z6737@aragog.localdomain> On Wed, Dec 09, 2020 at 09:19:16AM +0100, Allan Sandfeld Jensen wrote: > On Mittwoch, 9. Dezember 2020 08:07:45 CET Ben Haller via Interest wrote: > > Hi all. Just wondering whether there is any plan for any Qt 5.x release to > > support macOS 11. At present, Qt 5.15 supports only through macOS 10.15 > > (https://doc.qt.io/qt-5/macos.html#supported-versions), as far as I can > > tell, and my app built on macOS 10.15 apparently does not run properly on > > macOS 11 (so my users inform me). Since it looks like it will be a little > > while before a Qt 6 release is really solid (I just saw on the list that > > the first LTS release of Qt 6 is expected in September 2021, almost a year > > from now), it would be really nice if macOS 11 were added to the list of > > supported releases for 5.15. Any chance of that? I have users who are > > already on macOS 11 now; I’d like to have a better story for them. Thanks > > for any info! > > > I can't say anything for the company at this point, but at least report any > issues you encounter in JIRA. > > Builds so far seems to work, though the build process does warn about building > for an unsupported version. FWIW no issues with my application using QtWebEngine with Qt 5.15.2, from what I can tell. People might need to set QT_MAC_WANTS_LAYER=1 though - for me, not doing that caused the application to hang when opening the (QtWebEngine default) context menu: https://bugreports.qt.io/browse/QTBUG-87014 The respective fix didn't make it to 5.15.2: https://codereview.qt-project.org/c/qt/qtbase/+/322228 Florian -- me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From alexandru.croitor at qt.io Wed Dec 9 11:14:21 2020 From: alexandru.croitor at qt.io (Alexandru Croitor) Date: Wed, 9 Dec 2020 10:14:21 +0000 Subject: [Interest] Qt6 - Making Qt installer package for Windows, Linux and OS X In-Reply-To: References: Message-ID: Hi, On the CMake side of things the focus was mostly on getting Qt to build with CMake. Going forward, i'd expect improvements on "consumption of Qt with CMake" part as well. For now, you'd have to do whatever you did in Qt 5 times. So using windeployqt, macdeployqt, custom scripts, etc. Cheers, Alex. > On 9. Dec 2020, at 01:56, Nicholas Yue wrote: > > Hi, > > With the release of Qt6, what is the recommended way to package up Qt shared libraries with application executable as installer. > > I am looking to package up an application executable so that once installed, all the required Qt libraries are also included in the installer. > > I have read about bundle/fixupbundle, I was wondering with the release of Qt6 and CMake being the default build system, if there is any improvement/streamline of the process. > > Cheers > -- > Nicholas Yue > Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5 > Custom Dev - C++ porting, OSX, Linux, Windows > http://au.linkedin.com/in/nicholasyue > https://vimeo.com/channels/naiadtools > _______________________________________________ > Interest mailing list > Interest at qt-project.org > https://lists.qt-project.org/listinfo/interest From hamish at risingsoftware.com Wed Dec 9 12:51:18 2020 From: hamish at risingsoftware.com (Hamish Moffatt) Date: Wed, 9 Dec 2020 11:51:18 +0000 Subject: [Interest] Will a Qt 5.x release support macOS 11? In-Reply-To: References: <0100017646b69cf5-bbfac979-bf5b-4fde-8f58-7e0ddcad840a-000000@email.amazonses.com> Message-ID: <0100017647576566-6bfa86c1-592f-4d92-8559-7074636191d1-000000@email.amazonses.com> On 9/12/20 8:11 pm, coroberti wrote: > Dear Hamish, > Yes, this is the case. > > Some bugs like in webengine (chromium) have been filed, > but it could be there are others. > > After getting the new HW, we'll be more knowledgeable. > > Regarding the native compilation, it seems that there are good patches already > made by Tor Arne Vestbo, and the folks are compiling successfully: > > https://bugreports.qt.io/browse/QTBUG-85279 To be useful I think we also need universal binaries for Qt, and support for making our own universal binaries in qmake, macdeployqt etc. I think there are also bugs in JIRA for those. Unfortunately we can't build separate ARM/Intel packages and expect our users to know which to install. Hamish From Tor.arne.Vestbo at qt.io Wed Dec 9 13:16:43 2020 From: Tor.arne.Vestbo at qt.io (=?utf-8?B?VG9yIEFybmUgVmVzdGLDuA==?=) Date: Wed, 9 Dec 2020 12:16:43 +0000 Subject: [Interest] Will a Qt 5.x release support macOS 11? In-Reply-To: <23C36394-5F96-42DA-9574-341913268CCC@mac.com> References: <23C36394-5F96-42DA-9574-341913268CCC@mac.com> Message-ID: Hi Benjamin, Qt 5 will officially support macOS 11 in upcoming 5.15 and 5.12 patch releases, but should work fine already. If you encounter issues with the current releases (or preferably after building from git), please let us know by filing bug reports. Thanks! Cheers, Tor Arne On 9 Dec 2020, at 08:07, Ben Haller via Interest > wrote: Hi all. Just wondering whether there is any plan for any Qt 5.x release to support macOS 11. At present, Qt 5.15 supports only through macOS 10.15 (https://doc.qt.io/qt-5/macos.html#supported-versions), as far as I can tell, and my app built on macOS 10.15 apparently does not run properly on macOS 11 (so my users inform me). Since it looks like it will be a little while before a Qt 6 release is really solid (I just saw on the list that the first LTS release of Qt 6 is expected in September 2021, almost a year from now), it would be really nice if macOS 11 were added to the list of supported releases for 5.15. Any chance of that? I have users who are already on macOS 11 now; I’d like to have a better story for them. Thanks for any info! Cheers, -B. Benjamin C. Haller Messer Lab Cornell University _______________________________________________ Interest mailing list Interest at qt-project.org https://lists.qt-project.org/listinfo/interest -------------- next part -------------- An HTML attachment was scrubbed... URL: From evorgriahr at hispeed.ch Wed Dec 9 13:36:02 2020 From: evorgriahr at hispeed.ch (Robert Hairgrove) Date: Wed, 9 Dec 2020 13:36:02 +0100 Subject: [Interest] Qt 6.0 removed Xml Patterns Message-ID: <9642079c-ba41-b0b3-2371-9e02f0a427be@hispeed.ch> How do we validate an XML document against a schema file (.xsd) stored in Qt resources, for example, now that XML patterns has been removed? From Tor.arne.Vestbo at qt.io Wed Dec 9 13:43:42 2020 From: Tor.arne.Vestbo at qt.io (=?utf-8?B?VG9yIEFybmUgVmVzdGLDuA==?=) Date: Wed, 9 Dec 2020 12:43:42 +0000 Subject: [Interest] Will a Qt 5.x release support macOS 11? In-Reply-To: References: <23C36394-5F96-42DA-9574-341913268CCC@mac.com> Message-ID: <244EEFBF-E7E3-4D38-A7D0-7E7665A5B4C1@qt.io> > On 9 Dec 2020, at 13:16, Tor Arne Vestbø wrote: > > Hi Benjamin, > > Qt 5 will officially support macOS 11 in upcoming 5.15 and 5.12 patch releases, but should work fine already. If you encounter issues with the current releases (or preferably after building from git), please let us know by filing bug reports. Thanks! Correction, 5.15, not 5.12. Cheers, Tor Arne From jarko.vihriala at qt.io Wed Dec 9 14:33:26 2020 From: jarko.vihriala at qt.io (Jarko Vihriala) Date: Wed, 9 Dec 2020 13:33:26 +0000 Subject: [Interest] Qt6 & "multimedia" Message-ID: Thanks for reaching out. Indeed – multimedia is currently one of our discussion topics. >I see that "multimedia" has been removed, and also i see here that things were being worked on , but no work lately? Actually it’s not the whole story. This ticket has been worked on a bit lately and you can see the spiked user stories there reflecting where we are right now. >My app IS a multimedia app and relies heavily on multimedia for camera input and video playback. We are not fully ready in the planning but I can share some insight. The way to go forward with Qt6MM is to support the most common use-cases and provide APIs to QML and C++ which are used by customers using Qt. Videoplayback and camera support are definitely on the list of items to be supported at first feature release. Roadmap-wise we are looking at post 6.1 to be able to release first feature release. As time goes on, we deliver additional features and enrichen the offering. >"we wanted to release Qt6 asap, so didn't wait until multimedia was done. we will finish mutimedia and then make it part of Qt6"... No, this is not the case. If we would have done it that way, it would be already ready. Initial porting of multimedia from Qt5 to Qt6 already exists in dev but we don’t support it. >"multimedia will no longer be part of Qt. we may in the future support some parts of what used to be called multimedia (WUTBCM), but you will be expected to rewrite >anything that depends on WUTBCM" No, that is not going to be the case either. Instead, we will provide a Qt6 MM in 2021 which will be API compatible on C++ and QML with the most used use-cases. If you want to make sure your application is covered with the initial offering, don’t hesitate to update relevant user story of the epic. OR you can send me email about it as well. In the meantime, you can go rogue and get the Qt5 MM from dev and see if that works until we provide the official Qt6 MM but I would take care there as that approach is not officially supported by Qt6. >anyone know? Did this answer to your question? Br,Jarko (acting PM for multimedia) -------------- next part -------------- An HTML attachment was scrubbed... URL: From tino.pyssysalo at qt.io Wed Dec 9 14:53:39 2020 From: tino.pyssysalo at qt.io (Tino Pyssysalo) Date: Wed, 9 Dec 2020 13:53:39 +0000 Subject: [Interest] Qt 6.0.0 released In-Reply-To: <20201209083547.F2B4.6F0322A@gmail.com> References: <20201209083547.F2B4.6F0322A@gmail.com> Message-ID: Hi, Philippe – you are right. Qt 6 is available for customer under new subscription licenses, Qt 6 is not included in the legacy Qt licenses. If you have an old Perpetual, Term or other type commercial license you can try Qt 6 under an Evaluation license. You may as well discuss with Qt sales on how to upgrade to a license that includes Qt 6. Useful links for commercial license holder: * Ask new evaluation from subscription at qt.io or by filling the evaluation form from https://www.qt.io/download * FAQ: https://www.qt.io/faq/what-happens-to-my-perpetual-licenses-once-i-convert-to-subscription * Blog: https://www.qt.io/blog/new-subscription-prices-for-qt-on-the-webshop * Contact Qt Sales https://www.qt.io/contact-us/sales-contact-request/ -- Best regards, Tino On 9.12.2020, 9.40, "Interest on behalf of Philippe" on behalf of philwave at gmail.com> wrote: It seems (?) Qt6 requires the new Subcription commercial license, while the old perpetual license, valid for Qt 5.x, is not possible to use for Qt6. Philippe On Wed, 9 Dec 2020 19:54:36 +1300 Christian Gagneraud > wrote: Like is Qt6 for private members only? Please don't go this way. Your testing base is open source users before all. Commercial user wants stability, without the testing price. Isn't it included in the license price? On Wed, 9 Dec 2020, 19:44 Jani Heikkinen, > wrote: Hi, This is really weird; Qt 6.0.0 should be the first item below Qt. Are you trying to do opensource or commercial installation? Please sent your qt account details privately to me and I’ll check why Qt6 isn’t visible for you br, Jani From: Nuno Santos > Sent: keskiviikko 9. joulukuuta 2020 8.36 To: Florian Bruhin > Cc: Jani Heikkinen >; interestqt-project.org > Subject: Re: [Interest] Qt 6.0.0 released Not for me: [cid:image001.png at 01D6CE06.FA5B9580] On 8 Dec 2020, at 21:30, Florian Bruhin > wrote: On Tue, Dec 08, 2020 at 03:19:51PM +0000, Nuno Santos wrote: How can install this. It does not show up in Maintenance Tool. Shows up just fine for me FWIW. Florian -- me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/ _______________________________________________ Interest mailing list Interest at qt-project.org https://lists.qt-project.org/listinfo/interest -------------- next part -------------- An HTML attachment was scrubbed... URL: From godboutj at amotus.ca Wed Dec 9 15:21:41 2020 From: godboutj at amotus.ca (=?iso-8859-1?Q?J=E9r=F4me_Godbout?=) Date: Wed, 9 Dec 2020 14:21:41 +0000 Subject: [Interest] Qt 6.0.0 released In-Reply-To: References: <66445539-F18F-4AA3-8BFA-52E12771123C@imaginando.pt> <20201208213000.lckv42s4tsajqcqr@aragog.localdomain>, Message-ID: The Qt 6 minimum requirements: * Windows 10 * macOS 10.14 and newer * Linux (Ubuntu 20.04, CentOS 8.1, OpenSuSE 15.1) * iOS 13 or newer * Android (API level 23 or newer) -----Original Message----- From: Interest On Behalf Of Jani Heikkinen Sent: December 9, 2020 12:59 AM To: Quang Phú Bùi ; Florian Bruhin Cc: interestqt-project.org Subject: Re: [Interest] Qt 6.0.0 released Hi! Ubuntu 18.04 isn't supported development host for Qt 6.0, see https://bugreports.qt.io/browse/QTBUG-85851 So please update to 20.04 and you are able to install and use Qt 6.0.0 br, Jani ________________________________________ From: Interest on behalf of Quang Phú Bùi Sent: Wednesday, December 9, 2020 4:58 AM To: Florian Bruhin Cc: interestqt-project.org Subject: Re: [Interest] Qt 6.0.0 released While installing Qt6 from online installer but have this error. [Screenshot from 2020-12-09 09-43-28.png] It just happens on Qt 6, Qt5 and below worked fine. Does anyone have solution My system: Ubuntu 18.04. Thanks. On Wed, 9 Dec 2020 at 04:34, Florian Bruhin > wrote: On Tue, Dec 08, 2020 at 03:19:51PM +0000, Nuno Santos wrote: > How can install this. It does not show up in Maintenance Tool. Shows up just fine for me FWIW. Florian -- me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/ _______________________________________________ Interest mailing list Interest at qt-project.org https://lists.qt-project.org/listinfo/interest From bhood2 at comcast.net Wed Dec 9 15:26:02 2020 From: bhood2 at comcast.net (Bob Hood) Date: Wed, 9 Dec 2020 07:26:02 -0700 Subject: [Interest] Qt 6.0.0 released In-Reply-To: References: <20201209083547.F2B4.6F0322A@gmail.com> Message-ID: On 12/9/2020 6:53 AM, Tino Pyssysalo wrote: > > Hi, > > Philippe – you are right. Qt 6 is available for customer under new > subscription licenses, Qt 6 is not included in the legacy Qt licenses. > Well, that's a shame--although not a surprise, considering the licensing controversies occurring late in the Qt5 life cycle. I deliberately avoided using Qt for developing mobile apps because of that, so luckily I didn't get caught in that trap. I'll have to consider alternatives for new desktop projects. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ekke at ekkes-corner.org Wed Dec 9 16:04:00 2020 From: ekke at ekkes-corner.org (ekke) Date: Wed, 9 Dec 2020 16:04:00 +0100 Subject: [Interest] Qt 6.0.0 released In-Reply-To: References: <20201209083547.F2B4.6F0322A@gmail.com> Message-ID: <5acfdba3-ccd6-da88-42aa-65568244ca02@ekkes-corner.org> Am 09.12.20 um 15:26 schrieb Bob Hood: > On 12/9/2020 6:53 AM, Tino Pyssysalo wrote: >> >> Hi, >> >> Philippe – you are right. Qt 6 is available for customer under new >> subscription licenses, Qt 6 is not included in the legacy Qt licenses. >> > > > Well, that's a shame--although not a surprise, considering the > licensing controversies occurring late in the Qt5 life cycle. I > deliberately avoided using Qt for developing mobile apps because of > that, so luckily I didn't get caught in that trap. Hi, I'm happy with the new Small Business License for my mobile app development. https://www.qt.io/qt-for-small-business ekke > > I'll have to consider alternatives for new desktop projects. -------------- next part -------------- An HTML attachment was scrubbed... URL: From thiago.macieira at intel.com Wed Dec 9 23:43:48 2020 From: thiago.macieira at intel.com (Thiago Macieira) Date: Wed, 9 Dec 2020 14:43:48 -0800 Subject: [Interest] Will a Qt 5.x release support macOS 11? In-Reply-To: <0100017647576566-6bfa86c1-592f-4d92-8559-7074636191d1-000000@email.amazonses.com> References: <0100017647576566-6bfa86c1-592f-4d92-8559-7074636191d1-000000@email.amazonses.com> Message-ID: <535856613.3KUU6gXZF7@tjmaciei-mobl1> On Wednesday, 9 December 2020 03:51:18 PST Hamish Moffatt wrote: > To be useful I think we also need universal binaries for Qt, and support > for making our own universal binaries in qmake, macdeployqt etc. I think > there are also bugs in JIRA for those. > > Unfortunately we can't build separate ARM/Intel packages and expect our > users to know which to install. You can build twice and use lipo to make universal binaries after the builds are done. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel DPG Cloud Engineering From szehowe.koh at gmail.com Thu Dec 10 01:50:41 2020 From: szehowe.koh at gmail.com (Sze Howe Koh) Date: Thu, 10 Dec 2020 08:50:41 +0800 Subject: [Interest] Will a Qt 5.x release support macOS 11? In-Reply-To: <244EEFBF-E7E3-4D38-A7D0-7E7665A5B4C1@qt.io> References: <23C36394-5F96-42DA-9574-341913268CCC@mac.com> <244EEFBF-E7E3-4D38-A7D0-7E7665A5B4C1@qt.io> Message-ID: On Wed, 9 Dec 2020 at 20:48, Tor Arne Vestbø wrote: > > On 9 Dec 2020, at 13:16, Tor Arne Vestbø wrote: > > > > Hi Benjamin, > > > > Qt 5 will officially support macOS 11 in upcoming 5.15 and 5.12 patch releases, but should work fine already. If you encounter issues with the current releases (or preferably after building from git), please let us know by filing bug reports. Thanks! > > Correction, 5.15, not 5.12. > > Cheers, > Tor Arne Hi Tor Arne, To clarify: Qt 5.15 will continue to receive patch releases under the open source licenses until all the planned Qt 5 add-on modules are migrated/supported in Qt 6, right? Regards, Sze-Howe From coroberti at gmail.com Thu Dec 10 06:10:26 2020 From: coroberti at gmail.com (coroberti) Date: Thu, 10 Dec 2020 07:10:26 +0200 Subject: [Interest] Will a Qt 5.x release support macOS 11? In-Reply-To: <535856613.3KUU6gXZF7@tjmaciei-mobl1> References: <0100017647576566-6bfa86c1-592f-4d92-8559-7074636191d1-000000@email.amazonses.com> <535856613.3KUU6gXZF7@tjmaciei-mobl1> Message-ID: On Thu, Dec 10, 2020 at 12:45 AM Thiago Macieira wrote: > > On Wednesday, 9 December 2020 03:51:18 PST Hamish Moffatt wrote: > > To be useful I think we also need universal binaries for Qt, and support > > for making our own universal binaries in qmake, macdeployqt etc. I think > > there are also bugs in JIRA for those. > > > > Unfortunately we can't build separate ARM/Intel packages and expect our > > users to know which to install. > > You can build twice and use lipo to make universal binaries after the builds > are done. > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel DPG Cloud Engineering > It's not enough. Bundled frameworks and plugins need to come as universal too. Kind regards, Robert Iakobashvili ............................ From coroberti at gmail.com Thu Dec 10 07:16:13 2020 From: coroberti at gmail.com (coroberti) Date: Thu, 10 Dec 2020 08:16:13 +0200 Subject: [Interest] Will a Qt 5.x release support macOS 11? In-Reply-To: References: <0100017647576566-6bfa86c1-592f-4d92-8559-7074636191d1-000000@email.amazonses.com> <535856613.3KUU6gXZF7@tjmaciei-mobl1> Message-ID: Kind regards, Robert Iakobashvili ............................ On Thu, Dec 10, 2020 at 7:10 AM coroberti wrote: > > On Thu, Dec 10, 2020 at 12:45 AM Thiago Macieira > wrote: > > > > On Wednesday, 9 December 2020 03:51:18 PST Hamish Moffatt wrote: > > > To be useful I think we also need universal binaries for Qt, and support > > > for making our own universal binaries in qmake, macdeployqt etc. I think > > > there are also bugs in JIRA for those. > > > > > > Unfortunately we can't build separate ARM/Intel packages and expect our > > > users to know which to install. > > > > You can build twice and use lipo to make universal binaries after the builds > > are done. > > Thiago Macieira - thiago.macieira (AT) intel.com > > Software Architect - Intel DPG Cloud Engineering > > Once upon a time: https://doc.qt.io/archives/4.6/developing-on-mac.html#universal-binaries Kind regards, Robert From kde at carewolf.com Thu Dec 10 08:40:21 2020 From: kde at carewolf.com (Allan Sandfeld Jensen) Date: Thu, 10 Dec 2020 08:40:21 +0100 Subject: [Interest] Will a Qt 5.x release support macOS 11? In-Reply-To: References: <23C36394-5F96-42DA-9574-341913268CCC@mac.com> <244EEFBF-E7E3-4D38-A7D0-7E7665A5B4C1@qt.io> Message-ID: <3420407.QZNItiljNS@twilight> On Donnerstag, 10. Dezember 2020 01:50:41 CET Sze Howe Koh wrote: > On Wed, 9 Dec 2020 at 20:48, Tor Arne Vestbø wrote: > > > On 9 Dec 2020, at 13:16, Tor Arne Vestbø wrote: > > > > > > Hi Benjamin, > > > > > > Qt 5 will officially support macOS 11 in upcoming 5.15 and 5.12 patch > > > releases, but should work fine already. If you encounter issues with > > > the current releases (or preferably after building from git), please > > > let us know by filing bug reports. Thanks!> > > Correction, 5.15, not 5.12. > > > > Cheers, > > Tor Arne > > Hi Tor Arne, > > To clarify: Qt 5.15 will continue to receive patch releases under the > open source licenses until all the planned Qt 5 add-on modules are > migrated/supported in Qt 6, right? > Patch releases during the LTS part of Qt 5.15's life will be opensourced a year after their release. With the exception of security fixes, and the entire module of QtWebEngine, which will remain open throughout. Don't know about the other postponed modules, I don't think any exceptions has been made for them so far. You should direct such question at Qt management. Best regards Allan From alervdvcw at gmail.com Thu Dec 10 12:12:16 2020 From: alervdvcw at gmail.com (Alexander Dyagilev) Date: Thu, 10 Dec 2020 14:12:16 +0300 Subject: [Interest] Can QUuid::createUuid().toString(QUuid::WithoutBraces) return an empty string under some circumstances? Message-ID: <21f69d65-75b3-ef61-6822-4d8e4a0f925c@gmail.com> Hello, I've locked into the source code and it seems that it can't. But maybe I missed something? From thiago.macieira at intel.com Thu Dec 10 15:49:32 2020 From: thiago.macieira at intel.com (Thiago Macieira) Date: Thu, 10 Dec 2020 06:49:32 -0800 Subject: [Interest] Can QUuid::createUuid().toString(QUuid::WithoutBraces) return an empty string under some circumstances? In-Reply-To: <21f69d65-75b3-ef61-6822-4d8e4a0f925c@gmail.com> References: <21f69d65-75b3-ef61-6822-4d8e4a0f925c@gmail.com> Message-ID: <7963811.rtsLFKnIXh@tjmaciei-mobl1> On Thursday, 10 December 2020 03:12:16 PST Alexander Dyagilev wrote: > Hello, > > I've locked into the source code and it seems that it can't. But maybe I > missed something? You're correct, it can't return an empty string because there is a UUID stored in the object. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel DPG Cloud Engineering From thiago.macieira at intel.com Thu Dec 10 15:50:30 2020 From: thiago.macieira at intel.com (Thiago Macieira) Date: Thu, 10 Dec 2020 06:50:30 -0800 Subject: [Interest] Will a Qt 5.x release support macOS 11? In-Reply-To: References: <535856613.3KUU6gXZF7@tjmaciei-mobl1> Message-ID: <2680231.YOMi4MVDYm@tjmaciei-mobl1> On Wednesday, 9 December 2020 21:10:26 PST coroberti wrote: > On Thu, Dec 10, 2020 at 12:45 AM Thiago Macieira > > wrote: > > On Wednesday, 9 December 2020 03:51:18 PST Hamish Moffatt wrote: > > > To be useful I think we also need universal binaries for Qt, and support > > > for making our own universal binaries in qmake, macdeployqt etc. I think > > > there are also bugs in JIRA for those. > > > > > > Unfortunately we can't build separate ARM/Intel packages and expect our > > > users to know which to install. > > > > You can build twice and use lipo to make universal binaries after the > > builds are done. > > It's not enough. > > Bundled frameworks and plugins need to come as universal too. My answer stands. You can build Qt and your application twice, and use lipo to make universal binaries of everything after the builds are done. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel DPG Cloud Engineering From evorgriahr at hispeed.ch Fri Dec 11 10:53:03 2020 From: evorgriahr at hispeed.ch (Robert Hairgrove) Date: Fri, 11 Dec 2020 10:53:03 +0100 Subject: [Interest] Qt 6.0 removed Xml Patterns In-Reply-To: <9642079c-ba41-b0b3-2371-9e02f0a427be@hispeed.ch> References: <9642079c-ba41-b0b3-2371-9e02f0a427be@hispeed.ch> Message-ID: <94825a2e-c61d-32cc-c23c-1aa6c9c46d36@hispeed.ch> I cannot seem to find any articles about QXmlPatterns which would explain WHY this very useful module was deprecated in 5.13 (or 5.15?), then removed in 6.0? Is it a licensing issue? From kde at carewolf.com Fri Dec 11 11:32:12 2020 From: kde at carewolf.com (Allan Sandfeld Jensen) Date: Fri, 11 Dec 2020 11:32:12 +0100 Subject: [Interest] Qt 6.0 removed Xml Patterns In-Reply-To: <94825a2e-c61d-32cc-c23c-1aa6c9c46d36@hispeed.ch> References: <9642079c-ba41-b0b3-2371-9e02f0a427be@hispeed.ch> <94825a2e-c61d-32cc-c23c-1aa6c9c46d36@hispeed.ch> Message-ID: <5867825.DQLVc4J5UV@twilight> On Freitag, 11. Dezember 2020 10:53:03 CET Robert Hairgrove wrote: > I cannot seem to find any articles about QXmlPatterns which would > explain WHY this very useful module was deprecated in 5.13 (or 5.15?), > then removed in 6.0? > > Is it a licensing issue? > No, it was just unmaintained. I think libxslt is the recommended replacement, though perhaps there are better C++ APIs out there. Best regards Allan From Even.Kristoffersen at semcon.com Fri Dec 11 11:32:27 2020 From: Even.Kristoffersen at semcon.com (Even Kristoffersen) Date: Fri, 11 Dec 2020 10:32:27 +0000 Subject: [Interest] Qt 6.0 removed Xml Patterns In-Reply-To: <94825a2e-c61d-32cc-c23c-1aa6c9c46d36@hispeed.ch> References: <9642079c-ba41-b0b3-2371-9e02f0a427be@hispeed.ch> <94825a2e-c61d-32cc-c23c-1aa6c9c46d36@hispeed.ch> Message-ID: <928a746c077043d89b0b1baf1068f6af@semcon.com> Notice of deprecation can be found here: https://lists.qt-project.org/pipermail/development/2019-May/036022.html -Even -----Original Message----- From: Interest On Behalf Of Robert Hairgrove Sent: fredag 11. desember 2020 10:53 To: interest at qt-project.org Subject: Re: [Interest] Qt 6.0 removed Xml Patterns I cannot seem to find any articles about QXmlPatterns which would explain WHY this very useful module was deprecated in 5.13 (or 5.15?), then removed in 6.0? Is it a licensing issue? _______________________________________________ Interest mailing list Interest at qt-project.org https://lists.qt-project.org/listinfo/interest When you communicate with us or otherwise interact with Semcon, we will process personal data that you provide to us or we collect about you, please read more in our Privacy Policy. From aclight at gmail.com Fri Dec 11 16:40:42 2020 From: aclight at gmail.com (Adam Light) Date: Fri, 11 Dec 2020 07:40:42 -0800 Subject: [Interest] Generate pdb for qmake.exe on Windows Message-ID: I'm building Qt 5.12.11 myself on Windows (VS 2017) using the following configure command: c:\qtbuild512\qt\configure -confirm-license -make-tool jom -debug-and-release -force-debug-info -opensource -gui -widgets -no-qml-debug -skip qt3d -skip qtwebengine -skip qtwebview -nomake examples -nomake tests -no-sql-mysql -opengl desktop -mp -prefix C:\qtbuild512\install\win64 This gives me .pdb files for all of the qt tools and libraries *except* qmake.exe itself. In other words, no qmake.pdb is generated but I do get moc.pdb, uic.pdb, etc. I am trying to profile an incredibly slow build of our application that uses this self-built Qt but since I don't have symbols for qmake.exe itself I can't gain much information from the profiling data. FWIW, application builds are taking > 1 hour where they should take about 5 min. All antivirus (including Windows Defender) are disabled. Is it possible to build Qt in such a way that debugging symbols for qmake itself are generated? Thanks Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: From joerg.bornemann at qt.io Fri Dec 11 16:46:28 2020 From: joerg.bornemann at qt.io (Joerg Bornemann) Date: Fri, 11 Dec 2020 16:46:28 +0100 Subject: [Interest] Generate pdb for qmake.exe on Windows In-Reply-To: References: Message-ID: <70875551-a76f-339b-c2c7-2881ab0c8ce9@qt.io> On 12/11/20 4:40 PM, Adam Light wrote: > Is it possible to build Qt in such a way that debugging symbols for > qmake itself are generated? Not out of the box. Edit qmake/Makefile in your build directory and - add /Zi to CFLAGS_BARE - add /DEBUG to LFLAGS then run "nmake clean" and "nmake". Cheers, Joerg From aclight at gmail.com Fri Dec 11 17:15:40 2020 From: aclight at gmail.com (Adam Light) Date: Fri, 11 Dec 2020 08:15:40 -0800 Subject: [Interest] Generate pdb for qmake.exe on Windows In-Reply-To: <70875551-a76f-339b-c2c7-2881ab0c8ce9@qt.io> References: <70875551-a76f-339b-c2c7-2881ab0c8ce9@qt.io> Message-ID: On Fri, Dec 11, 2020 at 7:46 AM Joerg Bornemann wrote: > On 12/11/20 4:40 PM, Adam Light wrote: > > > Is it possible to build Qt in such a way that debugging symbols for > > qmake itself are generated? > > Not out of the box. Edit qmake/Makefile in your build directory and > - add /Zi to CFLAGS_BARE > - add /DEBUG to LFLAGS > then run "nmake clean" and "nmake". > Thanks for the help. But I don't see a qmake directory in my build directory. Did you mean the qtbase\qmake directory in my build directory? I do have that one. Isn't qmake.exe created by configure.exe itself? Or is it built once by configure.exe and then rebuilt when building the rest of Qt? Thanks Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: From joerg.bornemann at qt.io Fri Dec 11 18:19:24 2020 From: joerg.bornemann at qt.io (Joerg Bornemann) Date: Fri, 11 Dec 2020 18:19:24 +0100 Subject: [Interest] Generate pdb for qmake.exe on Windows In-Reply-To: References: <70875551-a76f-339b-c2c7-2881ab0c8ce9@qt.io> Message-ID: <631cc463-0927-00e3-53ec-7600fc691e26@qt.io> On 12/11/20 5:15 PM, Adam Light wrote: > > Is it possible to build Qt in such a way that debugging symbols for > > qmake itself are generated? > > Not out of the box. Edit qmake/Makefile in your build directory and > - add /Zi to CFLAGS_BARE > - add /DEBUG to LFLAGS > then run "nmake clean" and "nmake". > > > Thanks for the help. > > But I don't see a qmake directory in my build directory. Did you mean > the qtbase\qmake directory in my build directory? I do have that one. Yes, that one. > Isn't qmake.exe created by configure.exe itself? Or is it built once by > configure.exe and then rebuilt when building the rest of Qt? There shouldn't be a configure.exe in 5.12. Joerg From thiago.macieira at intel.com Fri Dec 11 18:32:39 2020 From: thiago.macieira at intel.com (Thiago Macieira) Date: Fri, 11 Dec 2020 09:32:39 -0800 Subject: [Interest] Generate pdb for qmake.exe on Windows In-Reply-To: <631cc463-0927-00e3-53ec-7600fc691e26@qt.io> References: <631cc463-0927-00e3-53ec-7600fc691e26@qt.io> Message-ID: <2876244.ATPTMI1WOU@tjmaciei-mobl1> On Friday, 11 December 2020 09:19:24 PST Joerg Bornemann wrote: > > Isn't qmake.exe created by configure.exe itself? Or is it built once by > > configure.exe and then rebuilt when building the rest of Qt? > > There shouldn't be a configure.exe in 5.12. The old configure executable was removed for 5.9. Since 2016, the entire configuration system has been qmake.exe. That means configure.bat builds qmake.exe, from very, very simple rules. They aren't much simpler than what configureapp.exe used to do anyway, we just cut off the middle man. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel DPG Cloud Engineering From megiddgit at gmail.com Sat Dec 12 07:59:10 2020 From: megiddgit at gmail.com (Megidd Git) Date: Sat, 12 Dec 2020 10:29:10 +0330 Subject: [Interest] Rendering a cylinder with QDiffuseSpecularMaterial and QPhongMaterial Message-ID: Hi! A cylinder 3D mesh has points only on its two ends: [image: image.png] I'm using QDiffuseSpecularMaterial and also QPhongMaterial to render the cylinder. However, both materials are rendering like this: [image: image.png] [image: image.png] [image: image.png] The complete question is posted here: https://stackoverflow.com/q/65211533/3405291 Can anybody give me a hint on what I might be missing? Thanks! 🙂 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 9910 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 8857 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 7751 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 10875 bytes Desc: not available URL: From equeim at gmail.com Sun Dec 13 14:22:13 2020 From: equeim at gmail.com (Alexey Rochev) Date: Sun, 13 Dec 2020 16:22:13 +0300 Subject: [Interest] How to create read-only bindable properties? Message-ID: I want to create bindable property that can be used in other properties' bindings, but which can be modified (and to which bindings can be set) only from inside of an object that owns it. With Qt5 and signals, you would do it by creating property with NOTIFY signal but without WRITE setter. This way you can observe property, but not modify it. I tried to do it with bindable properties like this: class Foo : public QObject { Q_OBJECT Q_PROPERTY(int count READ count BINDABLE countBindable) public: int count() const { return mCount; } private: QBindable countBindable() { return &mCount; } Q_OBJECT_BINDABLE_PROPERTY(Foo, int, mCount, nullptr) }; However, you can still modify it by setting binding on it using QMetaObject: auto foo = Foo(); auto meta = foo.metaObject(); auto prop = meta->property(meta->indexOfProperty("count")); prop.bindable(&foo).setBinding(Qt::makePropertyBinding([] { return 42; })); qInfo() << foo.count(); // Will print 42 It there any way to create a property in Qt6 that can be used in bindings but also can't be modified outside of its object? From roland at logikalsolutions.com Wed Dec 9 12:55:05 2020 From: roland at logikalsolutions.com (Roland Hughes) Date: Wed, 9 Dec 2020 05:55:05 -0600 Subject: [Interest] Digest sending emails every 10 minutes or so In-Reply-To: References: Message-ID: <0c23b980-ab43-6ffa-403f-5858f8603d00@logikalsolutions.com> Messages are really short. Some have just one short email in them. This isn't the typical size problem caused by people pasting build output and others just replying to the email without trimming. -- Roland Hughes, President Logikal Solutions (630)-205-1593 http://www.theminimumyouneedtoknow.com http://www.infiniteexposure.net http://www.johnsmith-book.com http://www.logikalblog.com http://www.interestingauthors.com/blog From lars.knoll at qt.io Mon Dec 14 09:26:02 2020 From: lars.knoll at qt.io (Lars Knoll) Date: Mon, 14 Dec 2020 08:26:02 +0000 Subject: [Interest] How to create read-only bindable properties? In-Reply-To: References: Message-ID: On 13 Dec 2020, at 14:22, Alexey Rochev > wrote: I want to create bindable property that can be used in other properties' bindings, but which can be modified (and to which bindings can be set) only from inside of an object that owns it. With Qt5 and signals, you would do it by creating property with NOTIFY signal but without WRITE setter. This way you can observe property, but not modify it. I tried to do it with bindable properties like this: class Foo : public QObject { Q_OBJECT Q_PROPERTY(int count READ count BINDABLE countBindable) public: int count() const { return mCount; } private: QBindable countBindable() { return &mCount; } Q_OBJECT_BINDABLE_PROPERTY(Foo, int, mCount, nullptr) }; However, you can still modify it by setting binding on it using QMetaObject: auto foo = Foo(); auto meta = foo.metaObject(); auto prop = meta->property(meta->indexOfProperty("count")); prop.bindable(&foo).setBinding(Qt::makePropertyBinding([] { return 42; })); qInfo() << foo.count(); // Will print 42 It there any way to create a property in Qt6 that can be used in bindings but also can't be modified outside of its object? We’re lacking that currently. Let’s try to add something for Qt 6.1. I’ve created https://bugreports.qt.io/browse/QTBUG-89469 to track it. Cheers, Lars -------------- next part -------------- An HTML attachment was scrubbed... URL: From sfeutrier at bluegriot.com Mon Dec 14 15:25:34 2020 From: sfeutrier at bluegriot.com (Simon FEUTRIER) Date: Mon, 14 Dec 2020 15:25:34 +0100 Subject: [Interest] [Qt BLE] multiple devices connected to an app Message-ID: Hi, Is it possible to connect multiple peripheral devices to a Qt app on Windows 10 ? Using "connectToDevice()" is successful for both devices. Then I have no problem exchanging the first one. But when I write in the characteristic of the second remote device, the connection with this device is immediately lost (Invalid service : loss of connection with the underlying device) My QlowEnergyController(s) are separated for every device. Indeed, I duplicated every Qt Bluetooth class (QlowEnergyController, QLowEnergyService, QBluetoothDeviceDiscoveryAgent...) Best regards, Simon -------------- next part -------------- An HTML attachment was scrubbed... URL: From andreas.buhr at qt.io Mon Dec 14 16:03:13 2020 From: andreas.buhr at qt.io (Andreas Buhr) Date: Mon, 14 Dec 2020 16:03:13 +0100 Subject: [Interest] [Qt BLE] multiple devices connected to an app In-Reply-To: References: Message-ID: <4d331568-fbff-3876-6fb9-1922a9163828@qt.io> Hi Simon, On 14.12.20 15:25, Simon FEUTRIER wrote: > But when I write in the characteristic of the second remote device, the > connection with this device is immediately lost (Invalid service : loss > of connection with the underlying device) Would you be able to share more information? Could you share your code? best, Andreas From sfeutrier at bluegriot.com Mon Dec 14 16:36:30 2020 From: sfeutrier at bluegriot.com (Simon FEUTRIER) Date: Mon, 14 Dec 2020 16:36:30 +0100 Subject: [Interest] [Qt BLE] multiple devices connected to an app In-Reply-To: <4d331568-fbff-3876-6fb9-1922a9163828@qt.io> References: <4d331568-fbff-3876-6fb9-1922a9163828@qt.io> Message-ID: I don't really have something useful to share and my code is quite big. Moreover it is mainly inspired by the lowEnergyScanner example. Here is my algorithm for BLE : -> MainWindow initiates a class called "apiComBluetooth". -> Then MainWindow calls ApiComBluetooth.startDiscovery() which is just QBluetoothDeviceDiscoveryAgent.startDiscovery() -> After 5 seconds, the ApiComBluetooth receives the signal of discoveryFinished. It sorts devices that I want and stores them in a list of BleDevice (bluetooth device class like in the lowEnergyScanner example). -> Then the (only) service that I use starts to be discovered for each BleDevice created. -> To write or read to a specific device, MainWindow just accesses the right device in the BleDevice list using an index. "WriteCharacteristic" or messages received in the FIFO are managed directly in the BleDevice class of the device. I don't know if this information can help you, thank you ! Best regards, Simon Feutrier Le lun. 14 déc. 2020 à 16:05, Andreas Buhr a écrit : > Hi Simon, > > On 14.12.20 15:25, Simon FEUTRIER wrote: > > But when I write in the characteristic of the second remote device, the > > connection with this device is immediately lost (Invalid service : loss > > of connection with the underlying device) > > Would you be able to share more information? Could you share your code? > > best, > Andreas > _______________________________________________ > Interest mailing list > Interest at qt-project.org > https://lists.qt-project.org/listinfo/interest > -------------- next part -------------- An HTML attachment was scrubbed... URL: From oliver.wolff at qt.io Tue Dec 15 08:17:40 2020 From: oliver.wolff at qt.io (Oliver Wolff) Date: Tue, 15 Dec 2020 08:17:40 +0100 Subject: [Interest] [Qt BLE] multiple devices connected to an app In-Reply-To: References: <4d331568-fbff-3876-6fb9-1922a9163828@qt.io> Message-ID: <8a763c26-c6f9-d890-a9f2-4e526abe1c03@qt.io> Hi Simon, On 14/12/2020 16:36, Simon FEUTRIER wrote: > I don't really have something useful to share and my code is quite big. > Moreover it is mainly inspired by the lowEnergyScanner example. > > Here is my algorithm for BLE : > -> MainWindow initiates a class called "apiComBluetooth". > -> Then MainWindow calls ApiComBluetooth.startDiscovery() which is just > QBluetoothDeviceDiscoveryAgent.startDiscovery() > -> After 5 seconds, the ApiComBluetooth receives the signal of > discoveryFinished. It sorts devices that I want and stores them in a > list of BleDevice (bluetooth device class like in the lowEnergyScanner > example). > -> Then the (only) service that I use starts to be discovered for each > BleDevice created. > -> To write or read to a specific device, MainWindow just accesses the > right device in the BleDevice list using an index. > "WriteCharacteristic" or messages received in the FIFO are managed > directly in the BleDevice class of the device. My experience with BLE on Windows is, that everything is really sensitive when it comes to devices/BLE dongles and drivers. Can you give more information on the hardware you are using? Windows API does not have the concept of connecting to a BLE device, so what we do behind the scenes is reading a characteristic if the device is not connected. This will trigger a connect that is initiated by the operating system. So the influence we have on the connection behavior itself is quite limited. Perhaps the hardware you are using at least gives some input. Cheers, Olli > > I don't know if this information can help you, thank you ! > > Best regards, > > Simon Feutrier > > > Le lun. 14 déc. 2020 à 16:05, Andreas Buhr > a écrit : > > Hi Simon, > > On 14.12.20 15:25, Simon FEUTRIER wrote: > > But when I write in the characteristic of the second remote > device, the > > connection with this device is immediately lost (Invalid service > : loss > > of connection with the underlying device) > > Would you be able to share more information? Could you share your code? > > best, > Andreas > _______________________________________________ > Interest mailing list > Interest at qt-project.org > https://lists.qt-project.org/listinfo/interest > > > > _______________________________________________ > Interest mailing list > Interest at qt-project.org > https://lists.qt-project.org/listinfo/interest > From sfeutrier at bluegriot.com Tue Dec 15 09:26:27 2020 From: sfeutrier at bluegriot.com (Simon FEUTRIER) Date: Tue, 15 Dec 2020 09:26:27 +0100 Subject: [Interest] [Qt BLE] multiple devices connected to an app In-Reply-To: <8a763c26-c6f9-d890-a9f2-4e526abe1c03@qt.io> References: <4d331568-fbff-3876-6fb9-1922a9163828@qt.io> <8a763c26-c6f9-d890-a9f2-4e526abe1c03@qt.io> Message-ID: Hello Oliver, I developed a remote device which has a u-blox BLE module (this module has an embedded nordic nrf chip if you know it). Thus, I communicate with this module with AT commands and I don't have a lot of information. Some more information I can give you : Here are the messages I got from the Bluetooth stack when I try to send the first message to the second remote device (the first one is already connected) : > internal\sdk\inc\wil\opensource/wil/winrt.h(1587)\Windows.Devices.Bluetooth.dll!00007FFEE636E54B: > (caller: 00007FFEE639262E) Exception(1) tid(3a08) 80004004 Opération > abandonnée > Exception at 0x7fff0a413b29, code: 0xe06d7363: C++ exception, flags=0x1 > (execution cannot be continued) (first chance) in Windows_Devices_Bluetooth > Exception at 0x7fff0a413b29, code: 0xe06d7363: C++ exception, flags=0x1 > (execution cannot be continued) (first chance) in Windows_Devices_Bluetooth > onecoreuap\drivers\wdm\bluetooth\user\winrt\gatt\gattcharacteristic.cpp(1119)\Windows.Devices.Bluetooth.dll!00007FFEE643DD9B: > (caller: 00007FFEE638FB90) ReturnHr(73) tid(3a08) 80004004 Opération > abandonnée > onecoreuap\drivers\wdm\bluetooth\user\winrt\gatt\gattcharacteristic.cpp(368)\Windows.Devices.Bluetooth.dll!00007FFEE638FC9B: > (caller: 00007FFEE63993EC) ReturnHr(74) tid(3a08) 80004004 Opération > abandonnée PS : "Opération abandonnée" just means Abandoned, aborted operation, in french ^^' Moreover, I can confirm that I can write in the descriptor of both devices (descriptorWritten signal is emitted) : *m_pFifoService->writeDescriptor(notificationDesc, QByteArray::fromHex("0100"));* Best, Simon Feutrier Le mar. 15 déc. 2020 à 08:19, Oliver Wolff a écrit : > Hi Simon, > > On 14/12/2020 16:36, Simon FEUTRIER wrote: > > I don't really have something useful to share and my code is quite big. > > Moreover it is mainly inspired by the lowEnergyScanner example. > > > > Here is my algorithm for BLE : > > -> MainWindow initiates a class called "apiComBluetooth". > > -> Then MainWindow calls ApiComBluetooth.startDiscovery() which is just > > QBluetoothDeviceDiscoveryAgent.startDiscovery() > > -> After 5 seconds, the ApiComBluetooth receives the signal of > > discoveryFinished. It sorts devices that I want and stores them in a > > list of BleDevice (bluetooth device class like in the lowEnergyScanner > > example). > > -> Then the (only) service that I use starts to be discovered for each > > BleDevice created. > > -> To write or read to a specific device, MainWindow just accesses the > > right device in the BleDevice list using an index. > > "WriteCharacteristic" or messages received in the FIFO are managed > > directly in the BleDevice class of the device. > > My experience with BLE on Windows is, that everything is really > sensitive when it comes to devices/BLE dongles and drivers. Can you give > more information on the hardware you are using? > > Windows API does not have the concept of connecting to a BLE device, so > what we do behind the scenes is reading a characteristic if the device > is not connected. This will trigger a connect that is initiated by the > operating system. So the influence we have on the connection behavior > itself is quite limited. Perhaps the hardware you are using at least > gives some input. > > Cheers, Olli > > > > > I don't know if this information can help you, thank you ! > > > > Best regards, > > > > Simon Feutrier > > > > > > Le lun. 14 déc. 2020 à 16:05, Andreas Buhr > > a écrit : > > > > Hi Simon, > > > > On 14.12.20 15:25, Simon FEUTRIER wrote: > > > But when I write in the characteristic of the second remote > > device, the > > > connection with this device is immediately lost (Invalid service > > : loss > > > of connection with the underlying device) > > > > Would you be able to share more information? Could you share your > code? > > > > best, > > Andreas > > _______________________________________________ > > Interest mailing list > > Interest at qt-project.org > > https://lists.qt-project.org/listinfo/interest > > > > > > > > _______________________________________________ > > Interest mailing list > > Interest at qt-project.org > > https://lists.qt-project.org/listinfo/interest > > > _______________________________________________ > Interest mailing list > Interest at qt-project.org > https://lists.qt-project.org/listinfo/interest > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aclight at gmail.com Tue Dec 15 19:38:21 2020 From: aclight at gmail.com (Adam Light) Date: Tue, 15 Dec 2020 10:38:21 -0800 Subject: [Interest] Generate pdb for qmake.exe on Windows In-Reply-To: <631cc463-0927-00e3-53ec-7600fc691e26@qt.io> References: <70875551-a76f-339b-c2c7-2881ab0c8ce9@qt.io> <631cc463-0927-00e3-53ec-7600fc691e26@qt.io> Message-ID: On Fri, Dec 11, 2020 at 9:19 AM Joerg Bornemann wrote: > On 12/11/20 5:15 PM, Adam Light wrote: > > > > Is it possible to build Qt in such a way that debugging symbols > for > > > qmake itself are generated? > > > > Not out of the box. Edit qmake/Makefile in your build directory and > > - add /Zi to CFLAGS_BARE > > - add /DEBUG to LFLAGS > > then run "nmake clean" and "nmake". > > > > > > Thanks for the help. > > > > But I don't see a qmake directory in my build directory. Did you mean > > the qtbase\qmake directory in my build directory? I do have that one. > > Yes, that one. > > OK, thanks Joerg. That worked. The only thing is that the qmake.pdb that is generated is not copied by jom install (after building the rest of Qt) so I had to copy that over manually. Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: From alervdvcw at gmail.com Wed Dec 16 07:40:46 2020 From: alervdvcw at gmail.com (Alexander Dyagilev) Date: Wed, 16 Dec 2020 09:40:46 +0300 Subject: [Interest] Deploy custom binary with APK Message-ID: Hello, I was using the following scheme: 1. Add it to assets. mybinary.path=/assets mybinary.files+=$$PWD/../mybinary-build/prebuilt/android/$$ANDROID_TARGET_ARCH/bin/mybinary INSTALLS+=mybinary 2. At app first start, copy it to the cache folder and run it from there. Since Android 10, this scheme is not working anymore (https://developer.android.com/about/versions/10/behavior-changes-10#execute-permission): "/Untrusted apps that target Android 10 cannot invoke //|exec()|//on files within the app's home directory. This execution of files from the writable app home directory is a //W^X violation //. Apps should load only the binary code that's embedded within an app's APK file./" So, is there a way to include it into APK so I can launch it from there? I'm using Qt 5.12.10. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alervdvcw at gmail.com Wed Dec 16 09:19:32 2020 From: alervdvcw at gmail.com (Alexander Dyagilev) Date: Wed, 16 Dec 2020 11:19:32 +0300 Subject: [Interest] shell_path, QMAKE_COPY, etc. are broken when building for Android under Windows Message-ID: <7169bae6-0664-4c54-45ed-6bc717524693@gmail.com> Hello, Is it known bug? Is there workaround? What I mean: The following in .pro file: message(QMAKE_COPY=$$QMAKE_COPY) message(shellpathforPWDis:$$shell_path($$PWD)) Generates the following outputs (under Windows OS): When building for Windows (there is no bug): Project MESSAGE: QMAKE_COPY = copy /y Project MESSAGE: shell path for PWD is: C:\Work\Source\fdm-qml\ui When building for Android (there is bug, things gets unusable): Project MESSAGE: QMAKE_COPY = cp -f Project MESSAGE: shell path for PWD is: /C/Work/Source/fdm-qml/ui Windows does not understand cp command and the path obviously wrong too. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andreas.buhr at qt.io Wed Dec 16 09:39:04 2020 From: andreas.buhr at qt.io (Andreas Buhr) Date: Wed, 16 Dec 2020 09:39:04 +0100 Subject: [Interest] [Qt BLE] multiple devices connected to an app In-Reply-To: References: <4d331568-fbff-3876-6fb9-1922a9163828@qt.io> <8a763c26-c6f9-d890-a9f2-4e526abe1c03@qt.io> Message-ID: <9cd5e502-6968-31c5-ab09-a919d9d45bb5@qt.io> Hi Simon, On 15.12.20 09:26, Simon FEUTRIER wrote: > I developed a remote device which has a u-blox BLE module (this module > has an embedded nordic nrf chip if you know it). Thus, I communicate > with this module with AT commands and I don't have a lot of information. > > Some more information I can give you : [snip] Could you please create an item on bugreports.qt.io to track it? Thanks a lot! Andreas From sfeutrier at bluegriot.com Wed Dec 16 09:56:06 2020 From: sfeutrier at bluegriot.com (Simon FEUTRIER) Date: Wed, 16 Dec 2020 09:56:06 +0100 Subject: [Interest] [Qt BLE] multiple devices connected to an app In-Reply-To: <9cd5e502-6968-31c5-ab09-a919d9d45bb5@qt.io> References: <4d331568-fbff-3876-6fb9-1922a9163828@qt.io> <8a763c26-c6f9-d890-a9f2-4e526abe1c03@qt.io> <9cd5e502-6968-31c5-ab09-a919d9d45bb5@qt.io> Message-ID: Hi Andreas, Here is the issue : https://bugreports.qt.io/browse/QTBUG-89534 In fact, I already have other tickets for BLE (security problem). BLE (Qt) under Windows 10 seems to be hard to manage ! Best regards, Simon Feutrier Le mer. 16 déc. 2020 à 09:41, Andreas Buhr a écrit : > Hi Simon, > > On 15.12.20 09:26, Simon FEUTRIER wrote: > > I developed a remote device which has a u-blox BLE module (this module > > has an embedded nordic nrf chip if you know it). Thus, I communicate > > with this module with AT commands and I don't have a lot of information. > > > > Some more information I can give you : > [snip] > Could you please create an item on bugreports.qt.io to track it? > > Thanks a lot! > > Andreas > _______________________________________________ > Interest mailing list > Interest at qt-project.org > https://lists.qt-project.org/listinfo/interest > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Kai.Koehne at qt.io Wed Dec 16 10:07:08 2020 From: Kai.Koehne at qt.io (=?utf-8?B?S2FpIEvDtmhuZQ==?=) Date: Wed, 16 Dec 2020 09:07:08 +0000 Subject: [Interest] shell_path, QMAKE_COPY, etc. are broken when building for Android under Windows In-Reply-To: <7169bae6-0664-4c54-45ed-6bc717524693@gmail.com> References: <7169bae6-0664-4c54-45ed-6bc717524693@gmail.com> Message-ID: Hi, Do you have a sh.exe in PATH? If so , qmake assumes you’re running in a Cygwin shell. Regards Kai From: Interest On Behalf Of Alexander Dyagilev Sent: Wednesday, December 16, 2020 9:20 AM To: interest Subject: [Interest] shell_path, QMAKE_COPY, etc. are broken when building for Android under Windows Hello, Is it known bug? Is there workaround? What I mean: The following in .pro file: message(QMAKE_COPY = $$QMAKE_COPY) message(shell path for PWD is: $$shell_path($$PWD)) Generates the following outputs (under Windows OS): When building for Windows (there is no bug): Project MESSAGE: QMAKE_COPY = copy /y Project MESSAGE: shell path for PWD is: C:\Work\Source\fdm-qml\ui When building for Android (there is bug, things gets unusable): Project MESSAGE: QMAKE_COPY = cp -f Project MESSAGE: shell path for PWD is: /C/Work/Source/fdm-qml/ui Windows does not understand cp command and the path obviously wrong too. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alervdvcw at gmail.com Wed Dec 16 10:20:02 2020 From: alervdvcw at gmail.com (Alexander Dyagilev) Date: Wed, 16 Dec 2020 12:20:02 +0300 Subject: [Interest] shell_path, QMAKE_COPY, etc. are broken when building for Android under Windows In-Reply-To: References: <7169bae6-0664-4c54-45ed-6bc717524693@gmail.com> Message-ID: <8e45c0b4-5646-5048-93a1-ab33a05586fb@gmail.com> Nice... Yes, I have. But it's not used at all. I build using Qt Creator... On 12/16/2020 12:07 PM, Kai Köhne wrote: > > Hi, > > Do you have a sh.exe in PATH? If so , qmake assumes you’re running in > a Cygwin shell. > > > Regards > > > Kai > > *From:* Interest *On Behalf Of > *Alexander Dyagilev > *Sent:* Wednesday, December 16, 2020 9:20 AM > *To:* interest > *Subject:* [Interest] shell_path, QMAKE_COPY, etc. are broken when > building for Android under Windows > > Hello, > > Is it known bug? Is there workaround? > > What I mean: > > The following in .pro file: > > message(QMAKE_COPY=$$QMAKE_COPY) > message(shellpathforPWDis:$$shell_path($$PWD)) > > Generates the following outputs (under Windows OS): > > When building for Windows (there is no bug): > Project MESSAGE: QMAKE_COPY = copy /y > Project MESSAGE: shell path for PWD is: C:\Work\Source\fdm-qml\ui > > When building for Android (there is bug, things gets unusable): > Project MESSAGE: QMAKE_COPY = cp -f > Project MESSAGE: shell path for PWD is: /C/Work/Source/fdm-qml/ui > > Windows does not understand cp command and the path obviously wrong too. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nuno.santos at imaginando.pt Wed Dec 16 10:26:33 2020 From: nuno.santos at imaginando.pt (Nuno Santos) Date: Wed, 16 Dec 2020 09:26:33 +0000 Subject: [Interest] Is it safe to update to Xcode 12 when still relying on Qt 5.12? Message-ID: <13C63EA4-F40A-45A7-84EA-25671430AF90@imaginando.pt> Hi, I’ve been relying on Qt 5.12. In order to run apps on iOS 14 manually adding Device Support to Xcode doesn’t seem to do the trick. An update to Xcode 12 is required. Is it safe to update to Xcode 12 and compile Qt 5.12 from the source on it? I’m still using Mac OS 10.15 Catalina. Thanks! Regards, Nuno From godboutj at amotus.ca Wed Dec 16 15:38:19 2020 From: godboutj at amotus.ca (=?utf-8?B?SsOpcsO0bWUgR29kYm91dA==?=) Date: Wed, 16 Dec 2020 14:38:19 +0000 Subject: [Interest] shell_path, QMAKE_COPY, etc. are broken when building for Android under Windows In-Reply-To: References: <7169bae6-0664-4c54-45ed-6bc717524693@gmail.com> Message-ID: Maybe a fallback check could be done first, Cygwin add env variables: OSTYPE which can be check to see if this is Cygwin. Or maybe uname detection to confirm. Could be more robust then path executable. With Windows Linux subsystem taking traction versus Cygwin, this check can become even more unreliable. From: Interest On Behalf Of Kai Köhne Sent: December 16, 2020 4:07 AM To: Alexander Dyagilev ; interest Subject: Re: [Interest] shell_path, QMAKE_COPY, etc. are broken when building for Android under Windows Hi, Do you have a sh.exe in PATH? If so , qmake assumes you’re running in a Cygwin shell. Regards Kai From: Interest > On Behalf Of Alexander Dyagilev Sent: Wednesday, December 16, 2020 9:20 AM To: interest > Subject: [Interest] shell_path, QMAKE_COPY, etc. are broken when building for Android under Windows Hello, Is it known bug? Is there workaround? What I mean: The following in .pro file: message(QMAKE_COPY = $$QMAKE_COPY) message(shell path for PWD is: $$shell_path($$PWD)) Generates the following outputs (under Windows OS): When building for Windows (there is no bug): Project MESSAGE: QMAKE_COPY = copy /y Project MESSAGE: shell path for PWD is: C:\Work\Source\fdm-qml\ui When building for Android (there is bug, things gets unusable): Project MESSAGE: QMAKE_COPY = cp -f Project MESSAGE: shell path for PWD is: /C/Work/Source/fdm-qml/ui Windows does not understand cp command and the path obviously wrong too. -------------- next part -------------- An HTML attachment was scrubbed... URL: From be.0 at gmx.com Wed Dec 16 19:10:17 2020 From: be.0 at gmx.com (Be) Date: Wed, 16 Dec 2020 12:10:17 -0600 Subject: [Interest] determining graphics frame swap time when rendering in Qt 6 Message-ID: <2a61b481-fda0-78f5-d9fc-68645ac313c8@gmx.com> Hi, I am a maintainer of Mixxx DJ software and I'm trying to come up with a roadmap for the future of our GUI. The current GUI uses a home-baked XML layout system for QWidgets that predates Qt's UIC. One of the main features of the application is waveform visualizations of the audio tracks being played. For smooth scrolling of the waveforms synchronized with the audio going to the audio interface, the waveform renderers need to determine at the time of rendering when the next buffer swap onto the screen will occur. This is currently implemented with QGLWidget by disabling auto buffer swapping and calling QGLWidget::swap from a thread which synchronizes with VSync. If you want to see the current implementation, look at the VisualPlayPosition and VSyncThread classes: https://github.com/mixxxdj/mixxx/blob/main/src/waveform/visualplayposition.h https://github.com/mixxxdj/mixxx/blob/main/src/waveform/vsyncthread.cpp Unfortunately, this is not a viable solution going forward. QGLWidget has been removed in Qt 6. Even before that, the current implementation causes severe performance problems that make the application unusable when built with a macOS SDK >= 10.14. From what I understand, this is because of layer backed rendering which can only be disabled by building with the macOS 10.13 SDK, which we have to do now with a hack downloading the SDK separately so it can be used with up to date versions of XCode which do not officially support the 10.13 SDK. We attempted another solution ( https://github.com/mixxxdj/mixxx/pull/1974 ) with QOpenGLWidget using the QOpenGLWidget::frameSwapped signal to estimate when the rendered frame would be shown on screen. This performed much better on macOS with SDKs > 10.13. However, we could not accurately predict the timing of the frame swap onto the screen because: > Unlike QGLWidget, triggering a buffer swap just for the QOpenGLWidget is not possible since there is no real, onscreen native surface for it. Instead, it is up to the widget stack to manage composition and buffer swaps on the gui thread. When a thread is done updating the framebuffer, call update() on the GUI/main thread to schedule composition. https://doc.qt.io/qt-5/qopenglwidget.html#threading The result was that the waveforms did not scroll smoothly. Instead, they jerked back and forth. This might be overcome with the approach recommended in the QOpenGLWidget documentation: > This involves drawing using an alternative render target, that is fully controlled by the thread, e.g. an additional framebuffer object, and blitting to the QOpenGLWidget's framebuffer at a suitable time. However, we would like to move away from our hacky old QWidget XML GUI layout system and use QML. Just the other day I decoupled the backend application logic from QWidgets and got a simple Qt Quick proof-of-concept GUI working. We could adapt our legacy OpenGL waveform rendering code to work in a Qt Quick GUI, however I'm not sure we'd really solve our performance problems on macOS because the Qt Quick scene graph rendering in a separate thread is not supported with the OpenGL backend on macOS. So it seems the most maintainable and performant way forward would be adapting our existing OpenGL GLSL waveform renderer to Vulkan-compatible GLSL to use the new Qt Shader Baker. This still leaves open the question of how to determine when the frame being rendered will be swapped to the screen. If I understand correctly, either the application needs to be able to control the swap time or we need a guarantee from Qt that swaps will occur at a steady, predictable time. QQuickRenderControl allows the application to control the render time, but I have not found anything in the Qt 6 documentation about how to control or determine the swap time. From my quick glance at the Qt 6 source code, it seems this is controlled by RHI in private APIs. Is this possible? Are there any other solutions you can suggest? Potential solutions I have thought about but I don't know if they'd work: 1. If we control the rendering time of the entire window with QQuickRenderControl, could we measure the difference between the start of rendering and the QQuickWindow::frameSwapped signal to estimate the next swap time? I don't know if this would work though because I think the rendering time would have to be roughly constant. With all the optimizations the Qt Quick scene graph does, I'm guessing the rendering time can vary dramatically depending on what needs updating. 2. Another approach might be using QQuickRenderControl and QQuickRenderTarget to render a QQuickWindow to an offscreen buffer so the application can determine when to swap that buffer on screen. I'm not sure sure how feasible this is. We still need an on screen QWindow to receive input, resize, and hide/show events which would need to be redirected to the offscreen QQuickWindow. As far as I can tell, the only way we might be able to do that with thie existing Qt 6 APIs is with a QOpenGLWindow which shares a QOpenGLContext with the QQuickWindow, so we'd be bound to OpenGL and couldn't take advantage of the other RHI backends. By the way I never got the registration confirmation email when I tried to sign up for this mailing list with my mixxx.org email address. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tor.arne.Vestbo at qt.io Wed Dec 16 21:45:10 2020 From: Tor.arne.Vestbo at qt.io (=?utf-8?B?VG9yIEFybmUgVmVzdGLDuA==?=) Date: Wed, 16 Dec 2020 20:45:10 +0000 Subject: [Interest] Is it safe to update to Xcode 12 when still relying on Qt 5.12? In-Reply-To: <13C63EA4-F40A-45A7-84EA-25671430AF90@imaginando.pt> References: <13C63EA4-F40A-45A7-84EA-25671430AF90@imaginando.pt> Message-ID: <6618F48E-8F82-407D-A811-47F041BEFD0F@qt.io> Hi Nuno, It likely works fine, but is unsupported. The supported case is building Qt with Xcode 10, as per https://doc-snapshots.qt.io/qt5-5.12/ios.html You can still build your _app_ with with Xcode 12 though. Your best bet is upgrading to Qt 5.15: https://doc-snapshots.qt.io/qt5-5.15/ios.html Tor Arne On 16 Dec 2020, at 10:26, Nuno Santos > wrote: Hi, I’ve been relying on Qt 5.12. In order to run apps on iOS 14 manually adding Device Support to Xcode doesn’t seem to do the trick. An update to Xcode 12 is required. Is it safe to update to Xcode 12 and compile Qt 5.12 from the source on it? I’m still using Mac OS 10.15 Catalina. Thanks! Regards, Nuno _______________________________________________ Interest mailing list Interest at qt-project.org https://lists.qt-project.org/listinfo/interest -------------- next part -------------- An HTML attachment was scrubbed... URL: From yue.nicholas at gmail.com Thu Dec 17 02:45:55 2020 From: yue.nicholas at gmail.com (Nicholas Yue) Date: Wed, 16 Dec 2020 17:45:55 -0800 Subject: [Interest] QImage family of classes - image bucket Message-ID: Hi, I am writing an application that is receiving images in rectangular buckets. These buckets may be destined for different layers of images. I plan to create a list for the layers so that I can show selected and individual ones of interest. Which QImage class is easier to work with where I can write those rectangular buckets of pixels individually ? Cheers -- Nicholas Yue Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows http://au.linkedin.com/in/nicholasyue https://vimeo.com/channels/naiadtools -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave at kjams.com Thu Dec 17 04:33:15 2020 From: dave at kjams.com (David M. Cotter) Date: Wed, 16 Dec 2020 19:33:15 -0800 Subject: [Interest] QImage family of classes - image bucket In-Reply-To: References: Message-ID: if i understand your problem (and i may not), then i recommend using https://doc.qt.io/qt-5/qgraphicsscene.html and https://doc.qt.io/qt-5/qgraphicspixmapitem.html therefore use: https://doc.qt.io/qt-5/qpixmap.html graphics scene very nicely handles many layers see the "Colliding Mice Example" -dave > On Dec 16, 2020, at 5:45 PM, Nicholas Yue wrote: > > Hi, > > I am writing an application that is receiving images in rectangular buckets. > > These buckets may be destined for different layers of images. > > I plan to create a list for the layers so that I can show selected and individual ones of interest. > > Which QImage class is easier to work with where I can write those rectangular buckets of pixels individually ? > > Cheers > -- > Nicholas Yue -------------- next part -------------- An HTML attachment was scrubbed... URL: From nuno.santos at imaginando.pt Thu Dec 17 12:59:53 2020 From: nuno.santos at imaginando.pt (Nuno Santos) Date: Thu, 17 Dec 2020 11:59:53 +0000 Subject: [Interest] Is it safe to update to Xcode 12 when still relying on Qt 5.12? In-Reply-To: <6618F48E-8F82-407D-A811-47F041BEFD0F@qt.io> References: <13C63EA4-F40A-45A7-84EA-25671430AF90@imaginando.pt> <6618F48E-8F82-407D-A811-47F041BEFD0F@qt.io> Message-ID: Tor, Thank you for your reply and insights. I will try invest some time in migrating to Qt 5.15. What about Big Sur? Am I able to build Qt 5.15 on Big Sur? Thanks! Nuno > On 16 Dec 2020, at 20:45, Tor Arne Vestbø wrote: > > Hi Nuno, > > It likely works fine, but is unsupported. The supported case is building Qt with Xcode 10, as per https://doc-snapshots.qt.io/qt5-5.12/ios.html > > You can still build your _app_ with with Xcode 12 though. > > Your best bet is upgrading to Qt 5.15: > > https://doc-snapshots.qt.io/qt5-5.15/ios.html > > Tor Arne > > >> On 16 Dec 2020, at 10:26, Nuno Santos > wrote: >> >> Hi, >> >> I’ve been relying on Qt 5.12. >> >> In order to run apps on iOS 14 manually adding Device Support to Xcode doesn’t seem to do the trick. An update to Xcode 12 is required. >> >> Is it safe to update to Xcode 12 and compile Qt 5.12 from the source on it? I’m still using Mac OS 10.15 Catalina. >> >> Thanks! >> >> Regards, >> >> Nuno >> _______________________________________________ >> Interest mailing list >> Interest at qt-project.org >> https://lists.qt-project.org/listinfo/interest > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tor.arne.Vestbo at qt.io Thu Dec 17 13:01:19 2020 From: Tor.arne.Vestbo at qt.io (=?utf-8?B?VG9yIEFybmUgVmVzdGLDuA==?=) Date: Thu, 17 Dec 2020 12:01:19 +0000 Subject: [Interest] Is it safe to update to Xcode 12 when still relying on Qt 5.12? In-Reply-To: References: <13C63EA4-F40A-45A7-84EA-25671430AF90@imaginando.pt> <6618F48E-8F82-407D-A811-47F041BEFD0F@qt.io> Message-ID: On 17 Dec 2020, at 12:59, Nuno Santos > wrote: Tor, Thank you for your reply and insights. I will try invest some time in migrating to Qt 5.15. What about Big Sur? Am I able to build Qt 5.15 on Big Sur? Yepp, that should work fine 😊 Thanks! Nuno On 16 Dec 2020, at 20:45, Tor Arne Vestbø > wrote: Hi Nuno, It likely works fine, but is unsupported. The supported case is building Qt with Xcode 10, as per https://doc-snapshots.qt.io/qt5-5.12/ios.html You can still build your _app_ with with Xcode 12 though. Your best bet is upgrading to Qt 5.15: https://doc-snapshots.qt.io/qt5-5.15/ios.html Tor Arne On 16 Dec 2020, at 10:26, Nuno Santos > wrote: Hi, I’ve been relying on Qt 5.12. In order to run apps on iOS 14 manually adding Device Support to Xcode doesn’t seem to do the trick. An update to Xcode 12 is required. Is it safe to update to Xcode 12 and compile Qt 5.12 from the source on it? I’m still using Mac OS 10.15 Catalina. Thanks! Regards, Nuno _______________________________________________ Interest mailing list Interest at qt-project.org https://lists.qt-project.org/listinfo/interest -------------- next part -------------- An HTML attachment was scrubbed... URL: From ekke at ekkes-corner.org Thu Dec 17 13:09:43 2020 From: ekke at ekkes-corner.org (ekke) Date: Thu, 17 Dec 2020 13:09:43 +0100 Subject: [Interest] Is it safe to update to Xcode 12 when still relying on Qt 5.12? In-Reply-To: References: <13C63EA4-F40A-45A7-84EA-25671430AF90@imaginando.pt> <6618F48E-8F82-407D-A811-47F041BEFD0F@qt.io> Message-ID: <280bbfcd-498e-056e-084c-ddd37f70a603@ekkes-corner.org> Nuno, please be aware of https://bugreports.qt.io/browse/QTCREATORBUG-24672 ekke Am 17.12.20 um 12:59 schrieb Nuno Santos: > Tor, > > Thank you for your reply and insights. > > I will try invest some time in migrating to Qt 5.15. > > What about Big Sur? Am I able to build Qt 5.15 on Big Sur? > > Thanks! > > Nuno > >> On 16 Dec 2020, at 20:45, Tor Arne Vestbø > > wrote: >> >> Hi Nuno, >> >> It likely works fine, but is unsupported. The supported case is >> building Qt with Xcode 10, as per >> https://doc-snapshots.qt.io/qt5-5.12/ios.html >> >> >> You can still build your _app_ with with Xcode 12 though. >> >> Your best bet is upgrading to Qt 5.15: >> >> https://doc-snapshots.qt.io/qt5-5.15/ios.html >> >> >> Tor Arne >> >> >>> On 16 Dec 2020, at 10:26, Nuno Santos >> > wrote: >>> >>> Hi, >>> >>> I’ve been relying on Qt 5.12. >>> >>> In order to run apps on iOS 14 manually adding Device Support to >>> Xcode doesn’t seem to do the trick. An update to Xcode 12 is required. >>> >>> Is it safe to update to Xcode 12 and compile Qt 5.12 from the source >>> on it? I’m still using Mac OS 10.15 Catalina. >>> >>> Thanks! >>> >>> Regards, >>> >>> Nuno >>> _______________________________________________ >>> Interest mailing list >>> Interest at qt-project.org >>> https://lists.qt-project.org/listinfo/interest >>> >> > > > _______________________________________________ > Interest mailing list > Interest at qt-project.org > https://lists.qt-project.org/listinfo/interest -------------- next part -------------- An HTML attachment was scrubbed... URL: From godboutj at amotus.ca Thu Dec 17 15:13:06 2020 From: godboutj at amotus.ca (=?utf-8?B?SsOpcsO0bWUgR29kYm91dA==?=) Date: Thu, 17 Dec 2020 14:13:06 +0000 Subject: [Interest] QImage family of classes - image bucket In-Reply-To: References: Message-ID: Hi, just a though, maybe you should do a rendering into a framebuffer of each layer with a different z. That would make the rendering very easy and super fast on GPU. After you could put the result into a QImage or QPixmap. From: Interest On Behalf Of Nicholas Yue Sent: December 16, 2020 8:46 PM To: interest at qt-project.org Subject: [Interest] QImage family of classes - image bucket Hi, I am writing an application that is receiving images in rectangular buckets. These buckets may be destined for different layers of images. I plan to create a list for the layers so that I can show selected and individual ones of interest. Which QImage class is easier to work with where I can write those rectangular buckets of pixels individually ? Cheers -- Nicholas Yue Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows http://au.linkedin.com/in/nicholasyue https://vimeo.com/channels/naiadtools -------------- next part -------------- An HTML attachment was scrubbed... URL: From yue.nicholas at gmail.com Thu Dec 17 18:24:46 2020 From: yue.nicholas at gmail.com (Nicholas Yue) Date: Thu, 17 Dec 2020 09:24:46 -0800 Subject: [Interest] QImage family of classes - image bucket In-Reply-To: References: Message-ID: Thank you. I will look into using QPixMap If I am receiving those image buckets sporadically and long delays (minutes to hours) between each bucket, that has no implications on the use of QPixMap right ? Cheers On Thu, 17 Dec 2020 at 06:13, Jérôme Godbout wrote: > Hi, > > just a though, maybe you should do a rendering into a framebuffer of each > layer with a different z. That would make the rendering very easy and super > fast on GPU. > > > > After you could put the result into a QImage or QPixmap. > > > > > > *From:* Interest *On Behalf Of *Nicholas > Yue > *Sent:* December 16, 2020 8:46 PM > *To:* interest at qt-project.org > *Subject:* [Interest] QImage family of classes - image bucket > > > > Hi, > > > > I am writing an application that is receiving images in rectangular > buckets. > > > > These buckets may be destined for different layers of images. > > > > I plan to create a list for the layers so that I can show selected and > individual ones of interest. > > > > Which QImage class is easier to work with where I can write those > rectangular buckets of pixels individually ? > > > > Cheers > -- > > Nicholas Yue > Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5 > Custom Dev - C++ porting, OSX, Linux, Windows > http://au.linkedin.com/in/nicholasyue > https://vimeo.com/channels/naiadtools > -- Nicholas Yue Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows http://au.linkedin.com/in/nicholasyue https://vimeo.com/channels/naiadtools -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave at kjams.com Fri Dec 18 00:08:21 2020 From: dave at kjams.com (David M. Cotter) Date: Thu, 17 Dec 2020 15:08:21 -0800 Subject: [Interest] help: build from git setup Message-ID: <7FCBC659-FC83-4840-915D-831D41B55D7C@kjams.com> on macos 10.14 attempting to follow instructions here: https://wiki.qt.io/Building_Qt_5_from_Git i'm using the app "Fork" as my git GUI so i did SOME steps there.. i think i got it all right? i got to the point of testing my ssh thing with this command: > ssh codereview.qt-project.org gerrit stream-events but all that did was... nothing. didn't even return to the command line prompt. just sat there. what is expected? so i skipped that step, hoping maybe ... it would still work? then i got all the way to executing this command: > perl init-repository --module-subset=default,-qtwebengine it immediately came back with: > Will not reinitialize already initialized repository (use -f to force)! ummm... okay.... is.. THAT expected? so i added "-f" to the end.... it got part way through but then halted here: > ... > + git config remote.gerrit.fetch +refs/heads/*:refs/remotes/gerrit/* /heads/ > Aliasing /Volumes/Developer/depot/qt5/qtrepotools/git-hooks/gerrit_commit_msg_hook > as /Volumes/Developer/depot/qt5/qt3d/../.git/modules/qt3d/hooks/commit-msg ... > Cannot create forwarding script /Volumes/Developer/depot/qt5/qt3d/../.git/modules/qt3d/hooks/commit-msg: No such file or directory at this point i no longer believe i can just "keep going" anyone know what to do at this point? i'll pay for your time. -dave From thiago.macieira at intel.com Fri Dec 18 02:59:05 2020 From: thiago.macieira at intel.com (Thiago Macieira) Date: Thu, 17 Dec 2020 22:59:05 -0300 Subject: [Interest] help: build from git setup In-Reply-To: <7FCBC659-FC83-4840-915D-831D41B55D7C@kjams.com> References: <7FCBC659-FC83-4840-915D-831D41B55D7C@kjams.com> Message-ID: <4148428.8d02mbksij@tjmaciei-mobl1> On Thursday, 17 December 2020 20:08:21 -03 David M. Cotter wrote: > on macos 10.14 I suggest upgrading. > i got to the point of testing my ssh thing with this command: > > ssh codereview.qt-project.org gerrit stream-events > > but all that did was... nothing. didn't even return to the command line > prompt. just sat there. what is expected? Yes. Why are you running this? > then i got all the way to executing this command: > > perl init-repository --module-subset=default,-qtwebengine > > it immediately came back with: > > Will not reinitialize already initialized repository (use -f to force)! > > ummm... okay.... is.. THAT expected? Yes, if it is already initialised from a previous run. > > + git config remote.gerrit.fetch +refs/heads/*:refs/remotes/gerrit/* > > /heads/ Aliasing > > /Volumes/Developer/depot/qt5/qtrepotools/git-hooks/gerrit_commit_msg_hook> > > as > > /Volumes/Developer/depot/qt5/qt3d/../.git/modules/qt3d/hooks/commit > > -msg ...> > > Cannot create forwarding script > > /Volumes/Developer/depot/qt5/qt3d/../.git/modules/qt3d/hooks/commit-msg: > > No such file or directory > at this point i no longer believe i can just "keep going" > > anyone know what to do at this point? The perl init-repository script was never updated to deal with Git submodules creating .git files instead of .git dirs. Ignore the errors from it and use only git submodule update. If you want to make contributions, you'll need to enable the commit hook script manually. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel DPG Cloud Engineering From dave at kjams.com Fri Dec 18 04:11:52 2020 From: dave at kjams.com (David M. Cotter) Date: Thu, 17 Dec 2020 19:11:52 -0800 Subject: [Interest] help: build from git setup In-Reply-To: <4148428.8d02mbksij@tjmaciei-mobl1> References: <7FCBC659-FC83-4840-915D-831D41B55D7C@kjams.com> <4148428.8d02mbksij@tjmaciei-mobl1> Message-ID: >> on macos 10.14 > I suggest upgrading. not possible, i have legit reasons, unrelated to this post >> i got to the point of testing my ssh thing with this command: >>> ssh codereview.qt-project.org gerrit stream-events >> >> but all that did was... nothing. didn't even return to the command line >> prompt. just sat there. what is expected? > Yes. Why are you running this? because i'm following directions. the directions say that if i wish to test that my ssh is set up correctly, then run this command. so i did. now will you tell me what is expected? >> then i got all the way to executing this command: >>> perl init-repository --module-subset=default,-qtwebengine >> >> it immediately came back with: >>> Will not reinitialize already initialized repository (use -f to force)! >> >> ummm... okay.... is.. THAT expected? > > Yes, if it is already initialised from a previous run. all i've done is follow the directions from the beginning, for the first time. so, clearly (at least to me) i haven't run this command before. does doing a git-pull in fork cause that command? i don't think so. >>> Cannot create forwarding script >>> /Volumes/Developer/depot/qt5/qt3d/../.git/modules/qt3d/hooks/commit-msg: >>> No such file or directory >> at this point i no longer believe i can just "keep going" >> anyone know what to do at this point? > The perl init-repository script was never updated to deal with Git submodules creating .git files instead of .git dirs. okay i do not know what that means. i'm just following the directions here: https://wiki.qt.io/Building_Qt_5_from_Git#Getting_the_submodule_source_code shouldn't "following the directions" pretty much "just work" ? are the directions wrong? > Ignore the errors from it and use only git submodule update i don't know what that means where are the directions for THAT ? > If you want to make contributions indeed i do > you'll need to enable the commit hook script manually. where are the directions for that? thanks :) -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave at kjams.com Fri Dec 18 04:46:35 2020 From: dave at kjams.com (David M. Cotter) Date: Thu, 17 Dec 2020 19:46:35 -0800 Subject: [Interest] canceled drag-n-drop "snap back" ? Message-ID: <312C6F70-1B38-4123-928C-9CA1C671547D@kjams.com> on mac, if i start a drag, then let go over somewhere that doesn't accept the drag, we get this lovely "snap back" animation how can i do that on windows? is there an event or override i can trap when a drop is not accepted, so i can gain control of the drag image and animate it back to the start? From andreas.buhr at qt.io Fri Dec 18 10:23:49 2020 From: andreas.buhr at qt.io (Andreas Buhr) Date: Fri, 18 Dec 2020 10:23:49 +0100 Subject: [Interest] help: build from git setup In-Reply-To: <7FCBC659-FC83-4840-915D-831D41B55D7C@kjams.com> References: <7FCBC659-FC83-4840-915D-831D41B55D7C@kjams.com> Message-ID: Hi Dave, yes, it can be hard to start with Qt development. First some questions: 1. Do you really want to work on Qt5? Or could you work on Qt6? https://wiki.qt.io/Building_Qt_6_from_Git 2. Do you know which Qt modules you need? Fewer modules are faster compile times and less opportunity for failures. More answers below. On 18.12.20 00:08, David M. Cotter wrote: > on macos 10.14 > attempting to follow instructions here: > https://wiki.qt.io/Building_Qt_5_from_Git > > i'm using the app "Fork" as my git GUI so i did SOME steps there.. i think i got it all right? > > i got to the point of testing my ssh thing with this command: >> ssh codereview.qt-project.org gerrit stream-events I guess you are currently working through https://wiki.qt.io/Setting_up_Gerrit Probably everything is correct. There are just sometimes long periods where nothing happens, so stream-events will not output anything. > but all that did was... nothing. didn't even return to the command line prompt. just sat there. > what is expected? Output like {"project":"qt/qtquick3d","ref":"refs/heads/dev","targetNode":"code.qt.io","status":"succeeded","refStatus":"OK","type":"ref-replicated","eventCreatedOn":1608282687} {"project":"qt/qtquick3d","ref":"refs/heads/dev","targetNode":"it-dl08-ber","status":"succeeded","refStatus":"OK","type":"ref-replicated","eventCreatedOn":1608282688} > so i skipped that step, hoping maybe ... it would still work? > > then i got all the way to executing this command: >> perl init-repository --module-subset=default,-qtwebengine > > > it immediately came back with: >> Will not reinitialize already initialized repository (use -f to force)! Could you please restart from scratch and try again? If you go to an empty directory and execute git clone git://code.qt.io/qt/qt5.git cd qt5 git checkout 6.0 perl init-repository --module-subset=default,-qtwebengine --codereview-username Does this work? Could you share the output of these commands? Next step then would be to build it, but let's get that done first. I hope this helps, best, Andreas -- Andreas Buhr Senior Software Engineer The Qt Company Erich-Thilo-Str. 10 12489 Berlin Germany andreas.buhr at qt.io www.qt.io Geschäftsführer: Mika Pälsi, Juha Varelius, Jouni Lintunen Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B From izowiuz at gmail.com Fri Dec 18 13:54:02 2020 From: izowiuz at gmail.com (Narolewski Jakub) Date: Fri, 18 Dec 2020 13:54:02 +0100 Subject: [Interest] Digest sending emails every 10 minutes or so In-Reply-To: <0c23b980-ab43-6ffa-403f-5858f8603d00@logikalsolutions.com> References: <0c23b980-ab43-6ffa-403f-5858f8603d00@logikalsolutions.com> Message-ID: For some reason I also started getting them directly to the SPAM folder on my GMall account. >From interest, dev but not from qt-creator MLs pon., 14 gru 2020 o 07:14 Roland Hughes napisał(a): > Messages are really short. Some have just one short email in them. This > isn't the typical size problem caused by people pasting build output and > others just replying to the email without trimming. > > -- > Roland Hughes, President > Logikal Solutions > (630)-205-1593 > > http://www.theminimumyouneedtoknow.com > http://www.infiniteexposure.net > http://www.johnsmith-book.com > http://www.logikalblog.com > http://www.interestingauthors.com/blog > > _______________________________________________ > Interest mailing list > Interest at qt-project.org > https://lists.qt-project.org/listinfo/interest > -------------- next part -------------- An HTML attachment was scrubbed... URL: From assam.boudjelthia at qt.io Tue Dec 22 10:00:12 2020 From: assam.boudjelthia at qt.io (Assam Boudjelthia) Date: Tue, 22 Dec 2020 09:00:12 +0000 Subject: [Interest] Deploy custom binary with APK In-Reply-To: References: Message-ID: Hi, Can this file be copied to the android-build/assets folder? it would packaged with apk, then you could get it's path using the assets system as "assets:/path_to_asset_file" Best regards, Assam ________________________________ From: Interest on behalf of Alexander Dyagilev Sent: Wednesday, December 16, 2020 8:40:46 AM To: interest Subject: [Interest] Deploy custom binary with APK Hello, I was using the following scheme: 1. Add it to assets. mybinary.path = /assets mybinary.files += $$PWD/../mybinary-build/prebuilt/android/$$ANDROID_TARGET_ARCH/bin/mybinary INSTALLS += mybinary 2. At app first start, copy it to the cache folder and run it from there. Since Android 10, this scheme is not working anymore (https://developer.android.com/about/versions/10/behavior-changes-10#execute-permission): "Untrusted apps that target Android 10 cannot invoke exec() on files within the app's home directory. This execution of files from the writable app home directory is a W^X violation. Apps should load only the binary code that's embedded within an app's APK file." So, is there a way to include it into APK so I can launch it from there? I'm using Qt 5.12.10. -------------- next part -------------- An HTML attachment was scrubbed... URL: From megiddgit at gmail.com Mon Dec 28 10:30:08 2020 From: megiddgit at gmail.com (Megidd Git) Date: Mon, 28 Dec 2020 13:00:08 +0330 Subject: [Interest] Using undo stack for a command which is running asynchronously and is emitting signals Message-ID: Hi! ☺ Can anybody take a look at this question: https://stackoverflow.com/q/65475435/3405291 Thanks! 😃 -------------- next part -------------- An HTML attachment was scrubbed... URL: From yue.nicholas at gmail.com Tue Dec 29 17:36:07 2020 From: yue.nicholas at gmail.com (Nicholas Yue) Date: Tue, 29 Dec 2020 08:36:07 -0800 Subject: [Interest] Qt 6.0.0 build on Windows 10 - Perl related error ? Message-ID: Hi, Has anyone come across this error ? I have build 6.0.0 on Windows 10 on a different machine (with nvidia card and drivers) successfully, now I am rebuilding on a new Windows 10 machine (hardware different, no nvidia card hence using the OpenGL shipped with Windows), I am using the same Strawberry Perl version. [3691/5680] Generating prl file for target QuickWidgets FAILED: qtdeclarative/src/quickwidgets/preliminary_prl_for_QuickWidgets_step2_Release.prl cmd.exe /C "cd /D C:\Users\yueni\projects\Qt\6.0.0\build\qtdeclarative\src\quickwidgets && C:\Users\yueni\Applications\cmake\cmake-3.19.2-win64-x64\bin\cmake.exe -DIN_FILE=C:/Users/yueni/projects/Qt/6.0.0/build/qtdeclarative/src/quickwidgets/preliminary_prl_for_QuickWidgets_step1_Release.prl -DIN_META_FILE=C:/Users/yueni/projects/Qt/6.0.0/build/qtdeclarative/src/quickwidgets/preliminary_prl_meta_info_for_QuickWidgets_Release.txt -DOUT_FILE=C:/Users/yueni/projects/Qt/6.0.0/build/qtdeclarative/src/quickwidgets/preliminary_prl_for_QuickWidgets_step2_Release.prl -DLIBRARY_PREFIXES= -DLIBRARY_SUFFIXES=.dll;.lib -DLINK_LIBRARY_FLAG= -DQT_LIB_DIRS=C:/Users/yueni/projects/Qt/6.0.0/build/qtbase/lib;C:/Users/yueni/projects/Qt/6.0.0/build/qtbase/lib -P C:/Users/yueni/projects/Qt/6.0.0/qt-everywhere-src-6.0.0/qtbase/cmake/QtFinishPrlFile.cmake" CMake Error at C:/Users/yueni/projects/Qt/6.0.0/qt-everywhere-src-6.0.0/qtbase/cmake/QtFinishPrlFile.cmake:91 (configure_file): No error [3692/5680] Generating prl file for target QuickWidgets [3693/5680] Building CXX object qtdeclarative\src\plugins\qmltooling\qmldbg_inspector\CMakeFiles\QQmlInspectorServiceFactory.dir\Release\highlight.cpp.obj [3694/5680] Building CXX object qtdeclarative\src\plugins\qmltooling\qmldbg_inspector\CMakeFiles\QQmlInspectorServiceFactory.dir\Release\qqmlinspectorservice.cpp.obj [3695/5680] Building CXX object qtdeclarative\src\plugins\qmltooling\qmldbg_inspector\CMakeFiles\QQmlInspectorServiceFactory.dir\Release\globalinspector.cpp.obj [3696/5680] Building CXX object qtdeclarative\src\qmltest\CMakeFiles\QuickTest.dir\Release\quicktest.cpp.obj ninja: build stopped: subcommand failed. Cheers -- Nicholas Yue Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows http://au.linkedin.com/in/nicholasyue https://vimeo.com/channels/naiadtools -------------- next part -------------- An HTML attachment was scrubbed... URL: From cagnulein at gmail.com Tue Dec 29 18:37:52 2020 From: cagnulein at gmail.com (cagnulein) Date: Tue, 29 Dec 2020 18:37:52 +0100 Subject: [Interest] BTLE: Service Changed on iOS Message-ID: Hi everyone, i'm trying to understand a strange behavior about iOS and BTLE. I'm developing an application that use peripheral bluetooth role and it works fine on android and iOS too. Now i would like to implement the Service changed indication. On Android works fine, instead on iOS, the device stops to advertise any services. These are the lines of codes: { QLowEnergyCharacteristicData charData; charData.setUuid(QBluetoothUuid::CharacteristicType::ServiceChanged); charData.setProperties(QLowEnergyCharacteristic::Indicate); const QLowEnergyDescriptorData cpClientConfig (QBluetoothUuid::ClientCharacteristicConfiguration, QByteArray(2, 0)); charData.addDescriptor(cpClientConfig); serviceDataChanged.setType(QLowEnergyServiceData::ServiceTypePrimary); serviceDataChanged.setUuid (QBluetoothUuid::ServiceClassUuid::GenericAttribute); serviceDataChanged.addCharacteristic(charData); } //! [Start Advertising] leController = QLowEnergyController::createPeripheral(); Q_ASSERT(leController); serviceChanged = leController->addService(serviceDataChanged); Do you have any idea? Is this feature enabled on iOS? Thanks Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud -------------- next part -------------- An HTML attachment was scrubbed... URL: From giuseppe.dangelo at kdab.com Tue Dec 29 19:00:28 2020 From: giuseppe.dangelo at kdab.com (Giuseppe D'Angelo) Date: Tue, 29 Dec 2020 19:00:28 +0100 Subject: [Interest] Qt 6.0.0 build on Windows 10 - Perl related error ? In-Reply-To: References: Message-ID: <4fafcb86-e62a-62c5-fb21-dd9560a7f71f@kdab.com> Il 29/12/20 17:36, Nicholas Yue ha scritto: >   Has anyone come across this error ? I have build 6.0.0 on Windows 10 > on a different machine (with nvidia card and drivers) successfully, now > I am rebuilding on a new Windows 10 machine (hardware different, no > nvidia card hence using the OpenGL shipped with Windows), I am using the > same Strawberry Perl version. Can't help you with the actual error, but notice that PRL files have nothing to do with Perl -- they're qmake files used to describe libraries. (CMake is generating them for your build, so that code using Qt can still build using qmake.) My 2 c, -- Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - The Qt, C++ and OpenGL Experts -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4329 bytes Desc: Firma crittografica S/MIME URL: From till.oliver.knoll at gmail.com Wed Dec 30 12:33:25 2020 From: till.oliver.knoll at gmail.com (Till Oliver Knoll) Date: Wed, 30 Dec 2020 12:33:25 +0100 Subject: [Interest] Rebuilding cmake project (in Qt Creator) fails - build directories write-protected? Message-ID: <18ed2154-296c-219f-20a3-9f407f97bdec@gmail.com> Dear all, It's been a while since I asked my last question here - or posted anything meaningful, for that matter - so first of all "Hello!" and "Merry Christmas / Holidays" :) I have started a new Qt 5.15.2 (open source) project on Windows 10 (due to a dependency on Flight Simulator 2020, specifically SimConnect.dll ;)), and since Qt 6 will default to cmake (as I understand) I also chose cmake in the Qt Creator 4.14.0. *The problem: *"rebuilding" (QtCreator: "Build/Rebuild All Projects") the project fails when trying to generate the translation *.ts files respectively the correspoding "list" (?) file: FAILED: C:/dev/Qt/MainWindow/MainWindow_de_DE.ts CMakeFiles/MainWindow_de_DE.ts_lst_file cmd.exe /C "cd /D C:\dev\Qt\build-MainWindow-Desktop_Qt_5_15_2_MinGW_64_bit-Debug && C:\Qt\5.15.2\mingw81_64\bin\lupdate.exe @C:/dev/Qt/build-MainWindow-Desktop_Qt_5_15_2_MinGW_64_bit-Debug/CMakeFiles/MainWindow_de_DE.ts_lst_file -ts C:/dev/Qt/MainWindow/MainWindow_de_DE.ts" lupdate error: List file 'C:/dev/Qt/build-MainWindow-Desktop_Qt_5_15_2_MinGW_64_bit-Debug/CMakeFiles/*MainWindow_de_DE.ts_lst_file' is not readable.* ninja: build stopped: subcommand failed. Initially I thought that this is yet another issue with whitespace in the build path, but that's not the case (I now moved it from c:/Users/Oliver Knoll/work/... to c:/dev/Qt/work/... - that is, no spaces in path anymore). However I noticed that some directories in the "build" directory (c:/dev/Qt/build-MainWindow-Desktop_...) have the "Write Protected" flag set: .cmake CMakeFiles MainWindow_autogen The Windows 10 "Properties" dialog says: "Write-Protected (only concerns files in the directory)" (or similar, in German: "Schreibgeschützt (betrifft nur Dateien im Ordner). So when trying to manually delete those folders a dialog pops up asking me for administrator rights, and when I click on Continue (with admin rights) then another dialog tells me that I need the corresponding access rights from user "Oliver Knoll" - well, that's exactly my user (with admin rights). However I can "cd" into the remaining directories and delete all files without problems, and after that I can delete the entire build folder at last. Back in Qt Creator a CTRL + B (Build Project "MainWindow") then re-builds the project again. Another - proper? - solution, in Qt Creator (all in "Build" menu): * Clean Project "MainWindow" * Clear CMake Configuration (at that point the subdirectory .cmake/api/v1/query (and reply) still remains, plus 3 "ninja" related files and cmake_install.cmake) * Run CMake * Rebuild Project "MainWindow" It works, but... really? 4 steps instead of just one? Is that the proper "CMake way" (I am totally new to CMake) to rebuild a project from scratch? The above example refers to a simple "MainWindow" project setup in Qt Creator as follows: * New File Or Project * Qt Widgets Application * Name: MainWindow (any name) * Build System: CMake * Default classes/files, including Generate form * Add any translation language * Default Qt Kit: Qt 5.15.2 MinGW 64-bit * No version control The above experiments were done with the default generated CMakeLists.txt. *Development environment:* * Qt 5.15.2 Open Source * QtCreator 4.14.0 * CMake 3.19.0 (installed via Qt Installer) * Windows 10 2004 (all updates installed) * Except the MS FS2020 SDK (SimConnect.dll) there are no other developer tools installed (specifically no other CMake, no Visual Studio, no other compilers etc.) * "Default Windows Home installation" (one user - Oliver Knoll - with admin rights; yes, it's a "gaming machine" ;)) *Other: * * Most likely not relevant, but: it is a "Windows To Go" installation (created/installed via tool "WinToUSB"), installed on an external SSD (which is connected to a Mac ;)) The full compilation error during a "Rebuild" (without clearing the CMake configuration): 12:02:08: Running steps for project MainWindow... 12:02:08: Starting: "C:\Qt\Tools\CMake_64\bin\cmake.exe" --build . --target clean [1/2 54.3/sec] Cleaning additional files... [2/2 83.6/sec] Cleaning all built files... Cleaning... 0 files. 12:02:08: The process "C:\Qt\Tools\CMake_64\bin\cmake.exe" exited normally. 12:02:08: Starting: "C:\Qt\Tools\CMake_64\bin\cmake.exe" --build . --target all [1/6 2.7/sec] Automatic MOC and UIC for target MainWindow [2/6 5.1/sec] Generating C:/dev/Qt/MainWindow/MainWindow_de_DE.ts FAILED: C:/dev/Qt/MainWindow/MainWindow_de_DE.ts CMakeFiles/MainWindow_de_DE.ts_lst_file cmd.exe /C "cd /D C:\dev\Qt\build-MainWindow-Desktop_Qt_5_15_2_MinGW_64_bit-Debug && C:\Qt\5.15.2\mingw81_64\bin\lupdate.exe @C:/dev/Qt/build-MainWindow-Desktop_Qt_5_15_2_MinGW_64_bit-Debug/CMakeFiles/MainWindow_de_DE.ts_lst_file -ts C:/dev/Qt/MainWindow/MainWindow_de_DE.ts" lupdate error: List file 'C:/dev/Qt/build-MainWindow-Desktop_Qt_5_15_2_MinGW_64_bit-Debug/CMakeFiles/MainWindow_de_DE.ts_lst_file' is not readable. ninja: build stopped: subcommand failed. 12:02:09: The process "C:\Qt\Tools\CMake_64\bin\cmake.exe" exited with code 1. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 203 bytes Desc: OpenPGP digital signature URL: From jhihn at gmx.com Wed Dec 30 17:34:57 2020 From: jhihn at gmx.com (Jason H) Date: Wed, 30 Dec 2020 17:34:57 +0100 Subject: [Interest] Rebuilding cmake project (in Qt Creator) fails - build directories write-protected? In-Reply-To: <18ed2154-296c-219f-20a3-9f407f97bdec@gmail.com> References: <18ed2154-296c-219f-20a3-9f407f97bdec@gmail.com> Message-ID: An HTML attachment was scrubbed... URL: From james.delisle at qt.io Thu Dec 31 15:29:04 2020 From: james.delisle at qt.io (James DeLisle) Date: Thu, 31 Dec 2020 14:29:04 +0000 Subject: [Interest] Rebuilding cmake project (in Qt Creator) fails - build directories write-protected? In-Reply-To: References: <18ed2154-296c-219f-20a3-9f407f97bdec@gmail.com> Message-ID: Hi, There are some on-going peculiarities with CMake and translation files, as evidenced here: https://bugreports.qt.io/browse/QTBUG-76410 While maybe not directly related to your issue, would still be good to keep in mind as you decipher your problem. Happy New Year! James From: Interest on behalf of Jason H Date: Wednesday, December 30, 2020 at 11:37 AM To: Till Oliver Knoll Cc: Qt Project Subject: Re: [Interest] Rebuilding cmake project (in Qt Creator) fails - build directories write-protected? I don't have any specific knowlege, but if it were me, I would check Sysinternals diskmon and see where/whow/who is setting the read-only flag. (Asuming I checked and the flad is actually set) Also likely - there is a process in that directory that is preventing deletion and windows is not reporting it accurately. I've not used windows in a while but I remember it being picky about such things. Sent: Wednesday, December 30, 2020 at 6:33 AM From: "Till Oliver Knoll" To: "Qt Project" Subject: [Interest] Rebuilding cmake project (in Qt Creator) fails - build directories write-protected? Dear all, It's been a while since I asked my last question here - or posted anything meaningful, for that matter - so first of all "Hello!" and "Merry Christmas / Holidays" :) I have started a new Qt 5.15.2 (open source) project on Windows 10 (due to a dependency on Flight Simulator 2020, specifically SimConnect.dll ;)), and since Qt 6 will default to cmake (as I understand) I also chose cmake in the Qt Creator 4.14.0. The problem: "rebuilding" (QtCreator: "Build/Rebuild All Projects") the project fails when trying to generate the translation *.ts files respectively the correspoding "list" (?) file: FAILED: C:/dev/Qt/MainWindow/MainWindow_de_DE.ts CMakeFiles/MainWindow_de_DE.ts_lst_file cmd.exe /C "cd /D C:\dev\Qt\build-MainWindow-Desktop_Qt_5_15_2_MinGW_64_bit-Debug && C:\Qt\5.15.2\mingw81_64\bin\lupdate.exe @C:/dev/Qt/build-MainWindow-Desktop_Qt_5_15_2_MinGW_64_bit-Debug/CMakeFiles/MainWindow_de_DE.ts_lst_file -ts C:/dev/Qt/MainWindow/MainWindow_de_DE.ts" lupdate error: List file 'C:/dev/Qt/build-MainWindow-Desktop_Qt_5_15_2_MinGW_64_bit-Debug/CMakeFiles/MainWindow_de_DE.ts_lst_file' is not readable. ninja: build stopped: subcommand failed. Initially I thought that this is yet another issue with whitespace in the build path, but that's not the case (I now moved it from c:/Users/Oliver Knoll/work/... to c:/dev/Qt/work/... - that is, no spaces in path anymore). However I noticed that some directories in the "build" directory (c:/dev/Qt/build-MainWindow-Desktop_...) have the "Write Protected" flag set: .cmake CMakeFiles MainWindow_autogen The Windows 10 "Properties" dialog says: "Write-Protected (only concerns files in the directory)" (or similar, in German: "Schreibgeschützt (betrifft nur Dateien im Ordner). So when trying to manually delete those folders a dialog pops up asking me for administrator rights, and when I click on Continue (with admin rights) then another dialog tells me that I need the corresponding access rights from user "Oliver Knoll" - well, that's exactly my user (with admin rights). However I can "cd" into the remaining directories and delete all files without problems, and after that I can delete the entire build folder at last. Back in Qt Creator a CTRL + B (Build Project "MainWindow") then re-builds the project again. Another - proper? - solution, in Qt Creator (all in "Build" menu): * Clean Project "MainWindow" * Clear CMake Configuration (at that point the subdirectory .cmake/api/v1/query (and reply) still remains, plus 3 "ninja" related files and cmake_install.cmake) * Run CMake * Rebuild Project "MainWindow" It works, but... really? 4 steps instead of just one? Is that the proper "CMake way" (I am totally new to CMake) to rebuild a project from scratch? The above example refers to a simple "MainWindow" project setup in Qt Creator as follows: * New File Or Project * Qt Widgets Application * Name: MainWindow (any name) * Build System: CMake * Default classes/files, including Generate form * Add any translation language * Default Qt Kit: Qt 5.15.2 MinGW 64-bit * No version control The above experiments were done with the default generated CMakeLists.txt. Development environment: * Qt 5.15.2 Open Source * QtCreator 4.14.0 * CMake 3.19.0 (installed via Qt Installer) * Windows 10 2004 (all updates installed) * Except the MS FS2020 SDK (SimConnect.dll) there are no other developer tools installed (specifically no other CMake, no Visual Studio, no other compilers etc.) * "Default Windows Home installation" (one user - Oliver Knoll - with admin rights; yes, it's a "gaming machine" ;)) Other: * Most likely not relevant, but: it is a "Windows To Go" installation (created/installed via tool "WinToUSB"), installed on an external SSD (which is connected to a Mac ;)) The full compilation error during a "Rebuild" (without clearing the CMake configuration): 12:02:08: Running steps for project MainWindow... 12:02:08: Starting: "C:\Qt\Tools\CMake_64\bin\cmake.exe" --build . --target clean [1/2 54.3/sec] Cleaning additional files... [2/2 83.6/sec] Cleaning all built files... Cleaning... 0 files. 12:02:08: The process "C:\Qt\Tools\CMake_64\bin\cmake.exe" exited normally. 12:02:08: Starting: "C:\Qt\Tools\CMake_64\bin\cmake.exe" --build . --target all [1/6 2.7/sec] Automatic MOC and UIC for target MainWindow [2/6 5.1/sec] Generating C:/dev/Qt/MainWindow/MainWindow_de_DE.ts FAILED: C:/dev/Qt/MainWindow/MainWindow_de_DE.ts CMakeFiles/MainWindow_de_DE.ts_lst_file cmd.exe /C "cd /D C:\dev\Qt\build-MainWindow-Desktop_Qt_5_15_2_MinGW_64_bit-Debug && C:\Qt\5.15.2\mingw81_64\bin\lupdate.exe @C:/dev/Qt/build-MainWindow-Desktop_Qt_5_15_2_MinGW_64_bit-Debug/CMakeFiles/MainWindow_de_DE.ts_lst_file -ts C:/dev/Qt/MainWindow/MainWindow_de_DE.ts" lupdate error: List file 'C:/dev/Qt/build-MainWindow-Desktop_Qt_5_15_2_MinGW_64_bit-Debug/CMakeFiles/MainWindow_de_DE.ts_lst_file' is not readable. ninja: build stopped: subcommand failed. 12:02:09: The process "C:\Qt\Tools\CMake_64\bin\cmake.exe" exited with code 1. _______________________________________________ Interest mailing list Interest at qt-project.org https://lists.qt-project.org/listinfo/interest -------------- next part -------------- An HTML attachment was scrubbed... URL: From till.oliver.knoll at gmail.com Thu Dec 31 15:55:49 2020 From: till.oliver.knoll at gmail.com (Till Oliver Knoll) Date: Thu, 31 Dec 2020 15:55:49 +0100 Subject: [Interest] Rebuilding cmake project (in Qt Creator) fails - build directories write-protected? In-Reply-To: References: <18ed2154-296c-219f-20a3-9f407f97bdec@gmail.com> Message-ID: <0504ee9c-62f1-3f1d-4cb5-30192a5df09a@gmail.com> Am 30.12.20 um 17:34 schrieb Jason H: > I don't have any specific knowlege, but if it were me, I would check > Sysinternals diskmon and see where/whow/who is setting the read-only > flag. (Asuming I checked and the flad is actually set) Thank you for your quick reply. Before I dig deeper I first wanted to check whether other people have already encountered this "archive flag / cannot re-generate source files with cmake" issue as well, or whether this is just "how cmake is supposed to work" (-> also clear the cmake "configuration / build files" before a complete rebuild). And sorry if this is getting off-topic (I am aware that this is possibly more a cmake related question than Qt), but since cmake is (going to be) the default build system in Qt 6 (replacing good ol' qmake *sniff* ;)) I thought it may be worthwile to ask here. > Also likely - there is a process in that directory that is preventing > deletion and windows is not reporting it accurately. I've not used > windows in a while but I remember it being picky about such things. Yes, I initially was also suspecting some "rogue cmake process" which was still holding "locks" on certain build files. But checking in the process monitor ("Task Manager") I did not find any suspicious process after a build had completed (related to cmake) - at least not my name (no running / sleeping process had "cmake" in its name). I can live with the fact that I also need to clear the cmake project files, as "rebuilding from scratch" is not something that I do regularly (more so in order to check whether the project "still builds from scratch"), so I am not inclined to dig any deeper for now. Unless someone stumbled over the same issue... And yes, I intend to "outsource" the Windows specific code into a plugin which is optionally build (= only on Windows, obviously), so I can switch my "main development" back to Mac / Linux ;) Many thanks & Happy New Year!   Oliver -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 203 bytes Desc: OpenPGP digital signature URL: From till.oliver.knoll at gmail.com Thu Dec 31 16:02:02 2020 From: till.oliver.knoll at gmail.com (Till Oliver Knoll) Date: Thu, 31 Dec 2020 16:02:02 +0100 Subject: [Interest] Rebuilding cmake project (in Qt Creator) fails - build directories write-protected? In-Reply-To: References: <18ed2154-296c-219f-20a3-9f407f97bdec@gmail.com> Message-ID: Am 31.12.20 um 15:29 schrieb James DeLisle: > > There are some on-going peculiarities with CMake and translation > files, as evidenced here: > > https://bugreports.qt.io/browse/QTBUG-76410 > > Thanks for your reply! In fact, the problem is not only related to translation files (but it occurs there first during a build). In fact, I "commented out" the generation of translation (*.ts) files and the problem also occured later on during a "rebuild" (at least with my actual project). I believe that some process is trying to re-generate certain cmake related "build files", or to re-create the output ("bin") directory or the like. But since some process sets the "archive" flag on certain (all?) cmake related directories the build process may fail to first delete and then re-generate the folders in question. It is just curious that a "Clear Cmake Configuration" (?) actually works (from within Qt Creator). Whatever... maybe it works next year :) Happy New Year to you, too!  Oliver -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 203 bytes Desc: OpenPGP digital signature URL: From james.delisle at qt.io Thu Dec 31 16:46:25 2020 From: james.delisle at qt.io (James DeLisle) Date: Thu, 31 Dec 2020 15:46:25 +0000 Subject: [Interest] Using undo stack for a command which is running asynchronously and is emitting signals In-Reply-To: References: Message-ID: <8027CA66-1B61-4B2C-8DEE-39F01E635E32@qt.io> Hi, Composition seems to be a reasonable approach. Please check the newest answer. Best, James From: Interest on behalf of Megidd Git Date: Monday, December 28, 2020 at 4:33 AM To: "interest at qt-project.org" Subject: [Interest] Using undo stack for a command which is running asynchronously and is emitting signals Hi! ☺ Can anybody take a look at this question: https://stackoverflow.com/q/65475435/3405291 Thanks! 😃 -------------- next part -------------- An HTML attachment was scrubbed... URL: From roland at logikalsolutions.com Fri Dec 18 14:32:06 2020 From: roland at logikalsolutions.com (Roland Hughes) Date: Fri, 18 Dec 2020 13:32:06 -0000 Subject: [Interest] Digest sending emails every 10 minutes or so In-Reply-To: References: <0c23b980-ab43-6ffa-403f-5858f8603d00@logikalsolutions.com> Message-ID: <453d4277-a16d-c3f1-9c46-01872625b9e3@logikalsolutions.com> One of the SPAM issues might have been my earlier message when I linked the page for Blue Fish editor to innocently point someone to the editor I seemed to remember using to "fix" corrupted UI files.  I did not know that the editor had a mailing list and said mailing list was on the SPAML offenders list for being "insecure" or something like that. It might also be because it is a list that comes out without an Unsubscribe link at the bottom. I don't know if it is SPAML or one of the others, but that is quick becoming an international SPAM standard for mailing lists. Mail from the list must include an "unsubscribe" link at the bottom. Not just instructions, but a link. This is really breaking an awful lot of lists. Many lists traditionally operate in the manner of this one. We can directly reply to someone and maybe copy the list. The list moderator may or may not choose to include the email in the digest email that goes out. That runs afoul of this new rule in three ways. 1) None of our personal email clients automatically include an "unsubscribe" link for the list when we reply yet our subject line indicates list content by beginning with "Re: [Interest]" 2) The "unsubscribe" information for out list isn't a link at the bottom. It is a URL near the top. 3) This list is TEXT ONLY. It cannot include an html unsubscribe link. Btw. Everyone who sets their email client to default to HTML creates lovely content in both the digest and the archive. -------------- next part -------------- An HTML attachment was scrubbed... URL: ------------------------------ Part of your Gmail issue is fallout from this July 5th article. https://www.forbes.com/sites/gordonkelly/2020/07/05/google-gmail-serious-problem-spam-filter-broken-gmail-update/?sh=24c513b53e04 Google has a rather long info post here on how to try to stay out of the SPAM box. https://support.google.com/mail/answer/81126?hl=en Unlike ordinary email hosts, Gmail users trigger spam additions. When you have some Web services provider (or your own hosted server) for MyCompany.com, end users with an email client marking messages as SPAM have no impact on your email server. That client for that user routes messages for that sender to a SPAM box. Google mines your Gmail. Initially you marking something as SPAM in your Gmail acts just like an ordinary Thunderbird user. Only you consider it SPAM. But Google mines your account for information. Once N users (nobody outside of Google knows the exact formula) have marked a sender as a SPAM generator, the sender goes on the SPAM list. From what little I've read, I "think" the only way to get off a user induced SPAM list is for J said users to mark as not-SPAM who previously marked as spam. If you dig around you will find this is the logic to the "unsubscribe" link at the bottom SPAM filter. Too many of today's users won't cut and paste a link into a browser and follow instructions to unsubscribe. Instead they mark it as SPAM and it continues to take up "space in the ether." Many will however, click a link. Most have been conditioned to look for said links at the bottom. Part of this is the modern social media companies wanting to push out the last vestiges of Usenet era text only mailing lists. You can't push auto-loading ad content in text messages. Some, for a time, perhaps still, auto-play videos/commercials on the same page as the legit content people want. You can obtain good free ad-blocker software for Mozilla Firefox, but I have yet to see good free ad-blocker plug-ins that can actually block that kind of inside-of-the-legit-message SPAM. For a time the Interest Digest was going into the SPAM folder per my new hosting service. I don't have the link now, but they use a weighted average for 5 databases/service though I believe the "enable" checkbox still says Spam Assassin. I had to white-list it to stop that from happening. I suspect everyone here will need to do that in the near future. There is a concerted effort to push text only mailing lists into the history books along with punched cards and 8" floppies. On 12/18/20 6:54 AM, Narolewski Jakub wrote: > For some reason I also started getting them directly to the SPAM > folder on my GMall account. > From interest, dev but not from qt-creator MLs > > pon., 14 gru 2020 o 07:14 Roland Hughes > napisał(a): > > Messages are really short. Some have just one short email in them. > This > isn't the typical size problem caused by people pasting build > output and > others just replying to the email without trimming. > > -- > Roland Hughes, President > Logikal Solutions > (630)-205-1593 > > http://www.theminimumyouneedtoknow.com > http://www.infiniteexposure.net > http://www.johnsmith-book.com > http://www.logikalblog.com > http://www.interestingauthors.com/blog > > _______________________________________________ > Interest mailing list > Interest at qt-project.org > https://lists.qt-project.org/listinfo/interest > -- Roland Hughes, President Logikal Solutions (630)-205-1593 http://www.theminimumyouneedtoknow.com http://www.infiniteexposure.net http://www.johnsmith-book.com http://www.logikalblog.com http://www.interestingauthors.com/blog -------------- next part -------------- An HTML attachment was scrubbed... URL: