Problem deploying QtQuick2 application

  • Hello,
    I have an QtQuick2 application for Windows 10 64bit. I deployed it using windeployqt.exe. Everything is OK, the application starts with no problem. But when I try to start the application on an other computer (also Windows 10 64bit), the application is running on background only (it is visible in TaskManager) but no window is displayed.

    As for windeployqt: I passed all qml dirs using --qmldir parameter and I'm quite sure that all the neccessary qml files were copied to the application directory. So that the folders such QtQml, Qt, QtQuick, QtQuic.2 ... etc. are not missing in the application folder. The windeployqt.exe reported no errors.
    I have read a lot of posts with similar problem but no one helped.

    Is there some way how to check what the application is missing?

    Thanks in advance...

  • Either enable console (CONFIG += console in the .pro file and rebuild) temporarily or use DebugView to see if the QML engine outputs any errors.

  • Thank you! I used the DebugView and saw the problem (one of my qml plugins had unresolved dependency).

    Thank you again!

Log in to reply

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