-1

I've posted a few posts about this , and still there's no answer!

I'm assuming lots of people program in Qt creator , I have , it's great.. the only problem is the dll's the the executable file needs to work, most of the size are from icu files!

Let's say your created a program , a simple one that does something , the size is usually around 30mb! with all the dll's!! that's just a lot!

I don't see a lot of posts with the same problem , why is that ? did people figure a solution or something ?

Qt 5.2.1 , msvc 2012

1 Answers1

0

You can compile Qt to link statically. An UPX-compressed executable using core + gui + widgets module, with no other dependencies (no need for MSVC runtime!), is about 5MB. The same for Qt 4 is 4MB, so not that big of a difference. You can recompile Qt with ICU disabled if you don't need webkit, as only webkit has a hard dependency on ICU.

Community
  • 1
  • 1
Kuba hasn't forgotten Monica
  • 95,931
  • 16
  • 151
  • 313
  • first sorry about the duplicate , I've been looking for an answer for 3 days now , I checked the post , great one ^^ , I think I'll compile a static version then. thank u – user3313840 Mar 26 '14 at 15:46