2

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.

Yelonek
  • 623
  • 1
  • 5
  • 9

2 Answers2

4

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

Yelonek
  • 623
  • 1
  • 5
  • 9
  • Sorry, but I think my solution is more comfortable. – Yelonek Oct 16 '09 at 16:02
  • Hello. I build it with debug and release. Now I have 2 folders (debug and release). What to do with it next? I didn't build any exaples. It only created obj files of them. Can you give me any hint? – Hooch Mar 21 '13 at 13:51
1

If you have Visual Studio you must to do next steps (according to file "INSTALL"):

  1. run console
  2. change directory to directory where you installed QWT
  3. type "qmake qwt.pro"
  4. type "nmake"

You must be ensured that nmake.exe and qmake.exe in your PATH environment variable.

P.S. Easy way to add nmake.exe (its Visual Studio's make realization) is to run "tools/visual studio 2008 command prompt" from main menu of visual studio.

cybevnm
  • 2,586
  • 4
  • 30
  • 33
  • Here's my output: http://www.nopaste.pl/g3z Looks like I lack g++... I got VS 2008 and QtCreator (installed with whole Qt SDK). – Yelonek Oct 14 '09 at 18:04
  • You need to go follow the instructions in Qt Command Prompt. Not the usual one :) – Pramod Dec 20 '11 at 06:41