标题:交叉编译QWT出错
作者:goonman
日期:2009-08-10 18:15
内容:
arm_v5t_le-g++ -c -pipe -O2 -Wall -W -pthread -D_THREAD_SAFE -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS -DQT_SHARED -I/home/qt4/mkspecs/arm_v5t_le-g++ -I. -I/home/qt4/include/QtDesigner -I/home/qt4/include/QtCore -I/home/qt4/include/QtCore -I/home/qt4/include/QtGui -I/home/qt4/include/QtGui -I/home/qt4/include/QtXml -I/home/qt4/include/QtXml -I/home/qt4/include/QtScript -I/home/qt4/include/QtScript -I/home/qt4/include -I../src -Imoc -I. -I/usr/local/include -o obj/qwt_designer_plugin.o qwt_designer_plugin.cpp
cc1plus: warning: include location "/usr/local/include" is unsafe for cross-compilation
qwt_designer_plugin.cpp:17:40: error: QDesignerFormEditorInterface: No such file or directory
qwt_designer_plugin.cpp:18:40: error: QDesignerFormWindowInterface: No such file or directory
qwt_designer_plugin.cpp:19:46: error: QDesignerFormWindowCursorInterface: No such file or directory
qwt_designer_plugin.cpp:20:29: error: QExtensionManager: No such file or directory
In file included from qwt_designer_plugin.cpp:23:
qwt_designer_plugin.h:23:42: error: QDesignerCustomWidgetInterface: No such file or directory
qwt_designer_plugin.h:24:38: error: QDesignerTaskMenuExtension: No such file or directory
qwt_designer_plugin.h:25:29: error: QExtensionFactory: No such file or directory
In file included from qwt_designer_plugin.cpp:23:
qwt_designer_plugin.h:32: error: expected class-name before ‘{’ token
qwt_designer_plugin.h:49: error: ‘QDesignerFormEditorInterface’ has not been declared
qwt_designer_plugin.h:66: error: expected class-name before ‘{’ token
qwt_designer_plugin.h:73: error: ‘QDesignerCustomWidgetInterface’ was not declared in this scope
qwt_designer_plugin.h:73: error: template argument 1 is invalid
qwt_designer_plugin.h:76: error: ‘QDesignerCustomWidgetInterface’ was not declared in this scope
qwt_designer_plugin.h:76: error: template argument 1 is invalid
qwt_designer_plugin.h ..
#1 [hard_study16 06-10 22:45]
我也想知道,唉。
#2 回 楼主(goonman) 的帖子 [guhao 06-26 18:33]
是因为编译designer文件夹出错,我已解决,可看论坛的帖子!
#3 [qinhaizx007 03-31 09:35]
我现在也遇到这个问题,你现在解决了吗