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. Static build QT application in Windows
Forum Updated to NodeBB v4.3 + New Features

Static build QT application in Windows

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 899 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.
  • S Offline
    S Offline
    senthilraj
    wrote on 27 Jan 2015, 06:12 last edited by
    #1

    Hi,

    We have created a application in QT and followed the below link to deploy the same.

    http://qt-project.org/wiki/Deploy_an_Application_on_Windows

    After following this link, the application and its supporting DLL files size is around 400MB. Is it possible to reduce this file size further or is it possible to build the application in STATIC as we do the same in Linux?

    Thanks in Advance.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 27 Jan 2015, 07:30 last edited by
      #2

      You have probably included debug libraries by mistake. Please use the relese libraries, and the DLL size will drop to 10-30MB.

      It is possible to build Qt and your applications statically, of course. Just mind the license when doing so.

      (Z(:^

      1 Reply Last reply
      0
      • S Offline
        S Offline
        senthilraj
        wrote on 27 Jan 2015, 07:36 last edited by
        #3

        Hi Sierdzio,

        Thanks for your reply.

        Can you please provide the steps or link to build the QT applications statically?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sierdzio
          Moderators
          wrote on 27 Jan 2015, 07:58 last edited by
          #4

          I gues you've already did compile Qt statically for Linux, so the steps for Windows are similar.

          Here is a wiki entry for MinGW: "link":http://qt-project.org/wiki/How-to-build-a-static-Qt-for-Windows-MinGW.

          (Z(:^

          1 Reply Last reply
          0

          1/4

          27 Jan 2015, 06:12

          • Login

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