On Tue, Sep 26, 2017 at 06:32:01AM +0000, Phil wrote:
> Anyway, I'm keen to try a Qt5 GUI project. Unfortunately and despite my best
> efforts, I'm getting nowhere. Created files are ending up in the wrong
> directories and I'm getting an error message that reads "module
> 'PyQt5.QtGui' has no attribute 'QApplication'". An extensive Internet search
> has not helped.

In Qt5, many things moved from QtGui to QtWidgets.

QtGui.QApplication only exists in Qt4, you probably want
QtWidgets.QApplication.

Florian

-- 
https://www.qutebrowser.org  | [email protected] (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072  | https://the-compiler.org/pubkey.asc
         I love long mails!  | https://email.is-not-s.ms/

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Eric mailing list
[email protected]
https://www.riverbankcomputing.com/mailman/listinfo/eric

Reply via email to