I try to build QT from sources (from GIT)/ Build stops at:
/opt/toolchains/ndk/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-g++ -c -march=armv5te -mtune=xscale -msoft-float -mfpu=neon -fpic -mthumb-interwork -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -DANDROID -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -DQT_NO_QWS_TRANSFORMED -fno-exceptions -fno-rtti -O2 -O2 -fomit-frame-pointer -funswitch-loops -finline-limit=300 -Wall -W -D_REENTRANT -fPIC -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DPNG_NO_ASSEMBLER_CODE -DQT_NO_FONTCONFIG -DFT2_BUILD_LIBRARY -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_GTK -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -I../../mkspecs/android-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-static-emb-arm -I../3rdparty/libpng -I../3rdparty/zlib -I../3rdparty/zlib -I../3rdparty/freetype/builds/unix -I../3rdparty/freetype/src -I../3rdparty/freetype/include -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-static-emb-arm -I.uic/release-static-emb-arm -I/opt/toolchains/ndk/build/platforms/android-5/arch-arm/usr/include -o .obj/release-static-emb-arm/qaction.o kernel/qaction.cpp In file included from ../../include/QtGui/private/qapplication_p.h:1, from kernel/qaction.cpp:52: ../../include/QtGui/private/../../../src/gui/kernel/qapplication_p.h:80:34: error: QWindowSystemInterface: No such file or directory In file included from ../../include/QtGui/private/qapplication_p.h:1, from kernel/qaction.cpp:52: ../../include/QtGui/private/../../../src/gui/kernel/qapplication_p.h:469: error: 'QWindowSystemInterface' has not been declared ../../include/QtGui/private/../../../src/gui/kernel/qapplication_p.h:469: error: expected ',' or '...' before '' token ../../include/QtGui/private/../../../src/gui/kernel/qapplication_p.h:470: error: 'QWindowSystemInterface' has not been declared ../../include/QtGui/private/../../../src/gui/kernel/qapplication_p.h:470: error: expected ',' or '...' before '' token ../../include/QtGui/private/../../../src/gui/kernel/qapplication_p.h:471: error: 'QWindowSystemInterface' has not been declared ../../include/QtGui/private/../../../src/gui/kernel/qapplication_p.h:471: error: expected ',' or '...' before '' token ../../include/QtGui/private/../../../src/gui/kernel/qapplication_p.h:476: error: 'QWindowSystemInterface' has not been declared ../../include/QtGui/private/../../../src/gui/kernel/qapplication_p.h:476: error: expected ',' or '...' before '' token make[1]: * [.obj/release-static-emb-arm/qaction.o] Ошибка 1 make[1]: Выход из каталога `/opt/android-lighthouse/src/gui' make: * [sub-gui-make_default-ordered] Ошибка 2
Comment #1
Posted on Feb 15, 2010 by Swift HorseComment deleted
Comment #2
Posted on Feb 15, 2010 by Swift HorseYou have to clean, remove the include directory and configure again the project.
make confclean rm -fr include ./androidconfig.sh
You must use ndk-stlport (http://android-lighthouse.googlecode.com/files/ndk- Good luck.
Comment #3
Posted on Feb 16, 2010 by Quick GiraffeThanx! Compiling Qt completed successfully.
Status: Fixed
Labels:
Type-Defect
Priority-Medium