[Solved]Deploy qml application to windows7 some ok some show blank screen



  • I deploy my QML application to USB and try on diffurent PC which is all the some running Windows7 x64. But some PC is Ok and some PC show me the blank empty screen .
    I deploy my app using windeployqt.exe and copy the required qml modle .Here is my app directory.

    platforms <folder>
    QtQuick <folder>
    QtQuick.2 <folder>
    app.exe
    icudt52.dll
    icuin52.dll
    icuuc52.dll
    libgcc_s_dw2-1.dll
    libstdc++-6.dll
    libwinpthread-1.dll
    Qt5Core.dll
    Qt5Gui.dll
    Qt5Network.dll
    Qt5Qml.dll
    Qt5Quick.dll
    Qt5Svg.dll
    Qt5Widgets.dll

    Is there missing some files or need to install some package on PC that show the empty screen?



  • Hi and welcome to devnet..
    may be this link could help you..

    http://stackoverflow.com/questions/15521178/deploying-qml-app



  • Hi, the best ultimate solution I've found was:
    http://qt-project.org/wiki/Deploy_an_Application_on_Windows
    But if you have product for massive usage, then you should read my post about your Qt 5.3 QML deployment experience (had more than 500 installations):
    http://qt-project.org/forums/viewthread/47283/
    Blocking problem in my opinion was OpenGL 2.0 usage of new QML QtQuick 2.0 and some hardware incompatibility. My team had to give up using QML, but we liked it very much. Usual Qt 5.3 widget app is working on all windows platforms without any problem.


  • Moderators

    Hi,

    QML apps need OpenGL 2.0 or higher.

    Check the graphics drivers of the PCs that get blank screens. What OpenGL support do they have? If it's less than OpenGL 2, then you need to use ANGLE instead. See "this article":http://qt-project.org/wiki/Qt-5-on-Windows-ANGLE-and-OpenGL

    Note: Qt 5.4 will feature automatic selection of the graphics backend. It will use OpenGL if available, and automatically switch to ANGLE otherwise.



  • Hi,Thanks for your recommendation!
    Exactly as JKSH and bagumka say:
    It is relative to graphics driver,I update the graphics driver of the PC which show the empty screen and everthing become ok.
    I will follow JKSH's suggestion to try ANGLE.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.