问题构建剥离了Qt 4.6.2的版本

时间:2010-05-19 10:19:13

标签: c++ qt

我正在尝试构建一个较小版本的Qt,我使用了以下配置选项:

./configure -qt-sql-mysql -no-qt3support -no-audio-backend -no-phonon -no-phonon-backend -no-opengl -no-script -no-scripttools -no-javascript-jit -no-webkit -no-svg -no-multimedia -fast

执行make后,我最终遇到以下错误:

make[3]: Entering directory `/opt/qtsdk-2010.02/qt/tools/assistant/tools'
cd assistant/ && make -f Makefile 
make[4]: Entering directory `/opt/qtsdk-2010.02/qt/tools/assistant/tools/assistant'
g++ -c -pipe -g -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB 
   -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED
   -I../../../../mkspecs/linux-g++ -I. -I../../../../include/QtCore 
   -I../../../../include/QtNetwork -I../../../../include/QtGui -I../../../../include/QtXml 
   -I../../../../include/QtSql -I../../../../include -I../../../../include/QtHelp
   -I../../../shared/fontpanel -I.moc/release-shared -I.uic/release-shared 
   -o .obj/release-shared/helpviewer.o helpviewer.cpp
In file included from helpviewer.cpp:42:
helpviewer.h:51:20: error: QWebView: No such file or directory

关于这里有什么问题的指示?

1 个答案:

答案 0 :(得分:3)

它正在尝试构建助手(这是您查看Qt文档的工具)工具,助手需要webkit。如果您在分发应用程序时不需要助手,请将其从构建

中排除