Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [Solved]Deploy qml application to windows7 some ok some show blank screen
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 4 Posters 3.5k 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.
  • W Offline
    W Offline
    wcren2000
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • IamSumitI Offline
      IamSumitI Offline
      IamSumit
      wrote on last edited by
      #2

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

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

      Be Cute

      1 Reply Last reply
      0
      • bagumkaB Offline
        bagumkaB Offline
        bagumka
        wrote on last edited by
        #3

        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.

        Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          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.

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • W Offline
            W Offline
            wcren2000
            wrote on last edited by
            #5

            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.

            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