标题:Qt4.4.3后交叉编译qwt5.2.0
作者:woshixjz1021
日期:2010-05-19 14:32
内容:
交叉编译QWT出错
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_ ..