Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Solved: Toolchain Match Qt Creator
QtWS25 Last Chance

Solved: Toolchain Match Qt Creator

Scheduled Pinned Locked Moved Qt Creator and other tools
13 Posts 4 Posters 6.5k Views
  • 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.
  • S Offline
    S Offline
    sting
    wrote on last edited by
    #1

    I'm struggling with this and it must be I don't really understand. I assume that each version of Qt Creator requires a specific version of the libraries. Is there a way of knowing ahead of time which library I need to go with a specific version of Qt Creator. I'm just trying to see if this can do what I think I want and can't seem to get started. Any help would be appreciated.

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi,

      [quote]I assume that each version of Qt Creator requires a specific version of the libraries.[/quote]No, one version of Qt Creator can handle multiple versions of Qt libraries. See:

      • "Adding Qt Versions":http://qt-project.org/doc/qtcreator-3.0/creator-project-qmake.html
      • "Adding Kits":http://qt-project.org/doc/qtcreator-3.0/creator-targets.html

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

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sting
        wrote on last edited by
        #3

        I attempted to follow the directions but I am not really sure what a mkspec is.

        My Qt Version has a warninf a warning symbol with an exclamation mark in it. It claims ABI detection failed: Make sure to use a matching compiler when building.

        My Kit failed with a stop sign with the exclaimation mark. The message is, Mkspec not found for Qt Version.

        I am using a toolchain with the qte libraries built in. I ran the script that is supposed to set the environment up for qt but for some reason Qt can't see the environment.

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

          Hi,

          What version of Qt are you trying to use ? What compilers have you installed ?

          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
          • S Offline
            S Offline
            sting
            wrote on last edited by
            #5

            I downloaded this version of Qt:

            qt-opensource-linux-x64-1.05.01-online.run
            help->about for QtCreator it is 4.6.1 with GCC 4.6.1

            and this toolchain:

            angstrom-2011.03-x86_64-linux-armv7a-linux-gnueabi-toolchain-qte-4.6.3.tar.bz2

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

              Pretty old to say the least, does the script you use to setup the environment modify your system configuration or just the current terminal ?

              Did you build you cross-compile Qt already ?

              Also, are you locked to that old version of Qt ?

              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
              • S Offline
                S Offline
                sting
                wrote on last edited by
                #7

                I am not stuck on anything at this point. I haven't programmed in c or c++ for over 10 years so I am working to come up to speed there at the same time. For a long time I have staid at a higher level like java.

                I don't know if I have the environment to build the cross compiled qt myself. I was hoping for a smaller step.

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

                  Then you should really consider either 5.2.1 or 4.8 depending on your needs.

                  Get your hands on that first and then go embedded

                  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
                  • S Offline
                    S Offline
                    sting
                    wrote on last edited by
                    #9

                    The Qt on my machine is

                    Qt Creator 3.0.1
                    based on Qt 5.2.1 (GCC 4.6.1)

                    The cross compiled toolkit has qte 4.6.3 built with the 2011 linux-arm compiler.

                    I am going to remove all od the links I have put in to this toolchain and install a desktop toolchain and get it to build then move to the linux-arm solution.

                    Thanks for your help.

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

                      Hello aodh, sgaist

                      did you solved your problem? I got the same

                      Qt Creator 3.0.1
                      based on Qt 5.2.1 (GCC 4.6.1)

                      and the

                      angstrom-2011.03-x86_64-linux-armv7a-linux-gnueabi-toolchain-qte-4.6.3.tar.bz2

                      and same warning symbol with an exclamation mark in it. It claims ABI detection failed: Make sure to use a matching compiler when building. The details are:

                      Name:
                      Qt 4.6.3 (arm)
                      ABI:
                      unknown-unknown-unknown-unknown-unknown
                      Source:
                      /usr/local/angstrom/arm
                      mkspec:
                      linux-gnueabi-oe-g++
                      qmake:
                      /usr/local/angstrom/arm/bin/qmake2
                      Version:
                      4.6.3
                      QMAKE_VERSION
                      2.01a

                      Any idea?
                      Thanks

                      1 Reply Last reply
                      0
                      • G Offline
                        G Offline
                        gosouth
                        wrote on last edited by
                        #11

                        Hello aodh, sgaist

                        did you solved your problem? I got the same

                        Qt Creator 3.0.1
                        based on Qt 5.2.1 (GCC 4.6.1)

                        and the

                        angstrom-2011.03-x86_64-linux-armv7a-linux-gnueabi-toolchain-qte-4.6.3.tar.bz2

                        and same warning symbol with an exclamation mark in it. It claims ABI detection failed: Make sure to use a matching compiler when building. The details are:

                        Name:
                        Qt 4.6.3 (arm)
                        ABI:
                        unknown-unknown-unknown-unknown-unknown
                        Source:
                        /usr/local/angstrom/arm
                        mkspec:
                        linux-gnueabi-oe-g++
                        qmake:
                        /usr/local/angstrom/arm/bin/qmake2
                        Version:
                        4.6.3
                        QMAKE_VERSION
                        2.01a

                        Any idea?
                        Thanks

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

                          Hi and welcome to devnet,

                          Check the compilers panel in Build and Run, does your cross-compiler appear there ?

                          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
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #13

                            Hi and welcome to devnet,

                            Check the compilers panel in Build and Run, does your cross-compiler appear there ?

                            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