First,about qwt desinger
When i enable designer in qwtconfig.pri file,i have some errors as follow:
make[1]: Entering directory `/mydocument/qt/qwt-5.2.0/designer'
arm_v5t_le-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS -DQT_SHARED -I/usr/local/Trolltech/QtEmbedded-4.4.3-arm/mkspecs/qws/linux-omap-g++ -I. -I/usr/local/Trolltech/QtEmbedded-4.4.3-arm/include/QtDesigner -I/usr/local/Trolltech/QtEmbedded-4.4.3-arm/include/QtCore -I/usr/local/Trolltech/QtEmbedded-4.4.3-arm/include/QtCore -I/usr/local/Trolltech/QtEmbedded-4.4.3-arm/include/QtNetwork -I/usr/local/Trolltech/QtEmbedded-4.4.3-arm/include/QtNetwork -I/usr/local/Trolltech/QtEmbedded-4.4.3-arm/include/QtGui -I/usr/local/Trolltech/QtEmbedded-4.4.3-arm/include/QtGui -I/usr/local/Trolltech/QtEmbedded-4.4.3-arm/include/QtXml -I/usr/local/Trolltech/QtEmbedded-4.4.3-arm/include/QtXml -I/usr/local/Trolltech/QtEmbedded-4.4.3-arm/include/QtScript -I/usr/local/Trolltech/QtEmbedded-4.4.3-arm/include/QtScript -I/usr/local/Trolltech/QtEmbedded-4.4.3-arm/include -I../src -Imoc -I. -o obj/qwt_designer_plugin.o qwt_designer_plugin.cpp
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: 'DesignerFormEditorInterface' has not been declared
qwt_designer_plugin.h:66: error: expected class-name before '{'token
qwt_designer_plugin.h:73: error: 'DesignerCustomWidgetInterface'was not declared in this scope
qwt_designer_plugin.h:73: error: template argument 1 is invalid
qwt_designer_plugin.h:76: error: 'DesignerCustomWidgetInterface'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 'nitialize'declared void
qwt_designer_plugin.cpp:102: error: 'DesignerFormEditorInterface'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 `/mydocument/qt/qwt-5.2.0/designer'
make: *** [sub-designer-make_default] Error 2
Secondly,when i disable designer in qwtconfig.pri file,i can make qwt and install it.But i cannot run the examples.I cannot find the file that can run in examples.
The making process as follow:
[root@dengyongchao qwt-5.2.0]# /usr/local/Trolltech/QtEmbedded-4.5.0-arm/bin/qmake
[root@dengyongchao qwt-5.2.0]# make
cd src/ && make -f Makefile
make[1]: Entering directory `/mydocument/qt/qwt-5.2.0/src'
/usr/local/Trolltech/QtEmbedded-4.5.0-arm/bin/qmake -unix -o Makefile src.pro
make[1]: Leaving directory `/mydocument/qt/qwt-5.2.0/src'
make[1]: Entering directory `/mydocument/qt/qwt-5.2.0/src'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/mydocument/qt/qwt-5.2.0/src'
cd textengines/ && make -f Makefile
make[1]: Entering directory `/mydocument/qt/qwt-5.2.0/textengines'
/usr/local/Trolltech/QtEmbedded-4.5.0-arm/bin/qmake -unix -o Makefile textengines.pro
make[1]: Leaving directory `/mydocument/qt/qwt-5.2.0/textengines'
make[1]: Entering directory `/mydocument/qt/qwt-5.2.0/textengines'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/mydocument/qt/qwt-5.2.0/textengines'
cd examples/ && make -f Makefile
make[1]: Entering directory `/mydocument/qt/qwt-5.2.0/examples'
/usr/local/Trolltech/QtEmbedded-4.5.0-arm/bin/qmake -unix -o Makefile examples.pro
make[1]: Leaving directory `/mydocument/qt/qwt-5.2.0/examples'
make[1]: Entering directory `/mydocument/qt/qwt-5.2.0/examples'
cd cpuplot/ && make -f Makefile
make[2]: Entering directory `/mydocument/qt/qwt-5.2.0/examples/cpuplot'
/usr/local/Trolltech/QtEmbedded-4.5.0-arm/bin/qmake -unix -o Makefile cpuplot.pro
make[2]: Leaving directory `/mydocument/qt/qwt-5.2.0/examples/cpuplot'
make[2]: Entering directory `/mydocument/qt/qwt-5.2.0/examples/cpuplot'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/mydocument/qt/qwt-5.2.0/examples/cpuplot'
cd curvdemo1/ && make -f Makefile
make[2]: Entering directory `/mydocument/qt/qwt-5.2.0/examples/curvdemo1'
/usr/local/Trolltech/QtEmbedded-4.5.0-arm/bin/qmake -unix -o Makefile curvdemo1.pro
make[2]: Leaving directory `/mydocument/qt/qwt-5.2.0/examples/curvdemo1'
make[2]: Entering directory `/mydocument/qt/qwt-5.2.0/examples/curvdemo1'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/mydocument/qt/qwt-5.2.0/examples/curvdemo1'
cd curvdemo2/ && make -f Makefile
make[2]: Entering directory `/mydocument/qt/qwt-5.2.0/examples/curvdemo2'
/usr/local/Trolltech/QtEmbedded-4.5.0-arm/bin/qmake -unix -o Makefile curvdemo2.pro
make[2]: Leaving directory `/mydocument/qt/qwt-5.2.0/examples/curvdemo2'
make[2]: Entering directory `/mydocument/qt/qwt-5.2.0/examples/curvdemo2'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/mydocument/qt/qwt-5.2.0/examples/curvdemo2'
cd simple_plot/ && make -f Makefile
make[2]: Entering directory `/mydocument/qt/qwt-5.2.0/examples/simple_plot'
/usr/local/Trolltech/QtEmbedded-4.5.0-arm/bin/qmake -unix -o Makefile simple_plot.pro
make[2]: Leaving directory `/mydocument/qt/qwt-5.2.0/examples/simple_plot'
make[2]: Entering directory `/mydocument/qt/qwt-5.2.0/examples/simple_plot'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/mydocument/qt/qwt-5.2.0/examples/simple_plot'
cd realtime_plot/ && make -f Makefile
Bookmarks