[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] pyqt widget plugins for qt-designer do not seem to work (cygwin)
From:       Biofysikos Biologos <biofysikos () gmail ! com>
Date:       2019-01-11 18:00:31
Message-ID: CAMCqmUOT5gjxpSra4gCECEt5Dbq6ioyq0vuoR7RURR=F6+j=iQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,

The situation is as follows:

I have installed pyqt for qt5 on my cygwin platform using the following
command.

apt-cyg install python-pyqt5

I have also installed Qt Designer using (FYI: I also installed an x-server)

apt-cyg install qt5-devel-tools

I have found the location of the widget plugins using:

$ qtdiag-qt5 | grep Plugins
  PluginsPath: /usr/lib/qt5/plugins

and the plugins for qt-designer are found in
/usr/lib/qt5/plugins/designer

To check that the plugins work I have installed some dll's inside the
above folder and they do show up in the widget pallete of Qt Designer.

Moreover I have installed cygpyqt5.dll which does not seem to work as
it is supposed to check inside /usr/lib/qt5/plugins/designer/python

for pyqt widget plugins and add them to the widget pallete. I DO have
a few pyqt plugins inside the folder but cygpyqt5.dll does not find
them.

I am using python 2.7 and qt 5.9.4

Have in mind that I have tried it on my Mac and it works, but it does
not work on cygwin. Any help is appreciated!

Thank you,

Biofysikos

[Attachment #5 (text/html)]

<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello,</div><div><br></div><div>The \
situation is as follows:</div><div><br></div><div>I have installed pyqt for qt5 on my \
cygwin platform using the following command.<br></div><div></div><div><pre><span \
style="background-color:rgb(217,234,211)"><font size="2">apt-cyg install \
python-pyqt5</font><br><br></span></pre><pre><span \
style="background-color:rgb(217,234,211)"><span \
style="background-color:rgb(255,255,255)"><span \
style="font-family:arial,helvetica,sans-serif"><span>I have also \
</span>installed</span><span><font face="arial,helvetica,sans-serif"> Qt Designer \
using (FYI: I also installed an x-server)<br><span \
style="background-color:rgb(217,234,211)"><span \
style="font-family:monospace,monospace"> apt-cyg install \
qt5-devel-tools</span></span>

</font></span></span></span></pre><pre><span \
style="background-color:rgb(217,234,211)"><span \
style="background-color:rgb(255,255,255)"><span><font \
face="arial,helvetica,sans-serif">I have found the location of the widget plugins \
using:<br><span style="background-color:rgb(217,234,211)"><span \
style="font-family:monospace,monospace"><br>$ qtdiag-qt5 | grep Plugins<br>  \
PluginsPath: /usr/lib/qt5/plugins</span></span><br><br></font></span></span></span></pre><pre><span \
style="background-color:rgb(217,234,211)"><span \
style="background-color:rgb(255,255,255)"><span><font \
face="arial,helvetica,sans-serif">and the plugins for qt-designer are found in<br> \
<span style="background-color:rgb(217,234,211)"><span \
style="background-color:rgb(255,255,255)"><span><font \
face="arial,helvetica,sans-serif"><span \
style="background-color:rgb(217,234,211)"><span \
style="font-family:monospace,monospace">/usr/lib/qt5/plugins/designer<br></span><span \
style="font-family:monospace,monospace"><br></span></span></font></span></span></span></font></span></span></span></pre><pre><span \
style="background-color:rgb(255,255,255)"><span \
style="font-family:arial,helvetica,sans-serif"><span><span>To check that the \
plugins<span style=""></span><span style=""> work </span>I have installed some \
dll&#39;s inside the above folder and they do show up in the widget pallete of Qt \
Designer.<br></span></span></span></span></pre><pre><span \
style="background-color:rgb(255,255,255)"><span \
style="font-family:arial,helvetica,sans-serif"><span><span \
style="color:rgb(0,0,0)">Moreover I have installed </span>cygpyqt5.dll which does not \
seem to work as it is supposed to check inside <span \
style="background-color:rgb(217,234,211)"><span \
style="background-color:rgb(255,255,255)"><span><font \
face="arial,helvetica,sans-serif"><span \
style="background-color:rgb(217,234,211)"><span \
style="background-color:rgb(255,255,255)"><span><font \
face="arial,helvetica,sans-serif"><span \
style="background-color:rgb(217,234,211)"><span \
style="font-family:monospace,monospace">/usr/lib/qt5/plugins/designer/python<br></span \
></span></font></span></span></span></font></span></span></span></span></span></span></pre><pre><span \
> style="font-family:arial,helvetica,sans-serif"><span \
> style="background-color:rgb(255,255,255)"><span><span \
> style="background-color:rgb(217,234,211)"><span \
> style="background-color:rgb(255,255,255)"><span><span \
> style="background-color:rgb(217,234,211)"><span \
> style="background-color:rgb(255,255,255)"><span><span \
> style="background-color:rgb(217,234,211)"><span \
> style="background-color:rgb(255,255,255)"><span style="">for pyqt widget plugins \
> and add them to the widget pallete. I DO have a few pyqt plugins inside the folder \
> but <span style="background-color:rgb(255,255,255)"><span \
> style="font-family:arial,helvetica,sans-serif"><span>cygpyqt5.dll</span></span></span> \
> does not find them.<br></span></span></span></span></span></span></span></span></span></span></span></span></pre><pre><span \
> style="font-family:arial,helvetica,sans-serif"><span \
> style="background-color:rgb(255,255,255)"><span><span \
> style="background-color:rgb(217,234,211)"><span \
> style="background-color:rgb(255,255,255)"><span><span \
> style="background-color:rgb(217,234,211)"><span \
> style="background-color:rgb(255,255,255)"><span><span \
> style="background-color:rgb(217,234,211)"><span \
> style="background-color:rgb(255,255,255)"><span style="">I am using python 2.7 and \
> qt 5.9.4<br></span></span></span></span></span></span></span></span></span></span></span></span></pre><pre><span \
> style="font-family:arial,helvetica,sans-serif"><span \
> style="background-color:rgb(255,255,255)"><span><span \
> style="background-color:rgb(217,234,211)"><span \
> style="background-color:rgb(255,255,255)"><span><span \
> style="background-color:rgb(217,234,211)"><span \
> style="background-color:rgb(255,255,255)"><span><span \
> style="background-color:rgb(217,234,211)"><span \
> style="background-color:rgb(255,255,255)"><span style="">Have in mind that I have \
> tried it on my Mac and it works, but it does not work on cygwin. Any help is \
> appreciated!<br><br></span></span></span></span></span></span></span></span></span></span></span></span></pre><pre><span \
> style="font-family:arial,helvetica,sans-serif"><span \
> style="background-color:rgb(255,255,255)"><span><span \
> style="background-color:rgb(217,234,211)"><span \
> style="background-color:rgb(255,255,255)"><span><span \
> style="background-color:rgb(217,234,211)"><span \
> style="background-color:rgb(255,255,255)"><span><span \
> style="background-color:rgb(217,234,211)"><span \
> style="background-color:rgb(255,255,255)"><span style="">Thank \
> you,<br></span></span></span></span></span></span></span></span></span></span></span></span></pre><pre><span \
> style="font-family:arial,helvetica,sans-serif"><span \
> style="background-color:rgb(255,255,255)"><span><span \
> style="background-color:rgb(217,234,211)"><span \
> style="background-color:rgb(255,255,255)"><span><span \
> style="background-color:rgb(217,234,211)"><span \
> style="background-color:rgb(255,255,255)"><span><span \
> style="background-color:rgb(217,234,211)"><span \
> style="background-color:rgb(255,255,255)"><span \
> style="">Biofysikos<br></span></span></span></span></span></span></span></span></span></span></span></span></pre><pre><span \
> style="background-color:rgb(217,234,211)"><span \
> style="background-color:rgb(255,255,255)"><span><font \
> face="arial,helvetica,sans-serif"><br></font></span></span></span></pre>

</div></div></div></div>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic