I'm taking the first steps with QT-Creator and wanted to know if I can see the QWT widgets in the editor of the interface as the basic QT widgets.
Thanks to all.
Sorry for my bad English
I'm taking the first steps with QT-Creator and wanted to know if I can see the QWT widgets in the editor of the interface as the basic QT widgets.
Thanks to all.
Sorry for my bad English
Last edited by gandalf; 2nd May 2010 at 19:47.
I have compile the qwt library but ....
QT designer tells me that the plugin was compiled with mingw while it wants a plugin compiled with MSCV!
Recompile Qt with Ming and it'll accept plugins compiled with Ming
If I dowload the QT library From http://qt.nokia.com/downloadsfatjuicymole
Recompile Qt with Ming and it'll accept plugins compiled with Ming
is the same or I must recompile it .
Doing tests on archlinux I was able to see the widgets in the palette of components and do drag and drop .
I'm using the SDK downloadable at http://qt.nokia.com/downloads.
After compiling the QWT library libqwt_designerplugin.so I took the system object file libqwt_designerplugin.so and I copied in myhome/qtsdk-2010-1/designer/plugins/designer
I still can't compile my project because I have to move some [ .h ] files of QWT but I don't know yet where I must put them.
Thank to all
Last edited by gandalf; 3rd May 2010 at 23:57.
have a look at:
http://www.qtcentre.org/threads/3041...gin-with-msvc?
I read the post you suggested and I'm getting ready to compile the QWT on MSVC2008 but I still have some questions to summarize:
1 - QT SDK is then compiled with MSVC? (I guess so since it takes that plugins must be compiled with MSVC)
2 - If on Visual Studio 2008 Express (http://www.microsoft.com/express/Downloads/) I install the plugin for QT (http://qt.nokia.com/downloads/visual-studio-add-in ) should be easier to compile the QWT library ?
Thanks and sorry if boring ;-) ?
It works .
I could compile the library QWT5.2.1 with Microsoft Visual C 2008.
I just had to modify the BAT file for setting environment variables of VisualC so it knew where I installed the QT.
The filename is "C: \ Program Files \ Microsoft Visual Studio 9.0 \ Common7 \ Tools \ vsvars32.bat"
After that I copied the qwt_designer_plugin5.dll plugin I created to the folder C: \ Qt \ 2010.02.1 \ bin \ and qtw5.dll to the SDK \bin folder.
Now I can see the QWT widget in the designer .
Now I just have to figure out where I must put the header files and try to compile my code .
Thanks to ALL![]()
Bookmarks