Quantcast
Viewing all articles
Browse latest Browse all 4972

QtQuick deployment - blank screen

Hello, I Just created a simple project with QtQuick. main.cpp is; import QtQuick 2.0   Rectangle {     width: 360     height: 360     color:"red"     Text {         text: qsTr("Hello World")         anchors.centerIn: parent     }     MouseArea {         anchors.fill: parent         onClicked: {             Qt.quit();         }     } } I need to deploy this to any other Windows computer. So, firstly I am trying to run my app in my computer without QtCreator. I’ve added needed dll’s to release folder. However, when I double click on my application, it shows me just white screen. Then I’ve added ‘CONFIG += console’ line to my .pro file, and I redeployed my app. Now, when I double click on my application exe, I see both white screen of my app and a console with the message below: “class QWindowsEGLStaticContext *__cdecl QWindowsEGLStaticContext::create(void): Could not initialize egl display: error 12289 QTQuick: failed to create OpenGL context” I am running Windows 8.1 in my machine. If there is a simpler way for QtQuick app deployment, I would love to learn that too.. Thanks & regards

Viewing all articles
Browse latest Browse all 4972

Trending Articles