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. Problem getting qt and qtcreator installed on arm system

Problem getting qt and qtcreator installed on arm system

Scheduled Pinned Locked Moved Mobile and Embedded
8 Posts 3 Posters 2.1k 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.
  • W Offline
    W Offline
    weaver3
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • cybercatalystC Offline
      cybercatalystC Offline
      cybercatalyst
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • W Offline
        W Offline
        weaver3
        wrote on last edited by
        #3

        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: http://download.qt.io/archive/qt/4.8/4.8.6/

        I followed the instructions given here: http://doc.qt.io/qt-4.8/qt-embedded-install.html
        ./configure -embedded arm -little-endian
        make
        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.

        1 Reply Last reply
        0
        • cybercatalystC Offline
          cybercatalystC Offline
          cybercatalyst
          wrote on last edited by cybercatalyst
          #4

          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.

          1 Reply Last reply
          0
          • W Offline
            W Offline
            weaver3
            wrote on last edited by
            #5

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

            1 Reply Last reply
            0
            • cybercatalystC Offline
              cybercatalystC Offline
              cybercatalyst
              wrote on last edited by cybercatalyst
              #6

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

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

                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

                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
                • W Offline
                  W Offline
                  weaver3
                  wrote on last edited by
                  #8

                  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.

                  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