[Interest] clean project dependencies
Hi, I've got a project that has dependencies. These dependencies have their own .pri file. Most of these dependencies are just libraries that are built using another IDE-generated makefile. I want these dependencies to be cleaned when I clean or rebuild my project using QtCreator. I have no problem performing a full rebuild from the command line as I sequence the clean instructions in the correct order. The problem is to trigger a full rebuild from the GUI using a single click. Note that when I build the project, the dependencies are correctly built. The problem is to clean them when I want to. Basically, I want to detect « I asked to clean » and trigger a « make clean » in the dependencies. I failed to find a solution and I spent a couple of hours playing with qmake « hidden » features with no luck so far. I'm sure there is a simple, qmake idiomatic, way of doing this, no ? Best regards, Stanislas ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest
Re: [Interest] No implementation found for boolean org.qtproject.qt5.android.QtNative.startQtAndroidPlugin
Hi, You have to diff templates bundled with the two Qt versions and integrate manually the differences in the xml of your project. May not fix your case, though. Stanislas Le 11/09/2020 à 11:53, Alexander Dyagilev a écrit : There is no such a feature. It just completely overwrites manifest so I loose everything and my project gets broken even more. It's not an update On 9/11/2020 9:59 AM, ekke wrote: Have you tried to update your templates ? Project - Android - Build - Create Templates ekke Am 11.09.20 um 05:42 schrieb Alexander Dyagilev: Hello, I'm trying to build and run my project under Qt 5.15.1. The app crashes on start with the following output: E loadmanager.fd: No implementation found for boolean org.qtproject.qt5.android.QtNative.startQtAndroidPlugin(java.lang.String, java.lang.String) (tried Java_org_qtproject_qt5_android_QtNative_startQtAndroidPlugin and Java_org_qtproject_qt5_android_QtNative_startQtAndroidPlugin__Ljava_lang_String_2Ljava_lang_String_2) E AndroidRuntime: FATAL EXCEPTION: qtMainLoopThread Qt 5.12.9 works fine. I suspect there some changes in androidmanifest.xml are required. Failed to google which ones... Any help? ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest
Re: [Interest] Qt with latest Android SDK
Le 26/09/2018 à 12:17, Igor Mironchik a écrit : Hi, On 26.09.2018 13:12, Stanislas RENAN wrote: Hi, Have you followed these steps ? Sure. Good. In particular, what is the version of your NDK ? 18.0.5002713 Not good. https://developer.android.com/ndk/downloads/revision_history Check the procedure again for missed steps. Use r10e unless you know why you don't. http://doc.qt.io/qt-5/androidgs.html Regards, Stanislas RENAN Le 26/09/2018 à 11:20, Igor Mironchik a écrit : Hello, I'm on Linux, installed latest Android SDK and NDK, trying to build project for Android... 12:17:30: Running steps for project Pro... 12:17:30: Starting: "/home/igor/Qt/5.11.2/android_armv7/bin/qmake" /home/igor/Work/Projects/pro/Pro.pro -spec android-g++ CONFIG+=debug CONFIG+=qml_debug clang++: error: unknown argument: '-mthumb-interwork' Project ERROR: failed to parse default search paths from compiler output 12:17:30: The process "/home/igor/Qt/5.11.2/android_armv7/bin/qmake" exited with code 3. Error while building/deploying project Pro (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.11.2 for Android ARMv7)) When executing step "qmake" 12:17:30: Elapsed time: 00:00. What is it? Why clang++? Thank you. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Qt with latest Android SDK
Hi, Have you followed these steps ? In particular, what is the version of your NDK ? http://doc.qt.io/qt-5/androidgs.html Regards, Stanislas RENAN Le 26/09/2018 à 11:20, Igor Mironchik a écrit : Hello, I'm on Linux, installed latest Android SDK and NDK, trying to build project for Android... 12:17:30: Running steps for project Pro... 12:17:30: Starting: "/home/igor/Qt/5.11.2/android_armv7/bin/qmake" /home/igor/Work/Projects/pro/Pro.pro -spec android-g++ CONFIG+=debug CONFIG+=qml_debug clang++: error: unknown argument: '-mthumb-interwork' Project ERROR: failed to parse default search paths from compiler output 12:17:30: The process "/home/igor/Qt/5.11.2/android_armv7/bin/qmake" exited with code 3. Error while building/deploying project Pro (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.11.2 for Android ARMv7)) When executing step "qmake" 12:17:30: Elapsed time: 00:00. What is it? Why clang++? Thank you. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] QML int not big enough
Hi, Le 15/09/2018 à 22:30, Jason H a écrit : Item { property int now: 0 // will be new Date().getTime() // milliseconds since epoch is 64 bit property var now: new Date().getTime() // this gives me a parning of "use int or real to improve performance (M311) } How can I use the right type and not get the warning? Why not use real as the warning says ? propertyrealnow:newDate().getTime() Do not store the 64 bit value in an int as it overflows (getTime() returns around 1537084902522 right now). http://doc.qt.io/qt-5/qml-int.html https://stackoverflow.com/questions/25709429/qt-qml-int-overflow Best regards, -- Stanislas RENAN ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Can't debug on Android device anymore
Hi, If you found a solution, would you please consider documenting it in this bug ? https://bugreports.qt.io/browse/QTCREATORBUG-20403 Note that the problem occurs on several building platforms, not only on macOS. Stanislas RENAN Le 11 juin 2018 19:50:15 GMT+02:00, "Jérôme Godbout" a écrit : >I also had to trash the build folder, reboot the system after all >update. Reopen the Qt Creator and rebuild the solution to make this >work on my side. > > > >From: Interest on >behalf of John Weeks >Sent: June 11, 2018 1:04 PM >To: interest >Subject: Re: [Interest] Can't debug on Android device anymore > >Yes. My recollection is that it happened when I upgraded Xcode and the >Xcode command line tools. I think I resolved it by shutting down >Creator, trashing the built application bundle and the build folders. >You might even want to restart your computer. It's also possible that >all that is a red herring and that I solved it accidentally in some way >that I can't recall :) > >-John Weeks > >> On Jun 11, 2018, at 6:56 AM, René Hansen wrote: >> >> Hi, >> >> >> Has anyone else starting seeing this error, when trying to run in >debug mode on device? >> >> "Can't find C++ debugger." >> >> It seems to have started just recently and I haven't made any changes >to my ndk afaict. >> >> QtCreator 4.6.2 on macOS. >> >> >> /René >> ___ >> Interest mailing list >> Interest@qt-project.org >> http://lists.qt-project.org/mailman/listinfo/interest > >___ >Interest mailing list >Interest@qt-project.org >http://lists.qt-project.org/mailman/listinfo/interest -- Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest