[Interest] how to debug a Qt Designer plugin

Graham Labdon Graham.Labdon at avalonsciences.com
Thu Dec 11 09:42:44 CET 2014

It was a missing path to dependant libraries

Thanks for the hint


From: interest-bounces+graham.labdon=avalonsciences.com at qt-project.org [mailto:interest-bounces+graham.labdon=avalonsciences.com at qt-project.org] On Behalf Of Tony Rietwyk
Sent: 10 December 2014 23:49
To: Interest at qt-project.org
Subject: Re: [Interest] how to debug a Qt Designer plugin

Hi Graham,

It could be several things:

- the plugin has been compiled with debug - it must be release build.
- supporting DLLs are not available in your path.
- the code in the plugin is relying on initialisation that only occurs in your main exe.

Because of the first point, you can't run Designer and debug the plugin.

Also note that a single plugin can contain all of your widgets, you don't need a separate plugin for each.  See QDesignerCustomWidgetCollectionInterface.

Hope that helps,


From: interest-bounces+tony=rightsoft.com.au at qt-project.org<mailto:interest-bounces+tony=rightsoft.com.au at qt-project.org> [mailto:interest-bounces+tony=rightsoft.com.au at qt-project.org] On Behalf Of Graham Labdon
Sent: Thursday, 11 December 2014 3:28 AM
To: Interest at qt-project.org<mailto:Interest at qt-project.org>
Subject: [Interest] how to debug a Qt Designer plugin

I have developed some designer plugins that are working nicely.
Now I have created another but cannot get it to work.
Within designer I see the following when I do Help->about Plugins -

Failed Plugins
        Cannot load library C:\Qt\Qt5.3.0\5.3\msvc2012_opengl\plugins\designer\QtDesignerWidgets.dll The specified module could not be found

Can anyone give me some idea as to how to debug this

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20141211/8b2b5874/attachment.html>

More information about the Interest mailing list