[PyQt] posible PyQt 5.12 bug?

José Antonio Fernández Fernández aullasistemas at gmail.com
Mon Feb 11 10:08:33 GMT 2019


Thank you !. This was an example, but the real code is this:

https://github.com/Aulla/pineboo/blob/master/pineboolib/plugins/dgi/dgi_qt/dgi_objects/filedialog.py
The strange thing is that using pyqt 5.11.3 works, but I do a sudo -H
pip3 install PyQt5 == 5.12, it updates and it does not work anymore
...
regards




El lun., 11 feb. 2019 a las 10:45, Phil Thompson (<
phil at riverbankcomputing.com>) escribió:

> On 11 Feb 2019, at 7:43 am, José Antonio Fernández Fernández <
> aullasistemas at gmail.com> wrote:
> >
> > Hi all. I've updated from PyQt 5.11.3 to 5.12, and this simple code does
> not run (QFileDialog is not displayed). It can be a bug ?. regards
> >
> > from PyQt5.QtWidgets import QFileDialog
> > parent = QtWidgets.QApplication.activeModalWidget()
> > base_dir = "/home/foo"
> > filter = "*.*"
> > QFileDialog.getSaveFileName(parent,"caption example",base_dir , filter)
>
> Works for me - once you fix the two bugs in the above.
>
> Phil
>
>

-- 
Cuenta de correo propiedad de FERNÁNDEZ FERNÁNDEZ, JOSÉ ANTONIO y de uso
estrictamente profesional. Este mensaje electrónico está dirigido
únicamente a la(s) direcciones indicadas anteriormente: el carácter
confidencial, personal e intransferible del mismo está protegido legalmente.
Cualquier revelación, uso o reenvío no autorizado, completo o en parte está
prohibido. Si ha recibido este mensaje por equivocación notifíquelo
inmediatamente a la persona que lo remite y borre el mensaje original junto
con sus ficheros anexos sin leerlo ni grabarlo total o parcialmente. Si
usted no desea recibir correos de nuestra empresa, por favor, envíenos un
correo a AULLASISTEMAS at GMAIL.COM manifestando tal deseo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20190211/0095b05e/attachment.html>


More information about the PyQt mailing list