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. Release QT application without the DLLs
Qt 6.11 is out! See what's new in the release blog

Release QT application without the DLLs

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 4 Posters 357 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.
  • P Offline
    P Offline
    Pariposh
    wrote on last edited by
    #1

    is it possible for QT to Release QT application without the DLLs and other files in the release folder?
    only the .exe which will work without the files?

    JonBJ jsulmJ 2 Replies Last reply
    0
    • P Pariposh

      is it possible for QT to Release QT application without the DLLs and other files in the release folder?
      only the .exe which will work without the files?

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @Pariposh
      You can "release" whatever you want, including just the .exe, but without the needed DLLs in the same folder how is it going to work on target machines? Unless you are sure/want to take the risk that the target machine has all the necessary DLLs already and that they will be found correctly at runtime, e.g. they are on the PATH. Usually you use windeployqt to package, distribute and install all the necessary files.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Asperamanca
        wrote on last edited by
        #3

        With a commercial license, you can use static linking so the executable will include all necessary Qt functions.

        1 Reply Last reply
        0
        • P Pariposh

          is it possible for QT to Release QT application without the DLLs and other files in the release folder?
          only the .exe which will work without the files?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Pariposh You would need to build Qt and ALL dependencies as static libraries. Also, if you do static linking with LGPL software you have to consider the obligations of that license! Basically it would mean to provide the source code of your application to everyone who has access to your application and asks you for source code.

          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