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. [SOLVED]cross compiling qt-everywhere-opensource-src-4.8.5 problem
Qt 6.11 is out! See what's new in the release blog

[SOLVED]cross compiling qt-everywhere-opensource-src-4.8.5 problem

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 2 Posters 6.1k 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.
  • D Offline
    D Offline
    dreamerindia
    wrote on last edited by
    #1

    Dear All,
    While cross compiling the Qt 4.8 for arm with following command,

    @./configure -embedded arm -xplatform linux-mxc-g++ -release -prefix /usr/local/Qt-4.8.5/ -opengl es2 -glib -qt-gfx-linuxfb -qt-kbd-tty -qt-kbd-linuxinput -qt-mouse-linuxinput -qt-mouse-tslib -little-endian -qt-gfx-linuxfb -host-little-endian -v -opensource -force-pkg-config -no-phonon@

    i got the following response and error,

    @
    Do you accept the terms of either license? yes

    Creating qmake. Please wait...
    g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -g -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -Igenerators/integrity -I/home/pt6/qt-everywhere-opensource-src-4.8.5/include -I/home/pt6/qt-everywhere-opensource-src-4.8.5/include/QtCore -I/home/pt6/qt-everywhere-opensource-src-4.8.5/src/corelib/global -I/home/pt6/qt-everywhere-opensource-src-4.8.5/src/corelib/xml -I/home/pt6/qt-everywhere-opensource-src-4.8.5/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/home/pt6/qt-everywhere-opensource-src-4.8.5/mkspecs/qws/linux-x86-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DEPRECATED project.cpp
    g++: error trying to exec 'cc1plus': execvp: No such file or directory
    make: *** [project.o] Error 1@

    I donno where i went wrong ,
    cross compile directory-/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin

    and it contains,

    arm-fsl-linux-gnueabi-gcc
    arm-fsl-linux-gnueabi-g++
    arm-fsl-linux-gnueabi-ar
    arm-fsl-linux-gnueabi-objcopy
    arm-fsl-linux-gnueabi-strip

    ltib rootfs directory-/home/pt6/L2.6.35_10.11.01_ER_source_bundle/L2.6.35_10.11.01_ER_source/ltib/rootfs

    Qt open source directory-/home/pt6/qt-everywhere-opensource-src-4.8.5

    mkspecs directory-/home/pt6/qt-everywhere-opensource-src-4.8.5/mkspecs/linux-mxc-g++/

    and here by attached the qmake.conf file ,

    "https://dl.dropboxusercontent.com/u/12382973/qmake.conf":https://dl.dropboxusercontent.com/u/12382973/qmake.conf

    what is the mistake i have done?

    ~Ravivarman~

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dreamerindia
      wrote on last edited by
      #2

      Seems like compiler problem but paths are right I think what else will be the problem....

      ~Ravivarman~

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dreamerindia
        wrote on last edited by
        #3

        How to frame the mkspecs for ARM cortex A8?

        ~Ravivarman~

        1 Reply Last reply
        0
        • D Offline
          D Offline
          dreamerindia
          wrote on last edited by
          #4

          Hi i managed to compile but error comes when trying to make,

          @Qt is now configured for building. Just run 'make'.
          Once everything is built, you must run 'make install'.
          Qt will be installed into /usr/local/Qt-4.8.5/

          To reconfigure, run 'make confclean' and 'configure'.

          pt6@PT6:~/qt-everywhere-opensource-src-4.8.5$ make
          cd src/tools/bootstrap/ && make -f Makefile
          make[1]: Entering directory /home/pt6/qt-everywhere-opensource-src-4.8.5/src/tools/bootstrap' g++ -c -pipe -fno-exceptions -O2 -fPIC -Wall -W -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/qws/linux-x86-g++ -I. -I../../../include -I../../../include/QtCore -I../../../include/QtXml -I../../3rdparty/zlib -o .obj/release-static-emb-arm/qisciicodec.o ../../corelib/codecs/qisciicodec.cpp g++: error trying to exec 'cc1plus': execvp: No such file or directory make[1]: *** [.obj/release-static-emb-arm/qisciicodec.o] Error 1 make[1]: Leaving directory /home/pt6/qt-everywhere-opensource-src-4.8.5/src/tools/bootstrap'
          make: *** [sub-tools-bootstrap-make_default-ordered] Error 2@

          anyone can help in this issue.

          ~Ravivarman~

          1 Reply Last reply
          0
          • p3c0P Offline
            p3c0P Offline
            p3c0
            Moderators
            wrote on last edited by
            #5

            Hi,

            Is g++ installed ?

            157

            1 Reply Last reply
            0
            • D Offline
              D Offline
              dreamerindia
              wrote on last edited by
              #6

              hi thanks i found the error. it needs the libiconv . after installing it using LTIB now its compiling.. but facing some other problems..and trying to solve...

              ~Ravivarman~

              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