[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] ImportError QtWebEngineWidgets
From: Florian Bruhin <me () the-compiler ! org>
Date: 2016-08-20 15:40:59
Message-ID: 20160820154058.t54wkrznbxilt5qw () tonks
[Download RAW message or body]
This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.
[Attachment #2 (multipart/signed)]
This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.
* Miguel Alejandro Fernández <alejandrogroso@hotmail.com> [2016-08-20 00:52:51 +0000]:
> in my application the next error is raised:
> from PyQt5.QtWebEngineWidgets import QWebEngineView
> ImportError: QtWebEngineWidgets must be imported before a
> QCoreApplication instance is created
>
> It does not make sense to have this requirement !.
> How to be that this requirement is present?
> Is it a bug?
Well, I'm guessing there's a reason it's there! ;)
From the code:
// QtWebEngineWidgets uses Q_COREAPP_STARTUP_FUNCTION so, in order to make sure
// things work (particularly on Windows) when we dynamically load the code, we
// check things have been done in the right order.
Florian
--
http://www.the-compiler.org | me@the-compiler.org (Mail/XMPP)
GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
I love long mails! | http://email.is-not-s.ms/
["signature.asc" (application/pgp-signature)]
[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