mobucl
1st December 2010, 11:08
Hi, This is my first post and im very new to QT and C++ so please consider this.
I have used QT creator for a while now to create some small example programs but now i would like to install QWT to use with it. I know there are a lot of posts regarding this but they are not clear and there seems to be many methods which i have tried but cant get to work.
This is what i have done so far based on information from a few different posts:
1. installed the qt SDK 2010.05 from the qt.nokia website
2. downloaded qwt-6.0.0-rc5.zip
3. extracted the zip to C:\Qt\2010.05\qt\qwt-6.0.0-rc5
4. using the QT command prompt i navigate to this folder and use:
qmake.exe qwt.pro -spec win32-g++ -r CONFIG+=release
mingw32-make release
5. copy libqwt_designer_plugin.a and qwt_designer_plugin.dll
from: C:\Qt\2010.05\qt\qwt-6.0.0-rc5\designer\plugins\designer
to C:\Qt\2010.05\qt\plugins\designer
6. copy libqwt.a and libqwtmathml.a
from C:\Qt\2010.05\qt\qwt-6.0.0-rc5\lib
to C:\Qt\2010.05\qt\lib
7. copy qwtmathml.dll and qwt.dll
from C:\Qt\2010.05\qt\qwt-6.0.0-rc5\lib
to C:\Qt\2010.05\qt\bin
now when i run designer i get 11 qwt widgets (such as QwtPlot). Now i am not sure if all the steps i have here are needed and if 11 QWT widgets is what i should get but at least this works. The problem is that i cannot now figure how to get these widgets to appear in qtcreator.
If someone can please explain the next couple of steps it would be very much appreciated.
Thanks
mobucl
I have used QT creator for a while now to create some small example programs but now i would like to install QWT to use with it. I know there are a lot of posts regarding this but they are not clear and there seems to be many methods which i have tried but cant get to work.
This is what i have done so far based on information from a few different posts:
1. installed the qt SDK 2010.05 from the qt.nokia website
2. downloaded qwt-6.0.0-rc5.zip
3. extracted the zip to C:\Qt\2010.05\qt\qwt-6.0.0-rc5
4. using the QT command prompt i navigate to this folder and use:
qmake.exe qwt.pro -spec win32-g++ -r CONFIG+=release
mingw32-make release
5. copy libqwt_designer_plugin.a and qwt_designer_plugin.dll
from: C:\Qt\2010.05\qt\qwt-6.0.0-rc5\designer\plugins\designer
to C:\Qt\2010.05\qt\plugins\designer
6. copy libqwt.a and libqwtmathml.a
from C:\Qt\2010.05\qt\qwt-6.0.0-rc5\lib
to C:\Qt\2010.05\qt\lib
7. copy qwtmathml.dll and qwt.dll
from C:\Qt\2010.05\qt\qwt-6.0.0-rc5\lib
to C:\Qt\2010.05\qt\bin
now when i run designer i get 11 qwt widgets (such as QwtPlot). Now i am not sure if all the steps i have here are needed and if 11 QWT widgets is what i should get but at least this works. The problem is that i cannot now figure how to get these widgets to appear in qtcreator.
If someone can please explain the next couple of steps it would be very much appreciated.
Thanks
mobucl