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 when building Qt 5.5 for ARM926
Forum Updated to NodeBB v4.3 + New Features

Problem when building Qt 5.5 for ARM926

Scheduled Pinned Locked Moved Solved Mobile and Embedded
9 Posts 2 Posters 2.8k Views 1 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.
  • T Offline
    T Offline
    tankist
    wrote on last edited by
    #1

    I tried to buid Qt 5.5 for ARM. This is a log of my configuration:

    tankist@ubuntu-12-04:~/qt/build-dir$ /home/tankist/qt/src_dir/configure -release -xplatform linuxfb:fb=/dev/fb0 -device linux-arm-gnueabi-g++ -device-option CROSS_COMPILE=/home/tankist/arago/arago-2011.09/armv5te/bin/arm-arago-linux-gnueabi- -sysroot $ROOTFS -skip qtconnectivity -skip qt3d -skip qtandroidextras -skip qtcanvas3d -skip qtquick1 -skip qtquickcontrols -skip qtwebchannel -skip qtwebengine -skip qtwebkit -skip qtwebkit-examples -skip qtwebsockets -skip qtwinextras -skip qtx11extras -nomake examples -nomake tests -prefix /home/tankist/qt/install_dir

    • cd qtbase
    • /home/tankist/qt/src_dir/qtbase/configure -top-level -release -xplatform linuxfb:fb=/dev/fb0 -device linux-arm-gnueabi-g++ -device-option CROSS_COMPILE=/home/tankist/arago/arago-2011.09/armv5te/bin/arm-arago-linux-gnueabi- -sysroot -skip qtconnectivity -skip qt3d -skip qtandroidextras -skip qtcanvas3d -skip qtquick1 -skip qtquickcontrols -skip qtwebchannel -skip qtwebengine -skip qtwebkit -skip qtwebkit-examples -skip qtwebsockets -skip qtwinextras -skip qtx11extras -nomake examples -nomake tests -prefix /home/tankist/qt/install_dir
      /home/tankist/qt/src_dir/configure: 49: exec: /home/tankist/qt/src_dir/qtbase/configure: not found
      tankist@ubuntu-12-04:~/qt/build-dir$

    Why it can't see my file 'configure' in the /home/tankist/qt/src_dir/qtbase directory?

    This is a structure of directories:
    ~/qt/build_dir
    ~/qt/install_dir
    ~/qt/src_dir

    My sources situated in src_dir, I run compilation from build_dir. This is a content
    of the /home/tankist/qt/src_dir/qtbase directory:

    tankist@ubuntu-12-04:~/qt/build-dir$ ls -l /home/tankist/qt/src_dir/qtbase
    drwxrwxr-x 2 tankist tankist 4096 bin
    drwxrwxr-x 8 tankist tankist 4096 config.tests
    -rwxrwxr-x 1 tankist tankist 255453 configure
    -rw-rw-r-- 1 tankist tankist 3505 configure.bat
    -rw-rw-r-- 1 tankist tankist 2111488 configure.exe
    drwxrwxr-x 2 tankist tankist 4096 dist
    drwxrwxr-x 4 tankist tankist 4096 doc
    drwxrwxr-x 18 tankist tankist 4096 examples
    -rw-rw-r-- 1 tankist tankist 1998 header.BSD
    -rw-rw-r-- 1 tankist tankist 1275 header.FDL
    -rw-rw-r-- 1 tankist tankist 1611 header.LGPL21
    -rw-rw-r-- 1 tankist tankist 1757 header.LGPL3
    -rw-rw-r-- 1 tankist tankist 1305 header.LGPL3-COMM
    -rw-rw-r-- 1 tankist tankist 958 header.LGPL-ONLY
    drwxrwxr-x 18 tankist tankist 4096 include
    -rw-rw-r-- 1 tankist tankist 472 INSTALL
    -rw-rw-r-- 1 tankist tankist 1218 LGPL_EXCEPTION.txt
    drwxrwxr-x 3 tankist tankist 4096 lib
    -rw-rw-r-- 1 tankist tankist 23411 LICENSE.FDL
    -rw-rw-r-- 1 tankist tankist 36331 LICENSE.GPLv3
    -rw-rw-r-- 1 tankist tankist 27346 LICENSE.LGPLv21
    -rw-rw-r-- 1 tankist tankist 8353 LICENSE.LGPLv3
    -rw-rw-r-- 1 tankist tankist 32783 LICENSE.PREVIEW.COMMERCIAL
    drwxrwxr-x 95 tankist tankist 4096 mkspecs
    drwxrwxr-x 5 tankist tankist 4096 qmake
    -rw-rw-r-- 1 tankist tankist 6516 qtbase.pro
    drwxrwxr-x 22 tankist tankist 4096 src
    -rw-rw-r-- 1 tankist tankist 3248 sync.profile
    drwxrwxr-x 8 tankist tankist 4096 tests
    drwxrwxr-x 4 tankist tankist 4096 tools
    drwxrwxr-x 13 tankist tankist 4096 util
    tankist@ubuntu-12-04:~/qt/build-dir$

    That folder contains file 'configure'. What is wrong?

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

      Hi,

      Run configure again with -v to see exactly what is going on.

      From a quick overview the -xplatform parameter is wrong and you don't seem to have anything set for -sysroot

      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
      • T Offline
        T Offline
        tankist
        wrote on last edited by
        #3

        There are no differences when I use -v flag:

        /home/tankist/qt/src_dir/configure -release -xplatform linuxfb -device linux-arm-gnueabi-g++ -device-option CROSS_COMPILE=/home/tankist/arago/arago-2011.09/armv5te/bin/arm-arago-linux-gnueabi- -sysroot /home/tankist/ti/mcsdk_1_01_00_02/targetNFS -skip qtconnectivity -skip qt3d -skip qtandroidextras -skip qtcanvas3d -skip qtquick1 -skip qtquickcontrols -skip qtwebchannel -skip qtwebengine -skip qtwebkit -skip qtwebkit-examples -skip qtwebsockets -skip qtwinextras -skip qtx11extras -nomake examples -nomake tests -prefix /home/tankist/qt/install_dir -v

        • cd qtbase
        • /home/tankist/qt/src_dir/qtbase/configure -top-level -release -xplatform linuxfb -device linux-arm-gnueabi-g++ -device-option CROSS_COMPILE=/home/tankist/arago/arago-2011.09/armv5te/bin/arm-arago-linux-gnueabi- -sysroot /home/tankist/ti/mcsdk_1_01_00_02/targetNFS -skip qtconnectivity -skip qt3d -skip qtandroidextras -skip qtcanvas3d -skip qtquick1 -skip qtquickcontrols -skip qtwebchannel -skip qtwebengine -skip qtwebkit -skip qtwebkit-examples -skip qtwebsockets -skip qtwinextras -skip qtx11extras -nomake examples -nomake tests -prefix /home/tankist/qt/install_dir -v
          /home/tankist/qt/src_dir/configure: 49: exec: /home/tankist/qt/src_dir/qtbase/configure: not found

        There is a quotation from the "Qt compiler options" guide:

        -xplatform - the target platform. Valid xplatform options are the same as the -platform options which are found in qtbase/mkspecs.

        I've found a lot of folders in my qtbase/mkspecs, for example:

        irix-g++
        irix-g++-64
        linux-arm-gnueabi-g++
        linux-clang
        linux-clang-libc++
        linux-cxx
        linux-g++

        so I hope I chose a right one. My 'sysroot' option contains a valid NFS for my board which I could really mount.

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

          Where did you get the sources from ?

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

            Hm... I downloaded them from the official site:
            http://www.qt.io/download-open-source/#section-2

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

              The .zip or .tar.gz file ?

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

                The right name of the file is qt-everywhere-opensource-src-5.5.1.zip

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

                  Download the .tar.gz file. The zip is for Windows. In part because of the line ending used.

                  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
                  1
                  • T Offline
                    T Offline
                    tankist
                    wrote on last edited by
                    #9

                    Thank you, that was the problem.

                    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