Important: Please read the Qt Code of Conduct -

Qml App Deployment

  • Hi there!
    I have a windows qml application built in Qt 5.4.2 and I want to make a deployment in another machine where Qt isn't installed. I've followed these instructions but when I run it in another computer (release compile) no window is loaded but the process is running in background. I think this could happened because of some missing libraries, but I'm not entirely sure about that. I've tried a virtual machine and a white window appeared (the application has a black background). On this virtual machine I've deployed the debug compile that opens a command prompt for the qml debug and when the application starts it logs OpenGL problems. I think this is a hardware mismatch problem at OS level because of the virtual machine.
    I've also tried the static linking but with no luck. In the debug compile, my application file size was 620MB but when I tried to run it, a pop up said that Qt5Coded.dll was missing. Clearly, I haven't built correctly the static Qt.
    So, my question is if someone has ever tried or been successful at deploying a Qt5 application on a windows.
    Thanks in advanced
    Best regards

  • Lifetime Qt Champion


    Did you use windeployqt? If so did you pass the path to your .qml sources ?

Log in to reply