Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt 5.13 brokes development



  • After unsuccessful experiments with Qt 5.13.0 I sought return to development of my current project with Qt 5.9.6. I selected all previously used settings - Android NDK r12b, GCC compiler and all previously used parts. I rebuild all subprojects making shared libraries for my current project. I worked with it week ago and all was Ok. But now in attempt build Android APK - I've got the error message:

    make: *** No rule to make target `install'. Stop.

    WHAT???? WHAT THE HELL IS GOING ON????!!!

    This project did NOT change. All settings in it are the same as they were week ago. I only installed Qt 5.13 near but did not use it for this project - I tried make my old published apps with 5.13 to satisfy Google's August requirements. But this project I DID NOT TOUCH. It is not yet completed.

    I am finally disappointed... Digia not only created non-working Qt 5.13 but it's installation brokes development of projects on previous Qt versions. I do not have other words for this...



  • @Gourmet

    for Qt 5.9 read here https://doc.qt.io/qt-5/android-getting-started.html
    Note: Using Qt for Android with the GCC toolchain requires Android NDK version r10e. For Qt 5.12 or later, use the latest available version of NDK with android-clang toolchain.

    @Gourmet said in Qt 5.13 brokes development:

    I am finally disappointed... Digia not only created non-working Qt 5.13 but it's installation brokes development of projects on previous Qt versions. I do not have other words for this...

    It is not called Digia anymore. It is The Qt Company



  • @koahnig I created, debugged and published on Google Play 21 apps with Qt 5.9.6 and Android NDK r12b. They give me money. Your suggestion to read is inappropriate.

    @koahnig said in Qt 5.13 brokes development:

    It is The Qt Company

    May be better if it still would be called Digia...



  • Even my app desktop x86 Linux version became broken. I cannot make binary file. Week ago I made it and debugged successfully. Now I get linker error messages. But NOTHING changed in this project. Looks like qmake works differently. It gives me one more strange behavior.


  • Lifetime Qt Champion

    @Gourmet said in Qt 5.13 brokes development:

    Your suggestion to read is inappropriate

    It isn't. What @koahnig means is that for Qt versions >= 5.12 you need a NDK with CLang not GCC.
    " I selected all previously used settings - Android NDK r12b, GCC compiler".

    "Now I get linker error messages" - if you post actual errors maybe you get some help here. Also, did you rerun qmake and rebuild (better to delete build folder to make sure to not to have any object files from old builds)?



  • @jsulm said in Qt 5.13 brokes development:

    It isn't. What @koahnig means is that for Qt versions >= 5.12 you need a NDK with CLang not GCC.
    " I selected all previously used settings - Android NDK r12b, GCC compiler".

    NO. IT IS. Read more carefully and pay more attention while reading - I tried build my app with Qt 5.9.6 as I did it week ago. Of course with GCC compiler as it worked week ago.

    But now, after installation of Qt 5.13.0 it DOES NOT work.

    @jsulm said in Qt 5.13 brokes development:

    did you rerun qmake and rebuild (better to delete build folder to make sure to not to have any object files from old builds)?

    Not only I deleted previous build folder - but new build folder name looks different to previous. Old (made week ago) build path included version code:

    Android_armeabi_v7a_GCC_4_9_Qt_Qt_5_9_6_for_Android_armv7

    now it includes version code:

    Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_6_for_Android_armv7_0b1bb7

    That means - different scripts are used for build of older apps after Qt 5.13.0 installation.

    That means - Qt 5.13.0 installation broke development of my apps.

    Linker errors are common - some unknown names inside shared object. That means - linking uses different paths in comparison to previous builds.

    Now I have waste time to clearly remove Qt 5.13.0 and restore workstation without backups. I believed to Qt team therefore did not make system backup before 5.13 installation. But somebody too much smart disabled remove installed QtCreator 4.9.2 - there is no such option in mew Maintenance Tool. I have to remove it manually.


  • Lifetime Qt Champion

    @Gourmet You wrote: "I selected all previously used settings - Android NDK r12b, GCC compiler and all previously used parts". That means you selected GCC as compiler to use with Qt 5.13?

    Not making backups is your own fault, not one of Qt developers.

    I can understand that such problems are frustrating, but your attitude is not helpful at all...



  • @jsulm said in Qt 5.13 brokes development:

    That means you selected GCC as compiler to use with Qt 5.13?

    Of course NO. You have lost the sentence before:
    "I sought return to development of my current project with Qt 5.9.6."


  • Lifetime Qt Champion

    @Gourmet OK, then I misunderstood what you wrote.



  • I removed Qt 5.13.0 completely from workstation, then removed Qt 5.9.6 and then installed it again. But QtCreator 4.6.2 started with it's previous settings - that means it keeps them in other folder instead of installation. I tried build application for Android - all my shared libraries were build successfully. But then process stopped with message

    make: *** No rule to make target `install'.  Stop.
    17:41:36: The process "/opt/android-ndk-r12b/prebuilt/linux-x86_64/bin/make" exited with code 2.
    Error while building/deploying project Application (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.9.6 for Android armv7))
    When executing step "Copy application data"
    

    This is the same as when I started this thread. How to completely clean system after Qt removal? It must do not have any Qt footprints before I will first start newly installed. I have no other ideas what other I can do.



  • @Gourmet

    Do you have also NDK r10e on your machine?

    If yes, give it a try. The documentation says that one shall use NDK r10e before Qt 5.12. That reflects my experience. Presumably there was an updating issue of makefiles and you might think that you have used NDK r12b, but you were not.
    I had a similar issue but on windows. The ndk was not what I intended to have.

    Otherwise I suggest to update to Qt 5.12 and one of the newest NDKs available. That should work in your case. Starting Qt5.12 the compiler changed which explains the requirement for different NDKs.

    My application may be compiled for Qt5.11 with NDK r10e or Qt5.12 with a newer version. The only nuisances are the recompilation and the change of the NDK is a bit awkward.



  • @koahnig said in Qt 5.13 brokes development:

    Do you have also NDK r10e on your machine?

    No, never had and will not. I have only NDK r12b on my Linux workstation (I already removed r19c). Please do not waste my time more with this. I used NDK r12b for application development through entire last year. And it worked perfectly. At past fall I created and published all my apps with it. Week ago I built and debugged my new app with it. Now the problem relates NOT to NDK version. It appeared after Qt 5.13 installation and does NOT relate to NDK version. The problem is with Qt itself. Attempt to use other NDK will be just time loose action.

    Next time if you do not know answer to my question - do not write anything about NDK. Now I need clean workstation from Qt installation completely and reinstall all as I did year ago.



  • For others who knows well Linux development with modern Qt versions - is that enough to remove folders ~/.config/QtProject and ~/.local/share/data/QtProject/qtcreator and files related to Nokia, Trolltech in folder .config and .local/applications?

    Are there any other Qt footprints in the Linux file system (excluding installation ~/Qt path)?



  • Phew... Finally I cleaned up workstation from all Qt footprints, installed 5.9.6 from scratch, tuned it for NDK r12b and it now works again. At least my new app builds, installs and runs on test smartphone.

    But I will not mark this thread as SOLVED - I will do this only after newest Qt 5.1?.x will work for me.

    To not start new thread I will ask here - Does Qt 5.12.x exactly work with QtCreator 4.6.2 for Android? This question is asked to those who really used it and created apps. Which one NDK should be used? How tune QtCreator for clang toolchain in Linux? QtCreator 4.6.2 doesn't catch it automatically.



  • @Gourmet
    I didn't use such an old version of qt creator with Qt 5.12.x, and honestly don't see a reason why anyone should. As the versions go up, it should be normal to update what you use, to technologically not fall behind.

    Now for what I am sure of:
    For Qt 5.12.4 you need NDK 19c
    To get clang support, all you need to do is update to Qt creator 4.9.x ( I'm using 4.9.1 and it works without issues), If you must use 4.6.2, I can't help you there.
    The full setup:
    open JDK 1.8.1u212
    NDK 19c
    SDK 28 ( even tho Qt creator says 26.1.1 under Device>Android info)
    Qt creator 4.9.1
    Qt 5.12.4 armv7 and arm64
    With this you shouldn't have any issues to build for android, both 32 and 64 bit, at least the part that's up to Qt. Regarding code difference from 5.9.x and 5.12.x I can't say for sure, depends what you used, but updating parts of it is inevitable.



  • @Wiru said in Qt 5.13 brokes development:

    @Gourmet
    I didn't use such an old version of qt creator with Qt 5.12.x, and honestly don't see a reason why anyone should.

    Reason is simple - QtCreator 4.9.x does not work on Linux Kubuntu 14.04 which I use for development. That was confirmed to me by Qt team member. I do not have time for upgrade entire system - for me it is absolutely enough apply fixes and patches. I will able for upgrade only at fall. And this will eat my time for vacations.



  • @Gourmet That's another issue. You are using an OS version that's 5 years old.
    Honestly I don't understand what you expected. The quickest way would be to just leave your current pc/laptop as is and set up all new versions on a different one, if it works cool, if not fallback to old one till you have more time to bother with stuff that should have been done before.



  • @Wiru Kubuntu 14.04 is LTS. That means it must be supported during 5 years from publishing. Another issue is - Qt Company did not warn me about OS ending support period. I just forget about it... Quickest way is - set one more HDD to same computer, install Kubuntu 19.04 and add it to GRUB multiboot table. But this is not a quick way... It requires installation of many other needed programs, not only Qt.


  • Lifetime Qt Champion

    @Gourmet said in Qt 5.13 brokes development:

    Qt Company did not warn me about OS ending support

    https://doc.qt.io/qtcreator/creator-os-supported-platforms.html
    "That means it must be supported during 5 years from publishing" - we are already past 5 years. Also, it's Canonical who promises 5 years support, not Qt Company.


  • Moderators

    @Gourmet said in Qt 5.13 brokes development:

    set one more HDD to same computer, install Kubuntu 19.04 and add it to GRUB multiboot table.

    Virtual machines make life much easier than this. VMWare Player and VirtualBox are free. No need to add a HDD (unless you have no more space), and no need to change GRUB.

    It requires installation of many other needed programs, not only Qt.

    Which other programs?



  • @jsulm said in Qt 5.13 brokes development:

    Also, it's Canonical who promises 5 years support, not Qt Company.

    It is common practise - when head company supports OS then all other companies support it too. When head company stops - all other warn users about stop too.

    @JKSH said in Qt 5.13 brokes development:

    Which other programs?

    Graphical editors, 3D animation software, sound processing software and so on. I am self employed developer therefore I do all tasks by my own - draw and process still images, render animations, compose and edit videos, make needed sounds. I write documentation in different formats and languages.


  • Moderators

    @Gourmet said in Qt 5.13 brokes development:

    It is common practise - when head company supports OS then all other companies support it too.

    Qt 5.13.0 was released more than 5 years after Ubuntu 14.04.

    When head company stops - all other warn users about stop too.

    See the link that @jsulm gave you: https://doc.qt.io/qtcreator/creator-os-supported-platforms.html

    See also https://doc.qt.io/qt-5/supported-platforms.html

    Graphical editors, 3D animation software, sound processing software and so on. I am self employed developer therefore I do all tasks by my own - draw and process still images, render animations, compose and edit videos, make needed sounds. I write documentation in different formats and languages.

    You can keep using those software on your Kubuntu 14.04 host PC for now, and just do your compilation and deployment in a newer Virtual Machine. Use a Shared Folder to easily share files between the two machines.



  • @JKSH as I see in supported platforms for Android I can use RHEL 7.x (x86_64), macOS 10.13, Windows 7 (x86_64). No (K)Ubuntu???????!!!!! What the??? Most popular desktop Linux cannot be used for development???? I work with Debian branch since 1996. Now I should install and get be in other distribution and file system structure. This looks like a HUGE MISTAKE! Debian brahch MUST be supported.


  • Lifetime Qt Champion

    The page listing the supported platform for Qt 5.13.0 shows:

    openSUSE 15.x x86_64 GCC 7, ICC
    Red Hat Enterprise Linux 7.x x86_64 GCC 5.3.1 devtoolset-4
    Ubuntu 18.04 x86_64 GCC as provided by Canonical, GCC 7.3.0
    Ubuntu 16.04 x86_64 GCC as provided by Canonical, GCC 5.4.0
    Generic Linux x86 and x86_64 GCC 4.8, GCC 4.9, GCC 5, GCC 6, GCC 7

    for the Linux flavors



  • @Gourmet said in Qt 5.13 brokes development:

    No (K)Ubuntu???????!!!!! What the??? Most popular desktop Linux cannot be used for development????

    Show where KUbuntu is the most popular? Ubuntu yes, KUbuntu no.

    While it's true that Ubuntu 14.04 has LTS for the OS. I don;t think you can rely on that to mean that versions of third-party products, like Qt, are supported for versions released after that OS. Only for the version of Qt which was released with Ubuntu 14.04, whatever that was.



  • @JonB said in Qt 5.13 brokes development:

    Show where KUbuntu is the most popular? Ubuntu yes, KUbuntu no.

    (K)Ubuntu means Ubuntu+Kubuntu. As development platform they have no significant difference.

    @JonB said in Qt 5.13 brokes development:

    Only for the version of Qt which was released with Ubuntu 14.04, whatever that was.

    This doesn't matter. Even Ubuntu 19.04 is not in the recommended list for Android Qt5 development. This is miserable.


  • Lifetime Qt Champion

    I understand that you might be frustrated by the troubles you had these last days but currently you are showing bad faith.

    The systems listed for Android are the oldest that can be used to develop for that OS. What is shown in bold are the reference platform which means:

    The reference configurations are run on the continuous integration (CI) system within Qt Project. In addition, they are subjected to unit test suite and other internal testing tools on a frequent basis (prior to new version releases, source tree branching, and at other significant period points in the development process). Errors or bugs discovered in these platforms are prioritized for correction. Significant errors discovered in tested configurations can impact release dates.
    
    Any configurations not listed above are not actively tested by the Qt Project. However, Qt may run on configurations other than those actively tested on, and additional configurations may be raised to tested state, if sufficient effort is made to bring continuous integration to an acceptable state for that particular configuration.
    
    The Qt Company, Qt partners, open source projects and community users are able to provide assistance with various different supported platforms and configurations.
    

    Nothing stops you from running Ubuntu 19.04 to develop for Android.



  • @SGaist said in Qt 5.13 brokes development:

    Nothing stops you from running Ubuntu 19.04 to develop for Android.

    The Debian Linux branch including (K)Ubuntu is different from Red Hat (RHEL) branch in many details. If Qt5 development for Android in Ubuntu was not tested by Qt5 team - that means I will not make my applications. But I will do perform this testing instead. Without "firm" testing and OS support confirmation I cannot be sure in anything. What if I will get same error message like I have got in my Kubuntu 14.04 when building with Qt 5.13? Application just does not build with message "no .pro file". This happiness when APK assembling starts. Which one .pro file is absent? Why it is absent? Why it is present when I build with Qt 5.9.6? What if I will get the same error in Kubuntu 19.04??? Then if I will ask about help - I will get reasonable answer from Qt Company: "Ubuntu is not listed in OSes on which Android app building was tested". Period.



  • @Gourmet

    Most responses to you are trying to give you proper references to documentation. In contrast are your responses which contain mostly complaining and what is not done correctly by others or Qt company or are otherwise rude.

    @Gourmet said in Qt 5.13 brokes development:

    Next time if you do not know answer to my question - do not write anything about NDK. Now I need clean workstation from Qt installation completely and reinstall all as I did year ago.

    Since you are apparently knowing answers to your questions which you are only accepting, you shall preformulate those in order to streamline our responses to your liking. That would make live on both sides easier.

    In most culture your nickname implies that there is a person with high cultural standards regarding food and beverages. Possibly you can map such high standards also to this forum.

    @Gourmet said in Qt 5.13 brokes development:
    What if I will get the same error in Kubuntu 19.04??? Then if I will ask about help - I will get reasonable answer from Qt Company: "Ubuntu is not listed in OSes on which Android app building was tested". Period.

    If you paid for licenses to Qt company you are certainly entitled to get proper responses from them. However, this is the community forum driven by user's on their own spare time. The Qt company is providing the platform for the forum, but they are not driving it. For paying users is another platform available with Qt company employees answering your questions.



  • Is here anybody who already made working Android apps with Qt 5.12 or 5.13 on (K)Ubuntu platform?

    Others please do not answer - you posts are be useless.


Log in to reply