Solved: Toolchain Match Qt Creator



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


  • Moderators

    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:



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


  • Lifetime Qt Champion

    Hi,

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



  • 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


  • Lifetime Qt Champion

    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 ?



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


  • Lifetime Qt Champion

    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



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



  • 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



  • 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


  • Lifetime Qt Champion

    Hi and welcome to devnet,

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


  • Lifetime Qt Champion

    Hi and welcome to devnet,

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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.