Important: Please read the Qt Code of Conduct -

Problem getting qt and qtcreator installed on arm system

  • I am trying to install QT on a Solid-Run Hummingboard (CuBox) which uses a Freescale imx6 Arm Processor.

    I have installed QT and QT creator.

    But every project I create wants to do project that runs on a remote device.

    I think this has something to do with the Qt Version that I am using. I have it set up right now to use the QT 4.8.6 on /usr/local/Trolltech/QtEmbedded-4.8..6-arm/bin/qmake which I think is the problem.

    But when I use /usr/bin/qmake-qt4 it says the "Qt version is not properly installed, please run make install". I am guessing that this is because the creator is bassed on QT 4.8.2.

    I don't understand why qt-everywhere-opensource-src-4.8.6.tar.gz does not set up qtcreator and all the tools together. Is there some place I can find the source for the qtcreator that works with this version?

    So what am I doing that is wrong here? I simply want to install qt 4.8.6 along with qtcreator and run it locally to make local executables, no cross compiling needed.

  • Without describing what you have done step by step in detail there next to no chance to help you. Please describe your detailed setup, which Qt versions you installed in in which order, and when you have installed QtCreator etc. You did not even tell us which operating system etc.

  • I am running Debian on the ARM processor. I am using xfce as the desktop and all of the commands below were executed on this machine; no cross compiling.

    I downloaded: qt-everywhere-opensource-src-4.8.6.tar.gz from here:

    I followed the instructions given here:
    ./configure -embedded arm -little-endian
    sudo make install

    I then use this to install qtcreator:
    sudo apt-get install qtcreator
    This says it install Qt Creator 2.5.0 Based on Qt 4.8.2

    I changed my path to include /usr/local/Trolltech/QtEmbedded-4.8.6-arm/bin

    In Options->Build & Run->Tool Chains I installed /usr/bin/gcc ; this seemed to go OK.

    In Options->Build & Run->Version I installed /usr/local/Trolltech/QtEmbedded-4.8.6-arm/bin/qmake
    This seemed to install OK, but it always wanted to make a build for a remote device.

    In Options->Build & Run->Version I tried to install the one for the desktop /usr/bin/qmake-qt4 but it gives a error icon and says "Qt version is not properly installed, please run make install". But it does show version Qt 4.8.2 the same one as qtcreator.

  • I was also running a similar setup on an Olimex (also ARM) and I did not need Qt embedded, I rather installed the "normal" Qt for arm from sources. Can you try that?

    I have to say that I am running Ubuntu 14.10 there with Qt5, so that may be different. Are you 100% sure you need the embedded version and not the normal version compiled for ARM?

    I cannot find obvious mistakes besides the experience I mentioned above.

  • I did a quick search and could not find "normal" Qt for arm. Can you tell me where to download it from?

  • I installed mine through apt. Otherwise I guess you would need to download the sources and compile for yourself (or crosscompile, since I guess it would take pretty long on an ARM device).

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Since you are already running everything on your device, you can also compile your Qt 4.8.6 like you would on a desktop. Just remove the embedded configuration switch

  • I found once I uninstalled the RemoteLinux plugin things started going more smoothly. Once that was uninstalled I reloaded the tools and I was able to proceed.

Log in to reply