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 static link ?
Forum Updated to NodeBB v4.3 + New Features

How static link ?

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 449 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.
  • A Offline
    A Offline
    AndrzejB
    wrote on last edited by
    #1

    Hi, I am new Qt user. My first application has 28 KB but it needs 5 DLL with 18 megabytes. It is possible to link only used functions to exe? I prefer 10 MB exe than 18 MB DLLs.

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

      Hi and welcome
      yes it's possible to build a static version of the Qt and avoid the Dlls. However,you
      must then open souce your project or buy a license so that is something to consider.
      That said, it involves some steps
      https://wiki.qt.io/Build_Standalone_Qt_Application_for_Windows

      1 Reply Last reply
      3

      • Login

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