[Interest] using designer plugin in application
Graham.Labdon at avalonsciences.com
Tue Dec 3 12:00:32 CET 2013
I have read this but cannot get it to work (I am using Qt5.1.1 with Visual Studio
I have a library called Widgets.dll that contains 1 class declared as
class WIDGETS_EXPORT MyLabel : public QLabel
I have set up my plugin project so that it can see the header file for MyLabel and can see the Widgets.lib
The plugin project builds without error but is not visible in Designer
Can anyone see the reason for this?
From: Harish Surana [mailto:surana4u at gmail.com]
Sent: 03 December 2013 10:20
To: Graham Labdon
Cc: interest at qt-project.org
Subject: Re: [Interest] using designer plugin in application
Yes it is technically possible to make the widgets accessible to Qt Designer without linking widgets dll against QtDesigner4.dll. Some possible approaches are described here: http://qt-project.org/doc/qt-4.8/designer-creating-custom-widgets.html (see the section "Splitting up the Plugin").
On Tue, Dec 3, 2013 at 10:31 AM, Graham Labdon <Graham.Labdon at avalonsciences.com<mailto:Graham.Labdon at avalonsciences.com>> wrote:
I have developed a number of Qt Designer plugins and can use them in my applications.
But obviously I need my apps to link against the plugin library which means when I deploy the application I need to deploy the plugin library as well.
What I would like is for widget classes to be compiled into one library that both the application and the designer plugin can use but I have been unable to achieve this.
Is this possible?
Interest mailing list
Interest at qt-project.org<mailto:Interest at qt-project.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest