How to build Qwt on Windows
-
21-09-2019 - |
문제
Here's what I've done:
- Downloaded qwt-4.2.0-setup-qt230nc.exe from sourceforge
- Unpack to C:\Program Files\Qwt
- Go to Qt Command Prompt
- Run msvc-qmake.bat.
- 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.
해결책
I think I've come up with easy solution:
- Open QtCreator.
- Open project... -> C:\Program Files\Qwt\qwt.pro
- Build.
- ...
- 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...
다른 팁
If you have Visual Studio you must to do next steps (according to file "INSTALL"):
- run console
- change directory to directory where you installed QWT
- type "qmake qwt.pro"
- 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.