[Interest] how to debug a Qt Designer plugin
Tony Rietwyk
tony at rightsoft.com.au
Thu Dec 11 00:49:09 CET 2014
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.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
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20141211/5fd7e1e4/attachment.html>
More information about the Interest
mailing list