if you find how to use QWT in the QtCreator can you explain this in this thread ?
thank you
if you find how to use QWT in the QtCreator can you explain this in this thread ?
thank you
O.k.Unzip Qwt to "C:\Qt\qwt-6.0.0"
Uncommenting QwtExamples is only needed if you want to build the examples. For installing Qwt you don't need to do this.Edit qwtconfig.pri: uncomment QwtExamples, set win32 install prefix to C:/Qt/qwt-$$QWT_VERSION
Changing the install prefix is o.k., but of course not mandatory.
O.k.Open Qt command line and use the commands:
qmake qwt.pro
mingw32-make
mingw32-make install
Wrong - it should be C:/Qt/qwt-6.0.0/features. Or where do you you have qwt.prf installed ?qmake -set QMAKEFEATURES "C:/Qt/qwt-6.0.0"
Very bad - use the PATH environment variable instead.copy [QWT DIRECTORY]\lib\qwt.dll to "C:\Qt\2010.05\qt\bin"
This is a basic mechanism - nothing Qt or Qwt special. If you don't know about it it's high time to learn.
Very bad - read http://doc.qt.nokia.com/4.7/deployment-plugins.html instead.copy [QWT DIRECTORY]\plugins\designer\qwt_designer_plugin.dll to "C:\Qt\2010.05\qt\plugins\plugins\designer"
O.k.For each project add "CONFIG += qwt" in the project .pro file
Guess the difference between designer and creator is, that you have built the designer yourself with mingw while you have downloaded a creator, that has been built by Nokia with MSVC. If true you need to recompile the creator with mingw too.
Uwe
Don't you think that it is useless and "very bad" for general performance, to increase the PATH just for 1 dll ? I understand when there is a lot of important things in the directory but here...
For your 2nd point, are you talking about qt.conf and QT_PLUGIN_PATH ? Again, for a Windows user, it is easier to copy/paste the dll, I don't see the disavantages of that, these 2 dll doesn't deserve to do all these efforts like studying a long English documentation and creating a lot of environment variables.
Yes i did get the QMAKEFEATURE wrong there, but i did set it to the feature directory, so its an accidental ommision - sorry!
Bookmarks