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 10 Oct 2018, 18:25 last edited by voytech 10 Oct 2018, 18:25
    #3

    @SGaist

    • 5.12.0
    • by MaintenanceTool
    • elementaryOS
    • Android GCC (C++, i686-49)
    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 10 Oct 2018, 19:31 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 11 Oct 2018, 15:32
      1
      • S SGaist
        10 Oct 2018, 19:31

        You're cross-compiling for Android ?

        If so, which NDK did you install ?

        V Offline
        V Offline
        voytech
        wrote on 11 Oct 2018, 15:32 last edited by voytech 10 Nov 2018, 16:18
        #5

        @SGaist
        android-ndk-r18-linux-x86_64

        I also have Android Studio installed

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 11 Oct 2018, 20:14 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 12 Oct 2018, 15:02
          1
          • S SGaist
            11 Oct 2018, 20:14

            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 12 Oct 2018, 15:02 last edited by
            #7

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

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 12 Oct 2018, 19:38 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 12 Oct 2018, 20:36
              1
              • S SGaist
                12 Oct 2018, 19:38

                Did you nuke the build folder after changing the NDK ?

                V Offline
                V Offline
                voytech
                wrote on 12 Oct 2018, 20:36 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
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 12 Oct 2018, 20:44 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 12 Oct 2018, 20:48
                  0
                  • S SGaist
                    12 Oct 2018, 20:44

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

                    V Offline
                    V Offline
                    voytech
                    wrote on 12 Oct 2018, 20:48 last edited by voytech 10 Dec 2018, 20:50
                    #11

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

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 12 Oct 2018, 21:14 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

                      12/12

                      12 Oct 2018, 21:14

                      • Login

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