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, 

 

Tony

 

 

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

 

Hi

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

    C:\Qt\Qt5.3.0\5.3\msvc2012_opengl\plugins\designer\QtDesignerWidgets.dll

        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

 

thanks

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to