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

List:       pykde
Subject:    Re: [PyQt] PyQt 5.8.1: No module named 'PyQt5.QtWebKitWidgets'
From:       Zdenko_Podobný <zdenop () gmail ! com>
Date:       2017-03-23 14:47:50
Message-ID: CAJbzG8zwWtQRn81CwXMy54gPcLtWf_xaPAmtBEO7WwSoXzpXHg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thanks. Neither Qt Designer nor Qt Creator Designer from Windows Qt 5.8 has
widget for QtWebEngine. Strange.

But replacing QWebView with QtWebEngine in ui file fixed the problem...

Zdenko

On Mon, Mar 20, 2017 at 4:44 PM, Florian Bruhin <me@the-compiler.org> wrote=
:

> * Zdenko Podobn=C3=BD <zdenop@gmail.com> [2017-03-20 16:26:17 +0100]:
> > According doc[1] there should be class PyQt5.QtWebKitWidgets.QWebView
>
> You'll also need a Qt which comes with QtWebKit (for example a
> self-built one) - it was removed from Qt's binaries (which includes
> PyQt installed via pip) with Qt 5.6.
>
> You might also want to migrate to QtWebEngine instead, which is the
> official replacement.
>
> 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/
>
> _______________________________________________
> PyQt mailing list    PyQt@riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>

[Attachment #5 (text/html)]

<div dir="ltr">Thanks. Neither Qt Designer nor Qt Creator Designer from Windows Qt \
5.8 has widget for  <span style="font-size:12.8px">QtWebEngine. Strange.</span><input \
name="virtru-metadata" type="hidden" \
value="{&quot;email-policy&quot;:{&quot;state&quot;:&quot;closed&quot;,&quot;expiratio \
nUnit&quot;:&quot;days&quot;,&quot;disableCopyPaste&quot;:false,&quot;disablePrint&quo \
t;:false,&quot;disableForwarding&quot;:false,&quot;expires&quot;:false,&quot;isManaged&quot;:false},&quot;attachments&quot;:{}}"><div><span \
style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">But \
replacing  </span><span style="color:rgb(80,0,80);font-size:12.8px">QWebView with  \
</span><span style="font-size:12.8px">QtWebEngine</span><span \
style="font-size:12.8px">  in ui file fixed the problem...</span></div></div><div \
class="gmail_extra"><br clear="all"><div><div class="gmail_signature" \
data-smartmail="gmail_signature">Zdenko</div></div> <br><div class="gmail_quote">On \
Mon, Mar 20, 2017 at 4:44 PM, Florian Bruhin <span dir="ltr">&lt;<a \
href="mailto:me@the-compiler.org" target="_blank">me@the-compiler.org</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex">* Zdenko Podobný &lt;<a \
href="mailto:zdenop@gmail.com">zdenop@gmail.com</a>&gt; [2017-03-20 16:26:17 \
+0100]:<br> <span class="">&gt; According doc[1] there should be class \
PyQt5.QtWebKitWidgets.QWebView<br> <br>
</span>You&#39;ll also need a Qt which comes with QtWebKit (for example a<br>
self-built one) - it was removed from Qt&#39;s binaries (which includes<br>
PyQt installed via pip) with Qt 5.6.<br>
<br>
You might also want to migrate to QtWebEngine instead, which is the<br>
official replacement.<br>
<span class="HOEnZb"><font color="#888888"><br>
Florian<br>
<br>
--<br>
<a href="http://www.the-compiler.org" rel="noreferrer" \
target="_blank">http://www.the-compiler.org</a> | <a \
                href="mailto:me@the-compiler.org">me@the-compiler.org</a> \
                (Mail/XMPP)<br>
     GPG: 916E B0C8 FD55 A072 | <a href="http://the-compiler.org/pubkey.asc" \
                rel="noreferrer" \
                target="_blank">http://the-compiler.org/<wbr>pubkey.asc</a><br>
              I love long mails! | <a href="http://email.is-not-s.ms/" \
rel="noreferrer" target="_blank">http://email.is-not-s.ms/</a><br> \
</font></span><br>______________________________<wbr>_________________<br> PyQt \
mailing list      <a \
href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br> <a \
href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" rel="noreferrer" \
target="_blank">https://www.<wbr>riverbankcomputing.com/<wbr>mailman/listinfo/pyqt</a><br></blockquote></div><br></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