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

List:       pykde
Subject:    [PyQt] QWebEngineView black screen
From:       "Rembrand (daxLAB Limitted)" <rembrand () daxlab ! com>
Date:       2015-08-09 10:14:19
Message-ID: 1itki18hwxalri20vy49dgw2.1439113500883 () email ! android ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]

[Attachment #4 (text/plain)]


Dear all,

I managed to create a compiled version of qwebengineview for my Fedora 20 Linux \
desktop. I can compile and run the C++ examples successfully, I can even run the \
qwebengineview widget inside a basic simple Pyqt5 app when I build the ui by python \
code and it then displays the Google website as it should.

However, when I use qtdesigner to design the ui, there is no qwebengineview widget to \
place on my app inside the widget box.

So what I do then is, I add by python code qwebengineview to a qgridlayout which I \
then set as layout to a standard widget I added already with qtdesigner.

Using this approach shows a black screen in which the Google website is displayed \
(but not visible). I know it is there since when I hover my mouse, I see my mouse \
pointer change when it is placed over a hyperlink. I can even select invisible text \
and paste that into a plain text editor to proof the qwebengine is there working but \
not visible.

I use Qt5.4.1 with python 2.7.8 and PyQt 5.4 on Fedora Linux inside a virtual box.

Any ideas why it is not working well when using a GUI being build with qtdesigner?

Best regards,
Rembrand

Cell phone: +31 646.224.526
Email: rembrand@daxlab.com
Sent from my smart phone.


[Attachment #5 (text/html)]

<html><head><meta http-equiv="Content-Type" content="text/html; \
charset=UTF-8"></head><body ><div><br></div><div>Dear all,</div><div><br></div><div>I \
managed to create a compiled version of qwebengineview for my Fedora 20 Linux \
desktop. I can compile and run the C++ examples successfully, I can even run the \
qwebengineview widget inside a basic simple Pyqt5 app when I build the ui by python \
code and it then displays the Google website as it \
should.</div><div><br></div><div>However, when I use qtdesigner to design the ui, \
there is no qwebengineview widget to place on my app inside the widget \
box.</div><div><br></div><div>So what I do then is, I add by python code \
qwebengineview to a qgridlayout which I then set as layout to a standard widget I \
added already with qtdesigner.</div><div><br></div><div>Using this approach shows a \
black screen in which the Google website is displayed (but not visible). I know it is \
there since when I hover my mouse, I see my mouse pointer change when it is placed \
over a hyperlink. I can even select invisible text and paste that into a plain text \
editor to proof the qwebengine is there working but not \
visible.</div><div><br></div><div>I use Qt5.4.1 with python 2.7.8 and PyQt 5.4 on \
Fedora Linux inside a virtual box.</div><div><br></div><div>Any ideas why it is not \
working well when using a GUI being build with qtdesigner?</div><div><br></div><div \
style="font-size:9px">Best regards,</div><div \
style="font-size:9px">Rembrand</div><div style="font-size:9px"><br></div><div \
style="font-size:9px">Cell phone: +31 646.224.526</div><div \
style="font-size:9px">Email: rembrand@daxlab.com</div><div style="font-size:9px">Sent \
from my smart phone.</div><div \
style="font-size:9px"><br></div><div></div><div></div></body></html>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://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