配置文件是:
./configure --prefix=/usr/qt_x86 -qvfb(看到qt _x11_4.4.3的配置选项里并没有-qvfb,网上有些文章加了,我担心出来的不支持qvfb,就加了,结果配置没有出错,不知道最后编译错误与这个有没有关系,编译一次时间太长了,3个多小时啊)
出现错误如下(末尾的编译信息):
/include/QtXml -I../../../include -I../../../include/QtDBus -I.moc/release-shared -I.uic/release-shared -o .obj/release-shared/moc_qdbusmodel.o .moc/release-shared/moc_qdbusmodel.cpp
/home/qtx11443/bin/moc -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../mkspecs/linux-g++ -I. -I../../../include/QtCore -I../../../include/QtCore -I../../../include/QtGui -I../../../include/QtGui -I../../../include/QtXml -I../../../include/QtXml -I../../../include -I../../../include/QtDBus -I.moc/release-shared -I.uic/release-shared propertydialog.h -o .moc/release-shared/moc_propertydialog.cpp
g++ -c -pipe -g -O2 -Wall -W -D_REENTRANT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../mkspecs/linux-g++ -I. -I../../../include/QtCore -I../../../include/QtCore -I../../../include/QtGui -I../../../include/QtGui -I../../../include/QtXml -I../../../include/QtXml -I../../../include -I../../../include/QtDBus -I.moc/release-shared -I.uic/release-shared -o .obj/release-shared/moc_propertydialog.o .moc/release-shared/moc_propertydialog.cpp
gmake[3]: *** [.obj/release-shared/moc_propertydialog.o] Error 1
gmake[3]: Leaving directory `/home/qtx11443/tools/qdbus/qdbusviewer'
gmake[2]: *** [sub-qdbusviewer-make_default] Error 2
gmake[2]: Leaving directory `/home/qtx11443/tools/qdbus'
gmake[1]: *** [sub-qdbus-make_default-ordered] Error 2
gmake[1]: Leaving directory `/home/qtx11443/tools'
gmake: *** [sub-tools-make_default-ordered] Error 2
大家帮忙看看,谢谢