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. Problem Deploying on Windows
QtWS25 Last Chance

Problem Deploying on Windows

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

    I recently switched to Qt 5 and I found myself in big problems when I try to deploy my program.
    In the same folder I placed:
    TheProgram.exe
    D3DCompiler_43.dll
    icudt51.dll
    icuin51.dll
    icuuc51.dll
    libEGL.dll
    libGLESv2.dll
    Qt5Core.dll
    Qt5Gui.dll
    Qt5Widgets.dll

    When I double click on the exe it won't give me any "missing library" error but still it won't start. On my machine works fine (even if I move it around in the directories).
    I even tried copying ALL the dlls from the Qt folder put that didn't solve the problem.
    Any suggestion?
    Thanks in advance

    "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
    ~Napoleon Bonaparte

    On a crusade to banish setIndexWidget() from the holy land of Qt

    1 Reply Last reply
    0
    • U Offline
      U Offline
      unai_i
      wrote on last edited by
      #2

      Hi,
      You are at least missing platform plugin ("QTDIR\plugins\platforms\qwindows.dll") in your installer. Other dependencies may be required depending of modules used.

      1 Reply Last reply
      0
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #3

        Please consult the official "deployment guide":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html. It's quite long, but contains all the information.

        (Z(:^

        1 Reply Last reply
        0
        • K Offline
          K Offline
          KeithS
          wrote on last edited by
          #4

          Did you run the appropriate vcredist exe on the target machine to install the C runtime libs that the application will expect?

          Best way of debugging this sort of thing is with Dependency Walker - google it. It's saved me a lot of headaches (although it does produce some misleading warnings that can be ignored).

          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