Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Deploying an Application on Windows
Forum Updated to NodeBB v4.3 + New Features

Deploying an Application on Windows

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 822 Views 2 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.
  • W Offline
    W Offline
    WhatIf
    wrote on last edited by
    #1

    Hi,

    I successfully deployed a test app to get used to the process but I just have one question. I followed the steps in this link, not all of them just the ones I listed below:

    https://wiki.qt.io/Deploy_an_Application_on_Windows

    Copy the following into C:\Deployment
    The release version of MyApp.exe
    All the .dll files from C:\Qt\5.2.1\mingw48_32\bin
    All the folders from C:\Qt\5.2.1\mingw48_32\plugins\

    The program ran successfully but I'm just wondering if I need all the .dll files for every single program I develop. The .dll files are 1.9GB, are they all need for all types of programs?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi
      no no, often its far less.
      http://www.tripleboot.org/?p=138

      Ahh, you used the (Quick and dirty) and skipped the
      "If your app worked correctly, congratulations! You are almost ready for deployment. You don't want to ship a 1.5GB package though, so it's time to clean up unused files."

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        You don't need every DLLs shipped with Qt or MinGW.

        I don't remember if Qt 5.2.1 already had it but in more recent versions your have the windeployqt tool that helps getting the dependencies in place.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        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