Description
Running the following qml in a QML Application crashes (create new QML Quick Application, paste QML in main.qml)
This message appears in the Output window of creator:
"QWebEngine: OpenGL resource sharing is not set up in QtQuick. Please make sure to call QtWebEngine::initialize() in your main() function."
Running it in a QML UI Project works perfectly.
So here's the QML
import QtQuick 2.1
import QtQuick.Controls 1.1
import QtWebEngine 1.0
ApplicationWindow {
width: 1280
height: 720
visible: true
WebEngineView
{ id: webview url: "http://www.qt-project.org" anchors.fill: parent }}
Attachments
Issue Links
- resulted in
-
QTCREATORBUG-17296 Creator crashes because it did not call QtWebEngine::initialize()
-
- Closed
-