• 9348阅读
  • 3回复

交叉编译QWT出错 [复制链接]

上一主题 下一主题
离线goonman
 

只看楼主 倒序阅读 楼主  发表于: 2009-08-10
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:210: error: expected class-name before ‘{’ token
qwt_designer_plugin.h:214: error: expected `)' before ‘*’ token
qwt_designer_plugin.h:223: error: expected class-name before ‘{’ token
qwt_designer_plugin.cpp:102: error: variable or field ‘initialize’ declared void
qwt_designer_plugin.cpp:102: error: ‘QDesignerFormEditorInterface’ was not declared in this scope
qwt_designer_plugin.cpp:102: error: ‘formEditor’ was not declared in this scope
make[1]: *** [obj/qwt_designer_plugin.o] Error 1
make[1]: Leaving directory `/opt/qwt-5.2.0/designer'
make: *** [sub-designer-make_default] Error 2

交叉编译好Qt4.4.3后交叉编译qwt5.2.0,出现在了如上的错误,进入到交叉编译的qt下lib目录中,没有libQtDesigner.so*,请问这个问题应该怎么解决呢,谢谢!
离线hard_study16
只看该作者 1楼 发表于: 2010-06-10
我也想知道,唉。
离线guhao

只看该作者 2楼 发表于: 2010-06-26
回 楼主(goonman) 的帖子
是因为编译designer文件夹出错,我已解决,可看论坛的帖子!
离线qinhaizx007
只看该作者 3楼 发表于: 2012-03-31
我现在也遇到这个问题,你现在解决了吗
快速回复
限100 字节
 
上一个 下一个