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] Deployment problem. No errors, just doesn't run.

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

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 921 Views 1 Watching
  • 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.
  • Q Offline
    Q Offline
    qtsms
    wrote on last edited by
    #1

    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...

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

      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)!

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

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        qtsms
        wrote on last edited by
        #3

        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!

        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