QWT plotting library wont build
I have I believe latest versions of Qt and QWT. I am willing to use QWT in Qt Simulator for mobile devices and I use Windows.
In order to get it working I run a build of qwt.pro project. (I disabled in qwtconfig.pri following options: #QWT_CONFIG += QwtExamples #QWT_CONFIG += QwtMathML)
It seems to compile OK to create qwt library but I then left with error:
mingw32-make: Leaving directory
C:/NokiaQtSDK/qwt-build-simulator/designer' mingw32-make: Leaving directoryC:/NokiaQtSDK/qwt-build-simulator/designer'
mingw32-make: Leaving directory `C:/NokiaQtSDK/qwt-build-simulator'
c:/nokiaqtsdk/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lQtDesigner
collect2: ld returned 1 exit status
mingw32-make: *** [plugins\designer\qwt_designer_plugin.dll] Error 1
mingw32-make: *** [release-all] Error 2
mingw32-make: *** [sub-designer-make_default-ordered] Error 2
The process "C:/NokiaQtSDK/mingw/bin/mingw32-make.exe" exited with code %2.
Error while building project qwt (target: Qt Simulator)
When executing build step 'Make'
How I could fix this? Thanks in advance,
This error means that you're building a Qt Designer plugin for the simulator, which is included in QWS apparently. The Qt Simulator does not support Qt Designer plugins. It doesn't make much sense to run Qt Designer on a phone, right?
What you can do to fix this is to turn off the building of the plugin in QWS.
There's probably something like a qws.pro file in the root or maybe plugins/plugins.pro?
Comment out the section where the Qt Designer plugin is built.
So if I want to build QWT to use with phone application I shall build it for Desktop to use QWT plugin in Designer, but only QWT for Symbian?