[Development] Installation and compilation Qt Linux embedded

Juan Zampa superpibedeoro2 at gmail.com
Mon Feb 25 18:11:36 CET 2013


Hi everyone

I have followed instructions from QT webpage, but I have many problems to
cross-compile an example (plugandpaint)

I installed Qt embedded 4.8 without demos and examples succesfully.

Now I'm trying to compile plugins to use with "plugandpaint" application
(plugandpaintplugins). Steps followed are:

(I have to execute ./configure from source directory:
"/home/juanpablo/Qt/qt-everywhere-opensource-src-4.8.4".  Qt installation
is in  "/usr/local/Qt_dinamicas"). $PATH contains
"/usr/local/Qt_dinamicas/bin"

./configure -xplatform qws/arm-linux-gnueabi-g++ -embedded arm
nomake-examples...etc
qmake-project
qmake
make


The result is:


root at ubuntu:/home/juanpablo/Qt/qt-everywhere-opensource-src-4.8.4/examples/tools/plugandpaintplugins#
make
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt_dinamicas/mkspecs
/qws/linux-x86-g++ -I. -I/usr/local/Qt_dinamicas/include/QtCore
-I/usr/local/Qt_dinamicas/include/QtNetwork
-I/usr/local/Qt_dinamicas/include/QtGui -I/usr/local/Qt_dinamicas/include
-I. -Ibasictools -Iextrafilters -I. -o basictoolsplugin.o
basictools/basictoolsplugin.cpp
In file included from basictools/basictoolsplugin.cpp:46:0:
basictools/basictoolsplugin.h:51:37: fatal error: plugandpaint/interfaces.h:
No such file or directory
compilation terminated.
make: *** [basictoolsplugin.o] Error 1

My question: (see red text)

-Why does the compilation use /qws/linux-x86-g++  instead of
qws/arm-linux-gnueabi-g++?



Juan Pablo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130225/d26fee64/attachment.html>


More information about the Development mailing list