Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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



  • I guess you missed some plugins. Are you using ANGLE? If yes, are there any ANGLE dlls?

    furthermore, did you miss some plugins dlls in plugins folder?



  • I think you're missing libEGL.dll. You may also want to add libGLESv2.dll.



  • hey there
    i want to know that did you solve your problem?

    i have same problem to you, and i need know about solution of that.

    i really thanks to you if share your searching result

    thanks


Log in to reply