Installing Qt for Embedded Linux
-
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
-
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.
-
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
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