Search code examples
qtwindows-xpqmakeqwt

How to build Qwt on Windows


Here's what I've done:

  1. Downloaded qwt-4.2.0-setup-qt230nc.exe from sourceforge
  2. Unpack to C:\Program Files\Qwt
  3. Go to Qt Command Prompt
  4. Run msvc-qmake.bat.
  5. Get the output.

Now the lib directory is created, but it's empty. Also tried opening VS project file, but it doesn't converse to VS2008, because there are no vcproj files. I also tried to do it qmake way: qmake qwt.pro and then make, but it says make is not recognized. I figured that I could use mingw32-make, but I gave me a lot of compiler errors.

I was hoping I would use Qwt within QtCreator, but sadly failed. Any help appreciated.


Solution

  • I think I've come up with easy solution:

    1. Open QtCreator.
    2. Open project... -> C:\Program Files\Qwt\qwt.pro
    3. Build.
    4. ...
    5. PROFIT!!!

    Do I guess correctly it's valid way to do this?

    Now I need to figure out how to marry it with QtDesigner since there is no Designer Plugin in here...