PDA

View Full Version : Qwt Designer Plugin - Creator 2.5.2 - Qwt 6.0.1



zubor
4th October 2012, 21:08
Hi all, I am having some trouble using the Qwt Designer plugin.

Platform: Win 7 64bit

I installed Qt creator 2.5.2 which says it was built with Qt 4.8.2 so I downloaded and installed Qt 4.8.2 since I know the plugins must be built with the same libraries as the creator. Now I have 2 dirs:

1) C:\Qt\qtcreator-2.5.2\
2} C:\Qt\4.8.2\

I downloaded Qwt 6.0.1.

In build pri: Changed CONFIG += debug_and_release to CONFIG += release and commented out CONFIG += build all.
In config pri: Commented out QWT_CONFIG += QwtDll to build static lib.

Built Qwt no problem with MSVC 2010 in release mode.

Copy qwt_designer_plugin.dll to C:\Qt\qtcreator-2.5.2\bin\designer. Nothing shows up in Qt Creator designer.

BUT if I copy the same qwt_designer_plugin.dll to C:\Qt\4.8.2\plugins\designer the widgets show up when I run C:\Qt\4.8.2\bin\designer.exe.

Why does this work if I run the standalone designer that comes with qt 4.8.2, but not with the designer integrated into qt creator 2.5.2??? Any help???

As an additional note, I tried the worldtimeclockplugin example, compiled with MSVC 2010, release, copied the plugin dll to C:\Qt\qtcreator-2.5.2\bin\designer and it works like a charm.

Thanks!

Uwe
4th October 2012, 22:41
Probably because C:\Qt\4.8.2\plugins\designer is a place where the designer looks for plugins, while C:\Qt\qtcreator-2.5.2\bin\designer is just somewhere ?

Please note that the recommended way to install Qwt is to use "make install" and then to configure creator or designer to find the plugin where it is. Most problems I'm aware of is because of manual copying files around not following the advices in INSTALL.

F.e did you install qwt.prf properly ?

Uwe

zubor
5th October 2012, 13:55
I thought C:\Qt\qtcreator-2.5.2\bin\designer is where the designer integrated into Qt Creator looks for plugins. Putting the worldtimeclock plugin in here works fine.

I am talking about two designers. The stand alone that comes with the with 4.8.2 lib installer and the one integrated into Qt 2.5.2. I can get the plugin to work in the standalone, not in the integrated.