hushanxue / android-lighthouse

Automatically exported from code.google.com/p/android-lighthouse
0 stars 0 forks source link

qt building fails while moc-ing qabstractanimation.h #90

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download qt from git in windows xp with mingw installed
2. launch mingw shell
   export C_INCLUDE_PATH=c:/Projects/MinGW/include
   export CPLUS_INCLUDE_PATH=c:/Projects/MinGW/include
   cd c:/Projects/SyncCore/Qt/Android/android-lighthouse/
   android/androidconfigbuild.sh -q 1 -b 1 -k 0 -n /c/Projects/android-ndk-r7 -o windows -f arm-linux-androideabi -v 4.4.3 -a armeabi -l 4 -h 1 -x 0 -w 0

What is the expected output? What do you see instead?
i expected to see qt built
instead i see visual studio just in-time debugger showing unhandled exception 
in moc.exe whileperforming commandline

c:/Projects/SyncCore/Qt/Android/android-lighthouse/bin/moc.exe -DQT_SHARED -DQT_
NO_CORESERVICES -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCI
I -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQLIBRARYINF
O_EPOCROOT -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -I../../mkspecs/android-g++ -
I. -I../../include -I../../include/QtCore -I.rcc/release-shared -Iglobal -I../..
/tools/shared -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.
moc/release-shared -IC:/Projects/SyncCore/Qt/Android/android-lighthouse/src/core
lib/.rcc/release-shared -IC:/Projects/android-ndk-r7/platforms/android-4/arch-ar
m/usr/include -IC:/Projects/android-ndk-r7/sources/cxx-stl/gnu-libstdc++/include
 -IC:/Projects/android-ndk-r7/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include
 animation/qabstractanimation.h -o .moc/release-shared/moc_qabstractanimation.cpp

What version of the product are you using? On what operating system?
os: windows xp professional sp3 32bit + latest updates
qt from git (git clone git://gitorious.org/~taipan/qt/android-lighthouse.git)
lastest mingw
lastert android tools + android sdk + android ndk

Please provide any additional information below.
i don't know what else to add, if you need anything let me know

Original issue reported on code.google.com by michal.s...@visicom.com on 20 Dec 2011 at 9:59

GoogleCodeExporter commented 9 years ago
workaround: add -DQT_NO_ANIMATION to commandline for configure in 
androidconfigbuild.sh

Original comment by michal.s...@visicom.com on 21 Dec 2011 at 4:34