Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QWT plotting library wont build
Forum Updated to NodeBB v4.3 + New Features

QWT plotting library wont build

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 2 Posters 4.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tsukasa
    wrote on last edited by
    #1

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

    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 directory C:/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,

    Askar

    1 Reply Last reply
    0
    • joborJ Offline
      joborJ Offline
      jobor
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        Tsukasa
        wrote on last edited by
        #3

        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?

        1 Reply Last reply
        0
        • joborJ Offline
          joborJ Offline
          jobor
          wrote on last edited by
          #4

          exactly

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved