how to install qwt to QT creator?
My qt and qwt version:
Qt Creator 2.0.1 Based on Qt 4.7.0 (32 bit),
qwt-6.0.0-rc5
They are the latest version.
I have read many tutorials about how to install qwt ,but all of them had been written by several years ago.I have tried on my qt but it doesn't work.
One of the errors is: they said if I use qt creator to compile qwt.pro, it will generate two files: qwt5.dll and libqwt5.a. But I find nothing but qwtd.dll and libqwtd.dll in that folder.
I wonder if the version is different,the operational steps are different.
Have somebody install qwt to qt creator of the latest version successful?
Please,I beg you to help.Thanks a lot!
Re: how to install qwt to QT creator?
Sure. What is the problem? "It doesn't work" is not a useful summary of the problem.
Quote:
One of the errors is: they said if I use qt creator to compile qwt.pro, it will generate two files: qwt5.dll and libqwt5.a. But I find nothing but qwtd.dll and libqwtd.dll in that folder.
qwt5.dll and libqwt5.a are release libraries for Qwt. This is what you get if you build the 5.2.1 release set from the 5.2.1 subversion branch. The build defaults to release because that how most people will use it.
If you choose to build using a pre-release set of sources for Qwt 6 then:
qwt.dll and libqwt.a are release libraries
qwtd.dll and libqwtd.a are debug libraries
I just checked out a fresh Qwt from SVN trunk and built it:
Code:
d:\> svn co https://qwt.svn.sourceforge.net/svnroot/qwt/trunk/qwt qwt-svn
d:\> cd qwt-svn
d:\qwt-svn> qmake
d:\qwt-svn> mingw32-make
...
d:\qwt-svn> dir /b lib
libqwt.a // release lib
libqwtd.a // debug lib
libqwtmathml.a
libqwtmathmld.a
qwt.dll // release lib
qwtd.dll // debug lib
qwtmathml.dll
qwtmathmld.dll
If you want to use the Designer plugin then you need to match the compiler used to build Designer with the one used to build Qwt.
Re: how to install qwt to QT creator?
Hi ethanfeng,
here is a link to install qwt. and people replied that they success installed qwt by following this tutorial. and it's not written several years ago :)
http://studyard.blogspot.com/2010/10...t-problem.html
i hope it works for you.
Re: how to install qwt to QT creator?
thank you very much!!
i finally success install it!
Re: how to install qwt to QT creator?
Hi ethanfeng
Can you tell me how do u install it?
thank u
Re: how to install qwt to QT creator?
There are the instructions in the Qwt source, the linked tutorial, and my earlier post showing exactly how you obtain, build and install the Qwt 6.0 pre-release source from Subversion. Assuming that you are using the Qt SDK for Windows:
- Unpack the source tar ball for Qwt 5.2.1
- Edit qwtconfig.pri to adjust it to your needs, particularly the install path.
- Start a Qt Command Prompt
- Change directory to the source directory
- qmake
- mingw32-make # If you are using MSVC then the make command is "nmake"
- mingw32-make install
Re: how to install qwt to QT creator?
Quote:
Originally Posted by
cooper
Hi, that forum is closed, and only viewable from invite :(
Re: how to install qwt to QT creator?
Quote:
Originally Posted by
Badeand
Hi, that forum is closed, and only viewable from invite :(
I have googled it, and found it has been redirect to here:
http://oestudyard.blogspot.co.nz/201...in-ubuntu.html
Re: how to install qwt to QT creator?
There are perfectly good instructions in the Qwt distribution and on the Qwt web site. You do not need a third party blog which is more than likely unusably specific or just plain wrong. You just need a modicum of understanding of your tools and the supplied instructions.