Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Installing Qt for Embedded Linux

Installing Qt for Embedded Linux

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 3 Posters 6.0k 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.
  • A Offline
    A Offline
    alonsab
    wrote on last edited by
    #1

    I am new to Qt.
    I am trying to install Qt for Embedded Linux on an ARM system, base on the instruction from :
    file:///qt-everywhere-opensource-src-4.7.3/doc/html/qt-embedded-install.html .
    I am trying to compile into a directory /mnt/usbdrive/QtEmbedded-4.7.3 .
    Using the command : ./configure -prefix /mnt/usbdrive/QtEmbedded-4.7.3 .
    I get the following messages:
    g++ -c -o qlibraryinfo.o -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igeneratorsp
    g++ -o "/mnt/usbdrive/qt-everywhere-opensource-src-4.7.3/bin/qmake" project.o property.o main.o makefile.o unixmake2.o unixm
    /mnt/usbdrive/qt-everywhere-opensource-src-4.7.3/mkspecs/linux-g++/qmake.conf:4: Parse Error ('EMPLQ?')
    Failure to read QMAKESPEC conf file /mnt/usbdrive/qt-everywhere-opensource-src-4.7.3/mkspecs/linux-g++/qmake.conf.
    Error processing project file: /mnt/usbdrive/qt-everywhere-opensource-src-4.7.3/config.tests/unix/floatmath/floatmath.pro
    /mnt/usbdrive/qt-everywhere-opensource-src-4.7.3/mkspecs/linux-g++/qmake.conf:4: Parse Error ('EMPL
    Failure to read QMAKESPEC conf file /mnt/usbdrive/qt-everywhere-opensource-src-4.7.3/mkspecs/linux-g++/qmake.conf.
    Error processing project file: /mnt/usbdrive/qt-everywhere-opensource-src-4.7.3/config.tests/unix/mmx/mmx.pro
    /mnt/usbdrive/qt-everywhere-opensource-src-4.7.3/mkspecs/linux-g++/qmake.conf:4: Parse Error ('EMPL
    Failure to read QMAKESPEC conf file /mnt/usbdrive/qt-everywhere-opensource-src-4.7.3/mkspecs/linux-g++/qmake.conf.
    Error processing project file: /mnt/usbdrive/qt-everywhere-opensource-src-4.7.3/config.tests/unix/3dnow/3dnow.pro
    /mnt/usbdrive/qt-everywhere-opensource-src-4.7.3/mkspecs/linux-g++/qmake.conf:4: Parse Error ('EMPL
    Failure to read QMAKESPEC conf file /mnt/usbdrive/qt-everywhere-opensource-src-4.7.3/mkspecs/linux-g++/qmake.conf.
    Error processing project file: /mnt/usbdrive/qt-everywhere-opensource-src-4.7.3/config.tests/unix/sse/sse.pro
    /mnt/usbdrive/qt-everywhere-opensource-src-4.7.3/mkspecs/linux-g++/qmake.conf:4: Parse Error ('EMPL
    .
    .
    .
    Error processing project file: /mnt/usbdrive/qt-everywhere-opensource-src-4.7.3/config.tests/x11/xlib/xlib.pro
    Basic XLib functionality test failed!
    You might need to modify the include and library search paths by editing
    QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /mnt/usbdrive/qt-everywhere-opensource-src-4.7.3/mkspecs/linux-g++.

    Its looks like the installation does not recognize the ARM processor or missing variables.

    Any ideas.

    Thanks,

    Alon

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      ZapB
      wrote on last edited by
      #2

      Does this page help:

      http://developer.qt.nokia.com/wiki/Building_Qt_for_Embedded_Linux

      You need to configure Qt to build as embedded (ie no X11 support). The above article covers building both a host build and a build for an example target device.

      Nokia Certified Qt Specialist
      Interested in hearing about Qt related work

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

        i tried to compile the QT with following command by following “http://forums.digi.com/support/forum/viewthread_thread,6858#20693” and got similar error

        ./configure -confirm-license -embedded arm -xplatform qws/linux-arm-g++ -prefix /usr/local/QtEmbedded-4.4.3 -hostprefix /usr/local/DigiEL-5.6/x-tools/arm-cortex_a8-linux-gnueabi -qt-sql-sqlite -depths 15,16 -qt-kbd-usb -qt-mouse-tslib
        

        and i got this error

        Basic XLib functionality test failed!
         You might need to modify the include and library search paths by editing
        QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /home/qmax/Desktop/QT_Latest/qt-x11-opensource-src-4.5.3/mkspecs/qws/linux-arm-g++.
        

        I tried the following
        Try 1:

        sudo apt-get build-dep qt4-qmake (installed)
        

        Ref:http://www.qtforum.org/article/27401/debian-xlib-test-failed-after-configure.html

        Try 2:

        sudo apt-get build-dep  libxext-dev
        

        Ref:http://www.qtforum.org/article/27886/installing-qt4-problem-basic-xlib-functionality-test-failed.html

        Try 3:

        sudo apt-get install libx11-dev libxau-dev libxaw7-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev
        sudo apt-get install libxext-dev libxfixes-dev libxfont-dev libxft-dev libxi-dev libxinerama-dev libxkbfile-dev libxmu-dev libxmuu-dev
        sudo apt-get install libxpm-dev libxrandr-dev libxrender-dev libxres-dev libxss-dev libxt-dev libxtst-dev libxv-dev libxvmc-dev
        sudo apt-get install libglib2.0-dev
        sudo apt-get install libssl-dev
        sudo apt-get install libgtk2.0-dev
        sudo apt-get install libcups2-dev
        sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
        sudo apt-get install libgstreamer0.10-dev
        

        Ref:http://qt-project.org/wiki/Compile_Qt_4.7_on_Ubuntu_10.10

        Try 4:

        sudo apt-get install ^libxcb.* libx11-xcb-dev libglu1-mesa-dev libxrender-dev -y
        

        Ref:http://qt-project.org/forums/viewthread/15858

        But nothing works…still same error…..

        does anyone got the solution

        ~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