Categories
Uncategorized

How to build QWT-5.2 with Visual Studio 2005

I posted instructions here In case it’s deleted or lost: 1. Make sure that Qt\2009.03\bin is in your PATH environment settings. %QTDIR%\bin\ was already in my path, but didn’t work, so I also added C:\Qt\2009.03\qt\bin 2. Edit qwt-5.2/qwtconfig.pri to build both release and debug, and you probably also want it not to build a dll […]

I posted instructions here

In case it’s deleted or lost:

1. Make sure that Qt\2009.03\bin is in your PATH environment settings. %QTDIR%\bin\ was already in my path, but didn’t work, so I also added C:\Qt\2009.03\qt\bin
2. Edit qwt-5.2/qwtconfig.pri to build both release and debug, and you probably also want it not to build a dll
3. Open Start / All Programs / Microsoft Visual Studio 2005 / Visual Studio Tools / Visual Studio 2005 Command Prompt
4. Go to qwt-5.2/qwtconfig.pri
5. Type qmake qwt.pro
6. Type nmake
7. The static libraries will be in qwt-5.2\lib . Link these into your Visual Studio project
8. Header files are in qwt-5.2\src . Add this path to your Visual Studio project
9. Copy qwt-5.2\designer\plugins\designer\qwt_designer_plugin5 .dll to Qt\2009.03\qt\plugins\designer
10. Copy qwt-5.2\designer\plugins\designer\qwt_designer_plugin5 .exp to Qt\2009.03\qt\plugins\designer
11. Copy qwt-5.2\designer\plugins\designer\qwt_designer_plugin5 .lib to Qt\2009.03\qt\plugins\designer
12. Run Qt Designer
13. Click Help / About Plugins
14. Make sure qwt_designer_plugin5.dll is listed there

Leave a Reply

Your email address will not be published. Required fields are marked *