PDA

View Full Version : Qwt - Qt Widgets for Technical Applications



gandalf
2nd May 2010, 17:40
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

gandalf
3rd May 2010, 16:40
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!

squidge
3rd May 2010, 16:57
Recompile Qt with Ming and it'll accept plugins compiled with Ming

gandalf
4th May 2010, 00:38
fatjuicymole

Recompile Qt with Ming and it'll accept plugins compiled with Ming


If I dowload the QT library From http://qt.nokia.com/downloads
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

tentakel
4th May 2010, 11:39
have a look at:
http://www.qtcentre.org/threads/30410-compile-plugin-with-msvc?

gandalf
5th May 2010, 08:53
have a look at:
http://www.qtcentre.org/threads/30410-compile-plugin-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 ;-) ?

gandalf
5th May 2010, 16:09
:cool::cool::cool:

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 :cool: