Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt 5.13 brokes development
Qt 6.12 LTS is out! See what's new in the release blog

Qt 5.13 brokes development

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
30 Posts 7 Posters 8.3k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jsulmJ jsulm

    @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...

    G Offline
    G Offline
    Gourmet
    wrote on last edited by Gourmet
    #8

    @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."

    jsulmJ 1 Reply Last reply
    0
    • G Gourmet

      @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."

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #9

      @Gourmet OK, then I misunderstood what you wrote.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • G Offline
        G Offline
        Gourmet
        wrote on last edited by
        #10

        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.

        K 1 Reply Last reply
        0
        • G Gourmet

          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.

          K Offline
          K Offline
          koahnig
          wrote on last edited by
          #11

          @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.

          Vote the answer(s) that helped you to solve your issue(s)

          G 1 Reply Last reply
          1
          • K koahnig

            @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.

            G Offline
            G Offline
            Gourmet
            wrote on last edited by Gourmet
            #12

            @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.

            1 Reply Last reply
            -1
            • G Offline
              G Offline
              Gourmet
              wrote on last edited by Gourmet
              #13

              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)?

              1 Reply Last reply
              0
              • G Offline
                G Offline
                Gourmet
                wrote on last edited by Gourmet
                #14

                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.

                W 1 Reply Last reply
                0
                • G Gourmet

                  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.

                  W Offline
                  W Offline
                  Wiru
                  wrote on last edited by Wiru
                  #15

                  @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.

                  1 Reply Last reply
                  3
                  • G Offline
                    G Offline
                    Gourmet
                    wrote on last edited by Gourmet
                    #16

                    @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.

                    W 1 Reply Last reply
                    0
                    • G Gourmet

                      @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.

                      W Offline
                      W Offline
                      Wiru
                      wrote on last edited by
                      #17

                      @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.

                      G 1 Reply Last reply
                      2
                      • W Wiru

                        @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.

                        G Offline
                        G Offline
                        Gourmet
                        wrote on last edited by
                        #18

                        @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.

                        jsulmJ JKSHJ 2 Replies Last reply
                        0
                        • G Gourmet

                          @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.

                          jsulmJ Offline
                          jsulmJ Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on last edited by
                          #19

                          @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.

                          https://forum.qt.io/topic/113070/qt-code-of-conduct

                          G 1 Reply Last reply
                          4
                          • G Gourmet

                            @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.

                            JKSHJ Offline
                            JKSHJ Offline
                            JKSH
                            Moderators
                            wrote on last edited by
                            #20

                            @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?

                            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                            1 Reply Last reply
                            2
                            • jsulmJ jsulm

                              @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.

                              G Offline
                              G Offline
                              Gourmet
                              wrote on last edited by Gourmet
                              #21

                              @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.

                              JKSHJ 1 Reply Last reply
                              0
                              • G Gourmet

                                @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.

                                JKSHJ Offline
                                JKSHJ Offline
                                JKSH
                                Moderators
                                wrote on last edited by
                                #22

                                @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.

                                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                                G 1 Reply Last reply
                                1
                                • JKSHJ JKSH

                                  @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.

                                  G Offline
                                  G Offline
                                  Gourmet
                                  wrote on last edited by Gourmet
                                  #23

                                  @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.

                                  JonBJ 1 Reply Last reply
                                  0
                                  • SGaistS Offline
                                    SGaistS Offline
                                    SGaist
                                    Lifetime Qt Champion
                                    wrote on last edited by SGaist
                                    #24

                                    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

                                    Interested in AI ? www.idiap.ch
                                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                    1 Reply Last reply
                                    1
                                    • G Gourmet

                                      @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.

                                      JonBJ Offline
                                      JonBJ Offline
                                      JonB
                                      wrote on last edited by JonB
                                      #25

                                      @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.

                                      G 1 Reply Last reply
                                      0
                                      • JonBJ JonB

                                        @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.

                                        G Offline
                                        G Offline
                                        Gourmet
                                        wrote on last edited by Gourmet
                                        #26

                                        @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.

                                        1 Reply Last reply
                                        0
                                        • SGaistS Offline
                                          SGaistS Offline
                                          SGaist
                                          Lifetime Qt Champion
                                          wrote on last edited by
                                          #27

                                          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.

                                          Interested in AI ? www.idiap.ch
                                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                          G 1 Reply Last reply
                                          2

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt
                                          • Unsolved