Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
6.2.3, 6.2.4
-
None
-
Windows 10
Intel HD Graphics
Description
Steps are pretty simple. Create default quick application. Put any QML visual item into window. Run.
Window is blank, and output is filled with
Failed to create vertex shader: Error 0x80070057: The parameter is incorrect. Failed to build graphics pipeline state
If changing graphics API to QSGRendererInterface::OpenGLRhi, the rectangle is visible and no errors in output, but the app blinks on resizing.
main.cpp
#include <QGuiApplication> #include <QQmlApplicationEngine> #include <QQuickWindow> int main(int argc, char *argv[]) { // QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGLRhi); QGuiApplication app(argc, argv); QQmlApplicationEngine engine; const QUrl url(u"qrc:/qml6/main.qml"_qs); QObject::connect(&engine, &QQmlApplicationEngine::objectCreated, &app, [url](QObject *obj, const QUrl &objUrl) { if (!obj && url == objUrl) QCoreApplication::exit(-1); }, Qt::QueuedConnection); engine.load(url); return app.exec(); }
main.qml
import QtQuick Window { width: 640 height: 480 visible: true title: qsTr("Hello World") Rectangle { anchors.fill: parent anchors.margins: 40 color: "magenta" } }
Attachments
Issue Links
- duplicates
-
QTBUG-78648 RHI: Does not work with Windows10 inside VMWare (Fusion)
- Closed
- relates to
-
QTBUG-78648 RHI: Does not work with Windows10 inside VMWare (Fusion)
- Closed