Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Manually added qmake weird version
Forum Updated to NodeBB v4.3 + New Features

Manually added qmake weird version

Scheduled Pinned Locked Moved Solved Installation and Deployment
15 Posts 3 Posters 3.2k 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.
  • F Offline
    F Offline
    Fifkie
    wrote on last edited by
    #1

    So i'm working on a embedded project for Raspberry Pi with eglfs.

    When i'm adding everything needed in Qt Creator for cross-compilation the Qt-version i added somehow says it's Qt-version is 5.8.1 so i get an error that says "No compiler can produce code for this Qt version."

    I have been following the guide at https://wiki.qt.io/RaspberryPi2EGLFS .
    Only difference, just to try, is that i changed the version from 5.6 to 5.8 when getting QtBase.

    I can't see how i've even got the 5.8.1 since, to my knowledge, that version isn't even released, but i might be wrong.

    How can i get either the 5.8.0 through "git clone git://code.qt.io/qt/qtbase.git -b 5.8" command or 5.8.1 for linux desktop so i can compile for it.

    Hope i gave enough info.

    Thanks in advance!

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

      Hi and welcome to devnet,

      Since 5.8.0 is officially out, when you build the 5.8 branch you'll be building what might become 5.8.1.

      Did you also add the cross-compiler to Qt Creator known compilers ?

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

      F 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Since 5.8.0 is officially out, when you build the 5.8 branch you'll be building what might become 5.8.1.

        Did you also add the cross-compiler to Qt Creator known compilers ?

        F Offline
        F Offline
        Fifkie
        wrote on last edited by
        #3

        Hi, thanks!

        Yes, as per the tutorial. Though i'm new to Qt and the tutorial is a bit outdated so i'm not sure if i missed anything.
        Qt-version: http://pasteboard.co/3repkRR1P.png
        Compilers: http://pasteboard.co/3resw3SUL.png

        Thanks

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

          Your RPi gcc looks misconfigured on the ABI part.

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

          F 1 Reply Last reply
          0
          • SGaistS SGaist

            Your RPi gcc looks misconfigured on the ABI part.

            F Offline
            F Offline
            Fifkie
            wrote on last edited by
            #5

            I have fiddled around with the ABI with no success. I'm not sure what it should be set to.

            Just to try, i have now installed the exact version that the tutorial wants you to.
            the thing is that version says 5.6.3, even though to my knowledge it should be 5.6.2.
            So i got the same error there.

            Compilers: http://pasteboard.co/yBF2QZTSa.png
            Qt versions: http://pasteboard.co/yBF2QZTSa.png

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

              It should rather be something like arm linux gnu eabihf or similar.

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

              F 1 Reply Last reply
              0
              • SGaistS SGaist

                It should rather be something like arm linux gnu eabihf or similar.

                F Offline
                F Offline
                Fifkie
                wrote on last edited by
                #7

                That does not seem possible.
                For the 4th option the options available is: elf, mach_o, pe, qml_rt and unknown.

                I have another problem as well, it doesn't find the qt quick module. I have read that i need to install qtxmlpatterns and qtdeclarative and i have, i think, but it wont work, does not seem to link the libraries. I just tried it because i want to develop with qt quick control 2. And i an able to compile via the terminal when it comes to widgets but not qt quick.

                jsulmJ 1 Reply Last reply
                0
                • F Fifkie

                  That does not seem possible.
                  For the 4th option the options available is: elf, mach_o, pe, qml_rt and unknown.

                  I have another problem as well, it doesn't find the qt quick module. I have read that i need to install qtxmlpatterns and qtdeclarative and i have, i think, but it wont work, does not seem to link the libraries. I just tried it because i want to develop with qt quick control 2. And i an able to compile via the terminal when it comes to widgets but not qt quick.

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

                  @Fifkie elf should be fine.
                  Are you sure 64bit is going to work?

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

                  F 2 Replies Last reply
                  0
                  • jsulmJ jsulm

                    @Fifkie elf should be fine.
                    Are you sure 64bit is going to work?

                    F Offline
                    F Offline
                    Fifkie
                    wrote on last edited by
                    #9

                    @jsulm Good!
                    The Raspberry Pi 3, that im building for, is 64bit, but i have tried to change it to 32bit with no change to the error in the qt version tab.

                    jsulmJ 1 Reply Last reply
                    0
                    • F Fifkie

                      @jsulm Good!
                      The Raspberry Pi 3, that im building for, is 64bit, but i have tried to change it to 32bit with no change to the error in the qt version tab.

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

                      @Fifkie As far as I know its CPU supports 64bit, but the system is still 32bit, right?

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

                      1 Reply Last reply
                      0
                      • jsulmJ jsulm

                        @Fifkie elf should be fine.
                        Are you sure 64bit is going to work?

                        F Offline
                        F Offline
                        Fifkie
                        wrote on last edited by
                        #11

                        @jsulm You are right that it should be 32bit, but I still get the "no compiler can produce code for this Qt version"-error.

                        jsulmJ 1 Reply Last reply
                        0
                        • F Fifkie

                          @jsulm You are right that it should be 32bit, but I still get the "no compiler can produce code for this Qt version"-error.

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

                          @Fifkie Is it the exact same compiler which you used to build Qt?
                          Did you select the correct Qt version in the Kit?

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

                          F 1 Reply Last reply
                          0
                          • jsulmJ jsulm

                            @Fifkie Is it the exact same compiler which you used to build Qt?
                            Did you select the correct Qt version in the Kit?

                            F Offline
                            F Offline
                            Fifkie
                            wrote on last edited by
                            #13

                            @jsulm i found that the compiler the tutorial said to use and the one qmake points at wasn't the same. when i changed it to the same as qmake the qt version error goes away, but i still can't compile.

                            I get " /home/christian/raspi/sysroot/usr/lib/arm-linux-gnueabihf/libicui18n.so.52:-1: error: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8' "

                            jsulmJ 1 Reply Last reply
                            0
                            • F Fifkie

                              @jsulm i found that the compiler the tutorial said to use and the one qmake points at wasn't the same. when i changed it to the same as qmake the qt version error goes away, but i still can't compile.

                              I get " /home/christian/raspi/sysroot/usr/lib/arm-linux-gnueabihf/libicui18n.so.52:-1: error: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8' "

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

                              @Fifkie Looks like this one: https://forum.qt.io/topic/76024/cross-compile-from-ubuntu-desktop-to-raspberry-pi-2/6

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

                              F 1 Reply Last reply
                              0
                              • jsulmJ jsulm

                                @Fifkie Looks like this one: https://forum.qt.io/topic/76024/cross-compile-from-ubuntu-desktop-to-raspberry-pi-2/6

                                F Offline
                                F Offline
                                Fifkie
                                wrote on last edited by
                                #15

                                @jsulm Thanks! i'll continue there!

                                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