Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. "Qt Quick Application - Empty" compile error
Forum Updated to NodeBB v4.3 + New Features

"Qt Quick Application - Empty" compile error

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
12 Posts 2 Posters 1.7k Views 2 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.
  • V Offline
    V Offline
    voytech
    wrote on last edited by voytech
    #3

    @SGaist

    • 5.12.0
    • by MaintenanceTool
    • elementaryOS
    • Android GCC (C++, i686-49)
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #4

      You're cross-compiling for Android ?

      If so, which NDK did you install ?

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

      V 1 Reply Last reply
      1
      • SGaistS SGaist

        You're cross-compiling for Android ?

        If so, which NDK did you install ?

        V Offline
        V Offline
        voytech
        wrote on last edited by voytech
        #5

        @SGaist
        android-ndk-r18-linux-x86_64

        I also have Android Studio installed

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

          r18 did come with a lot of modification that made 3dparty fail to build. Either use the version recommend by the documentation (i.e. r10e) or version 17 at this time which seems to be usable.

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

          V 1 Reply Last reply
          1
          • SGaistS SGaist

            r18 did come with a lot of modification that made 3dparty fail to build. Either use the version recommend by the documentation (i.e. r10e) or version 17 at this time which seems to be usable.

            V Offline
            V Offline
            voytech
            wrote on last edited by
            #7

            @SGaist
            Changing to r10e didn't fix the problem, errors are the same.

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

              Did you nuke the build folder after changing the NDK ?

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

              V 1 Reply Last reply
              1
              • SGaistS SGaist

                Did you nuke the build folder after changing the NDK ?

                V Offline
                V Offline
                voytech
                wrote on last edited by
                #9

                @SGaist
                New error:

                Project ERROR: Cannot run target compiler '.../android-ndk-r10e/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++'. Output:
                ===================
                /bin/sh: 1: .../android-ndk-r10e/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++: not found
                ===================
                Maybe you forgot to setup the environment?
                Error while parsing file .../someProject.pro. Giving up.
                

                This is toolchains directory:
                0_1539376560621_Screenshot from 2018-10-12 22.28.59.png

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

                  Did you fiddle with the settings ? You should be using gcc.

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

                  V 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Did you fiddle with the settings ? You should be using gcc.

                    V Offline
                    V Offline
                    voytech
                    wrote on last edited by voytech
                    #11

                    @SGaist
                    No, I didn't. So, how to repair this?

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

                      Check your Qt for Android Kit to see what compiler is selected and change to gcc

                      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
                      0

                      • Login

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