Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QtQuick deployment - blank screen

QtQuick deployment - blank screen

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 4 Posters 1.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aykutb
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • V Offline
      V Offline
      Vincent007
      wrote on last edited by
      #2

      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?

      1 Reply Last reply
      0
      • L Offline
        L Offline
        Lucijan
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • M Offline
          M Offline
          madoodia
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved