PDA

View Full Version : Qtopia core 4 make problem on FC5



nousetest
29th August 2006, 11:59
I am using FC5. I have successfully installed Qt 4.1.4 on my PC. Now I want to install qtopia for my ARM board.
I have download the file "qtopia-core-opensource-src-4.1.4.tar.gz" from TrollTech. Unzip it and in the Terminal, type the following commands:
#./configure
#gmake

then, it fail... Can anyone tell me the reson? I wonder if FC5 can install Qtopia core 4.1.4 or can Qtopia and Qt install in a same system.

Thank you so much!!!

e8johan
29th August 2006, 12:43
Could you be more specific - how does it fail? Also, according to this page: http://doc.trolltech.com/4.1/qtopiacore-install.html#step-3-building-the-library you need to add arguments to your configure call.

nousetest
30th August 2006, 07:49
I am using the arm cross compiler gcc version 3.4.1.

I do the configure like this:

./configure -qt-gif -qt-libjpeg -qvfb -little-endian -embedded arm

then gmake. Belows are the error show on screen:

arm-linux-g++ -c -pipe -fno-exceptions -g -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_NO_QWS_KBD_SL5000 -DQT_NO_QWS_KBD_USB -DQT_NO_QWS_KBD_YOPY -DQT_NO_QWS_KBD_VR41XX -DQT_NO_QWS_MOUSE_BUS -DQT_NO_QWS_MOUSE_LINUXTP -DQT_NO_QWS_MOUSE_VR41XX -DQT_NO_QWS_MOUSE_YOPY -DQT_NO_QWS_MOUSE_TSLIB -DQT_RASTER_IMAGEENGINE -DQT_RASTER_PAINTENGINE -DQT_PDF_SUPPORT -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSXP -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I../3rdparty/libpng -I../3rdparty/zlib -I/usr/include/freetype2 -I../3rdparty/opentype -I../../include/QtNetwork -I.moc/debug-shared-emb-arm -I. -o .obj/debug-shared-emb-arm/qpaintengine.o painting/qpaintengine.cpp
In file included from ../../include/QtGui/private/qfontengine_p.h:1,
from painting/qpaintengine.cpp:73:
../../include/QtGui/private/../../../src/gui/text/qfontengine_p.h:215:22: ft2build.h: No such file or directory
../../include/QtGui/private/../../../src/gui/text/qfontengine_p.h:216:10: #include expects "FILENAME" or <FILENAME>
In file included from ../../include/QtGui/private/qfontengine_p.h:1,
from painting/qpaintengine.cpp:73:
../../include/QtGui/private/../../../src/gui/text/qfontengine_p.h:221: error: `FT_Face' has not been declared
../../include/QtGui/private/../../../src/gui/text/qfontengine_p.h:221: error: ISO C++ forbids declaration of `face' with no type
../../include/QtGui/private/../../../src/gui/text/qfontengine_p.h:223: error: `FT_Face' does not name a type
../../include/QtGui/private/../../../src/gui/text/qfontengine_p.h:263: error: `FT_Face' does not name a type
../../include/QtGui/private/../../../src/gui/text/qfontengine_p.h:273: error: `FT_Library' does not name a type
gmake[3]: *** [.obj/debug-shared-emb-arm/qpaintengine.o] Error 1
gmake[3]: Leaving directory `/tmp/qtopia-core-opensource-src-4.1.4/src/gui'
gmake[2]: *** [debug-all] Error 2
gmake[2]: Leaving directory `/tmp/qtopia-core-opensource-src-4.1.4/src/gui'
gmake[1]: *** [sub-gui-make_default-ordered] Error 2
gmake[1]: Leaving directory `/tmp/qtopia-core-opensource-src-4.1.4/src'
gmake: *** [sub-src-make_default-ordered] Error 2

Could anyone help me?
Thank you so much!!!!

lines2005
8th April 2007, 11:44
I type:
#./configure -platform linux-g++ -xplatform linux-g++ -qvfb
#gmake

Error occurs:
./inputmethod/qwsinputcontext_qws.cpp 160: 'qt_sendSponeousEvent' :has not defined.
[ make error]