[SOLVED] Deployment problem. No errors, just doesn't run.



  • I'm trying to run my application on PC other than mine. On Windows XP it runs but doesn't work (I can see the main window but without controls inside), on Windows 7 it doesn't run at all. I've built it on Windows 8.1 but I don't have other machine with Windows 8 to test if it would run on it. I don't know if this information is relevant, the difference just catched my attention.

    What I've done was:

    1. I've built my application,
    2. I've moved all the libs (just to be safe) from C:/path/to/Qt/mingw_123/bin to application folder,
    3. I've created ./plugins and ./platforms folders and filled them with all the plugins and platform DLLs.

    I know it's overdo but I don't know what else I can do to run it...


  • Moderators

    Hi,

    Your application folder should not have a "plugins" folder.

    If you created a QML app, you need the contents of "qml" folder (similarly to the "bin" and "plugins" folder)

    If you created a QML and/or OpenGL app, you need to make sure your target PC supports OpenGL >=2.0 OR use ANGLE

    Follow the directions closely at http://qt-project.org/wiki/Deploy_an_Application_on_Windows

    !http://i.imgur.com/S582DlV.png(Location of deployment files)!



  • This image was really helpful. It still doesn't run on XP but as it works fine on 7 - there is some other issue, not realted to files. Thanks!


Log in to reply
 

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