[PyQt] What would cause a PyQt Designer plugin not to load , yet same plugin works in Qt Designer?

michael h michaelkenth at gmail.com
Thu Aug 7 00:04:42 BST 2014


On Tue, Aug 5, 2014 at 11:17 PM, <blipton at lycos.com> wrote:

>
>
> I have the Qt 5.3.1 suite installed on Win7 32-bit.   In Qt Creator I
> generated a .dll plugin that loads and works fine using Qt Designer.
>
>
>
> Using the same computer, I then installed Python 3.4.1 and PyQt 5.3.1, and
> copied the above dll into:
>
> C:\Python34\Lib\site-packages\PyQt5\plugins\designer
>
>
>
> However, when I open PyQt Designer (Help->About Plugins), it's listed but
> says it cannot load the dll library ("The specified module could not be
> found.").  If I move the dll to any other folder, it doesn't get listed at
> all in the about plugins menu.
>
>
>
> Since PyQt doesn't come with Creator, I assume I have to modify the dll
> build process using Qt Creator to something that PyQt Designer can
> recognize, but what?   They're both running 5.3.1, so not sure why the
> Designers behave differently.
>
>
>
> Thanks!
>
> Ben
>
>
>
>
>
>
>
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>


Ben,

That message can refer to a missing dependency. Have you tried using
http://www.dependencywalker.com/ ?  Make sure you run it using the same
environment (PATH, etc.).

- Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140806/3553d8d4/attachment.html>


More information about the PyQt mailing list