[PyQt] qt designer bug in both pyqt4 and pyqt5 for windows

Ben Phillips ben.phillips910 at gmail.com
Tue Nov 6 14:22:37 GMT 2018


Hi Kyle,

I can see that the pyqt5.dll is loaded now, however I can't find out how to
import my custom widget plugins written in python. I have tried setting the
PYQTDESIGNERPATH to the path where my plugins are located but Qt Designer
does not register the plugin?

Regards
Ben


On Tue, 23 Oct 2018, 15:51 Ben Phillips <ben.phillips910 at gmail.com wrote:

> Hi
>
> I won't have time to test this until next week.
>
> I'll let you know how it goes.
>
> Regards
> Ben
>
> On Mon, 22 Oct 2018, 12:09 , <Ben.Phillips2 at barclays.com> wrote:
>
>> Sure I'll give this a try as soon as possible.
>>
>> Cheers
>> Ben
>>
>>
>> -----Original Message-----
>> From: PyQt <pyqt-bounces at riverbankcomputing.com> On Behalf Of Kyle
>> Altendorf
>> Sent: 21 October 2018 22:42
>> To: pyqt at riverbankcomputing.com; Ben Phillips <ben.phillips910 at gmail.com>
>> Subject: Re: [PyQt] qt designer bug in both pyqt4 and pyqt5 for windows
>>
>>
>> This mail originated from outside our organisation - sda at fstab.net
>>
>> Could you try the 1.4rc1 series?
>>
>>
>> https://clicktime.symantec.com/a/1/3Qe1OO7XM5ha89U8TyfofKRgEf563QvmwPCdnPRrBo8=?d=bf9oY2bhRXIQMKGckMqVd_lxgqtRk8nxrF3NXSmLq6MzXt5B2muYSqvurvKSsvxhdaj83tvnYFAd7aURrIBp91zDRc0l3qHnpKluJKiG0a6yUIN9uv9OtGkOVC0xBy029Z9lSffOEsREtCmoHCBoMJFqW7ogbvBLtRo9Pc5qR9AtzlfbtYSVNgjBQs-9CLdPd2eUtzsBNkGRk7Ep0TptnnSjwq2K4W6dFybFUsWrRmNVdMuYmvwYtiM1CTnF-Yu8GCsaMaTzdEcGCasDXeFIQbZyGtcbrqYNc_l3SuJ3qO4nij4tNtTXzaKIo2aJiy1ct0CR8Q_K2yVdH24O0YVOeKwtDRn0IwRxU0NuOhjDU0Zm0otNTKFFc7UIxz2vDiyoKaBhUS4Wt7GGX6gn6HvX6qEZsUbLtmxd3LU_hnUgxFG9SJ9N&u=https%3A%2F%2Fpypi.org%2Fproject%2Fpyqt5-tools%2F5.11.2.1.4rc1%2F
>>
>> I'm working on building for Qt versions other than what AppVeyor has
>> installed, but no real working 5.11.3 yet I don't think.
>>
>> Cheers,
>> -kyle
>>
>> On October 6, 2018 2:54:10 PM EDT, Kyle Altendorf <sda at fstab.net> wrote:
>> >I've done a lot of work on pyqt5-tools recently... but just found
>> >yesterday that my testing was apparently woefully incomplete.  It does
>> >work some places, but not in my fresh VM.  I'll have to dig a bit and
>> >see what I've got wrong.  Sorry for the trouble.
>> >
>> >Cheers,
>> >-kyle
>> >
>> >On October 6, 2018 7:44:57 AM EDT, Ben Phillips
>> ><ben.phillips910 at gmail.com> wrote:
>> >>Hi All,
>> >>
>> >>I am trying to use Qt designer but the pyqt4.dll and pyqt5.dll plugins
>> >>fail to load for both pyqt4 and pyqt5 respectively. The error messages
>> >(that
>> >>can
>> >>be found via help->about plugins) are as follow:
>> >>
>> >>
>> >>*PyQt4*
>> >>Cannot load library
>>
>> >>C:/Local/Git_Repo/hyperioninfra/auto_tools/front_end/general/venv/Lib/site-packages/PyQt4/plugins/designer/pyqt4.dll:
>> >>The specified module could not be found.
>> >>
>> >>
>> >>*PyQt5*
>> >>Cannot load library
>>
>> >>C:\Local\Git_Repo\hyperioninfra\auto_tools\front_end\test\venv\Lib\site-packages\pyqt5-tools\plugins\designer\pyqt5.dll:
>> >>The specified module could not be found.
>> >>
>> >>
>> >>Please see image attachments for specific info.
>> >>
>> >>
>> >>I am using Python 3.6 with Windows 7. I have downloaded pyqt4 via
>> >>“pip3.6
>> >>install PyQt4_windows_whl” and pyqt5 via “pip3.6 install PyQt5”. For
>> >>pyqt4
>> >>I used the qt designer that came with the package, and for pyqt5 I
>> >used
>> >>the
>> >>qt designer from pyqt5-tools which I download via “pip3.6 install
>> >>pyqt5-tools”.
>> >>
>> >>
>> >>I think these issues are the reason I cannot integrate custom widgets
>> >>written in python to the designers which is my end goal.
>> >>
>> >>
>> >>Regards,
>> >>Ben
>> >_______________________________________________
>> >PyQt mailing list    PyQt at riverbankcomputing.com
>> >https://clicktime.symantec.com/a/1/Ll9OWAJgaoVAYAsH6J-fXinDTf6c78nxPXDs
>> >vMFt9Ws=?d=bf9oY2bhRXIQMKGckMqVd_lxgqtRk8nxrF3NXSmLq6MzXt5B2muYSqvurvKS
>> >svxhdaj83tvnYFAd7aURrIBp91zDRc0l3qHnpKluJKiG0a6yUIN9uv9OtGkOVC0xBy029Z9
>> >lSffOEsREtCmoHCBoMJFqW7ogbvBLtRo9Pc5qR9AtzlfbtYSVNgjBQs-9CLdPd2eUtzsBNk
>> >GRk7Ep0TptnnSjwq2K4W6dFybFUsWrRmNVdMuYmvwYtiM1CTnF-Yu8GCsaMaTzdEcGCasDX
>> >eFIQbZyGtcbrqYNc_l3SuJ3qO4nij4tNtTXzaKIo2aJiy1ct0CR8Q_K2yVdH24O0YVOeKwt
>> >DRn0IwRxU0NuOhjDU0Zm0otNTKFFc7UIxz2vDiyoKaBhUS4Wt7GGX6gn6HvX6qEZsUbLtmx
>> >d3LU_hnUgxFG9SJ9N&u=https%3A%2F%2Fwww.riverbankcomputing.com%2Fmailman%
>> >2Flistinfo%2Fpyqt
>> _______________________________________________
>> PyQt mailing list    PyQt at riverbankcomputing.com
>>
>> https://clicktime.symantec.com/a/1/Ll9OWAJgaoVAYAsH6J-fXinDTf6c78nxPXDsvMFt9Ws=?d=bf9oY2bhRXIQMKGckMqVd_lxgqtRk8nxrF3NXSmLq6MzXt5B2muYSqvurvKSsvxhdaj83tvnYFAd7aURrIBp91zDRc0l3qHnpKluJKiG0a6yUIN9uv9OtGkOVC0xBy029Z9lSffOEsREtCmoHCBoMJFqW7ogbvBLtRo9Pc5qR9AtzlfbtYSVNgjBQs-9CLdPd2eUtzsBNkGRk7Ep0TptnnSjwq2K4W6dFybFUsWrRmNVdMuYmvwYtiM1CTnF-Yu8GCsaMaTzdEcGCasDXeFIQbZyGtcbrqYNc_l3SuJ3qO4nij4tNtTXzaKIo2aJiy1ct0CR8Q_K2yVdH24O0YVOeKwtDRn0IwRxU0NuOhjDU0Zm0otNTKFFc7UIxz2vDiyoKaBhUS4Wt7GGX6gn6HvX6qEZsUbLtmxd3LU_hnUgxFG9SJ9N&u=https%3A%2F%2Fwww.riverbankcomputing.com%2Fmailman%2Flistinfo%2Fpyqt
>>
>> This e-mail and any attachments are confidential and intended solely for
>> the addressee and may also be privileged or exempt from disclosure under
>> applicable law. If you are not the addressee, or have received this e-mail
>> in error, please notify the sender immediately, delete it from your system
>> and do not copy, disclose or otherwise act upon any part of this e-mail or
>> its attachments.
>> Internet communications are not guaranteed to be secure or virus-free.
>> The Barclays Group does not accept responsibility for any loss arising from
>> unauthorised access to, or interference with, any Internet communications
>> by any third party, or from the transmission of any viruses. Replies to
>> this e-mail may be monitored by the Barclays Group for operational or
>> business reasons.
>> Any opinion or other information in this e-mail or its attachments that
>> does not relate to the business of the Barclays Group is personal to the
>> sender and is not given or endorsed by the Barclays Group.
>> Barclays Services Limited provides support and administrative services
>> across Barclays group. Barclays Services Limited is an appointed
>> representative of Barclays Bank UK plc, Barclays Bank plc and Clydesdale
>> Financial Services Limited. Barclays Bank UK plc and Barclays Bank plc are
>> authorised by the Prudential Regulation Authority and regulated by the
>> Financial Conduct Authority and the Prudential Regulation Authority.
>> Clydesdale Financial Services Limited is authorised and regulated by the
>> Financial Conduct Authority.
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20181106/6328eb5f/attachment.html>


More information about the PyQt mailing list