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. How to determine which DLLs are needed to distribute with a program built in Visual Studio VS2022?

How to determine which DLLs are needed to distribute with a program built in Visual Studio VS2022?

Scheduled Pinned Locked Moved Solved General and Desktop
distributiondeployment
3 Posts 2 Posters 390 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.
  • J Offline
    J Offline
    jdent
    wrote on 12 Mar 2024, 19:43 last edited by jdent 3 Dec 2024, 19:45
    #1

    I have a small application which uses several modules (core;gui;widgets;sql;charts). I tried copying the DLLs to the folder where the exe file resides but it fails to load - something about plugins...
    How do I determine which DLLs are needed to go with the executable? I can run dumpbin /IMPORTS but is there a simpler way and does this give us a complete list of DLLs? Also, does it need some .EXEs?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 12 Mar 2024, 19:47 last edited by
      #2

      Hi,

      The most simple is to use windeployqt. The tool will copy all the necessary files.

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

      J 1 Reply Last reply 12 Mar 2024, 20:10
      1
      • J jdent has marked this topic as solved on 12 Mar 2024, 20:10
      • S SGaist
        12 Mar 2024, 19:47

        Hi,

        The most simple is to use windeployqt. The tool will copy all the necessary files.

        J Offline
        J Offline
        jdent
        wrote on 12 Mar 2024, 20:10 last edited by
        #3

        @SGaist Thanks!!

        1 Reply Last reply
        0

        3/3

        12 Mar 2024, 20:10

        • Login

        • Login or register to search.
        3 out of 3
        • First post
          3/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved