./configure -debug-and-release -phonon -phonon-backend -qt-sql-sqlite -qt-sql-odbc -qt-libtiff -qt-gif -qt-libpng -qt-libmng -webkit -qt-libjpeg -qt-zlib -no-style-windowsxp -no-style-windowsvista -fast
make[4]: Entering directory `/c/sabrog/qt-win-opensource-src-4.5.0/examples/phonon/capabilities'g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug/capabilities.exe tmp/obj/debug_shared/window.o tmp/obj/debug_shared/main.o tmp/obj/debug_shared/moc_window.o -L'c:/sabrog/qt-win-opensource-src-4.5.0/lib' -L'c:/sabrog/qt-win-opensource-src-4.5.0/lib' -lmingw32 -lqtmaind -lphonond4 -lQtGuid4 -lQtCored4tmp/obj/debug_shared/window.o(.rdata$_ZTVN6Phonon22ObjectDescriptionModelILNS_21ObjectDescriptionTypeE0EEE[vtable for Phonon::ObjectDescriptionModel<(Phonon::ObjectDescriptionType)0>]+0x8): In function `ZNK6Phonon22ObjectDescriptionModelILNS_21ObjectDescriptionTypeE0EE9mimeTypesEv':c:/sabrog/qt-win-opensource-src-4.5.0/examples/phonon/capabilities/../../../include/Phonon/../../src/phonon/../3rdparty/phonon/phonon/objectdescriptionmodel.h: undefined reference to `Phonon::ObjectDescriptionModel<(Phonon::ObjectDescriptionType)0>::metaObject() const'tmp/obj/debug_shared/window.o(.rdata$_ZTVN6Phonon22ObjectDescriptionModelILNS_21ObjectDescriptionTypeE0EEE[vtable for Phonon::ObjectDescriptionModel<(Phonon::ObjectDescriptionType)0>]+0xc):c:/sabrog/qt-win-opensource-src-4.5.0/examples/phonon/capabilities/../../../include/Phonon/../../src/phonon/../3rdparty/phonon/phonon/objectdescriptionmodel.h: undefined reference to `Phonon::ObjectDescriptionModel<(Phonon::ObjectDescriptionType)0>::qt_metacast(char const*)'collect2: ld returned 1 exit statusmake[4]: *** [debug/capabilities.exe] Error 1make[4]: Leaving directory `/c/sabrog/qt-win-opensource-src-4.5.0/examples/phonon/capabilities'make[3]: *** [debug-all] Error 2make[3]: Leaving directory `/c/sabrog/qt-win-opensource-src-4.5.0/examples/phonon/capabilities'make[2]: *** [sub-capabilities-make_default-ordered] Error 2make[2]: Leaving directory `/c/sabrog/qt-win-opensource-src-4.5.0/examples/phonon'make[1]: *** [sub-phonon-make_default] Error 2make[1]: Leaving directory `/c/sabrog/qt-win-opensource-src-4.5.0/examples'make: *** [sub-examples-make_default-ordered] Error 2
Мистика какая-то. Использую конфигурацию с ключем -fast, а чего Qt в examples'ы полез?
g++ -x c++-header -c -g -Wall -frtti -fexceptions -mthreads -DQT_SHARED -DQT_THREAD_SUPPORT -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_MAKEDLL -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -D_USE_MATH_DEFINES -DHB_EXPORT=Q_CORE_EXPORT -DQT_DLL -I'../../include' -I'../../include/QtCore' -I'tmp/rcc/debug_shared' -I'tmp' -I'concurrent' -I'global' -I'../3rdparty/zlib' -I'../3rdparty/harfbuzz/src' -I'../../include/ActiveQt' -I'tmp/moc/debug_shared' -I'.' -I'c:/SABROG/qt-win-opensource-src-4.5.0/mkspecs/win32-g++' -o tmp/obj/debug_shared/qt_pch.h.gch/c++ global/qt_pch.hg++ -c -include tmp/obj/debug_shared/qt_pch.h -g -Wall -frtti -fexceptions -mthreads -DQT_SHARED -DQT_THREAD_SUPPORT -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_MAKEDLL -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -D_USE_MATH_DEFINES -DHB_EXPORT=Q_CORE_EXPORT -DQT_DLL -I'../../include' -I'../../include/QtCore' -I'tmp/rcc/debug_shared' -I'tmp' -I'concurrent' -I'global' -I'../3rdparty/zlib' -I'../3rdparty/harfbuzz/src' -I'../../include/ActiveQt' -I'tmp/moc/debug_shared' -I'.' -I'c:/SABROG/qt-win-opensource-src-4.5.0/mkspecs/win32-g++' -o tmp/obj/debug_shared/qfuture.o concurrent/qfuture.cpp 0 [main] make 2236 open_stackdumpfile: Dumping stack trace to make.exe.stackdumpmake[1]: *** [debug-all] Error 128make[1]: Leaving directory `/c/sabrog/qt-win-opensource-src-4.5.0/src/corelib'make: *** [sub-corelib-sub_src_target_ordered] Error 2