Important: Please read the Qt Code of Conduct -

QWT plotting library wont build

  • Hi,

    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 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:

    compiling resources/qrc_qwt_designer_plugin.cpp
    linking plugins\designer\qwt_designer_plugin.dll
    mingw32-make[2]: Leaving directory C:/NokiaQtSDK/qwt-build-simulator/designer' mingw32-make[1]: 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[2]: *** [plugins\designer\qwt_designer_plugin.dll] Error 1
    mingw32-make[1]: *** [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 file in the root or maybe plugins/
    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?

  • exactly

Log in to reply