Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.2
-
None
-
Windows 10 LTSC 21H2
Description
use qt creator guide to create a qml project, paste the qml code below:
import QtQuick 2.15 import QtQuick.Window 2.15 import QtWebEngine 1.10 Window { width: 640 height: 480 visible: true title: qsTr("Hello World") WebEngineView { id: webView anchors.fill: parent url: "http://127.0.0.1/empty.html" } }
empty.html:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Empty Page</title> <style> body { height: 100%; background-color: beige; } </style></head><body> <p>This is a empty page.</p></body>
watch the attched video.
sometimes the whole page become blank (pure white) and recover after 1s.