Building on a static version of qt
-
http://developer.qt.nokia.com/wiki/How_to_build_a_static_Qt_version_for_Windows_with_gcc
LOL that's exactly where I've looked at already- will try agian
and no - I am not building commercial apps, I build them for my school's programming club and some other friends as well. No profit is being made.
-
I am not a lawyer.
-
I thought, if you want to link statically, open source also be an option?
-
bq. It doesn’t matter how your application is licensed or if it is commercial or not. You link Qt statically – you will need a commercial Qt license.
Nice slides :) But,It is all about Commercial and LGPL.. and not about GPL.
-
[quote author="Gerolf" date="1314954659"]I thought, if you want to link statically, open source also be an option? [/quote]
You are right. The paragraph was quite misleading. I removed it.
-
so... you can't link statically under LGPL...?! Because then every app I write is at least 100 MB+ in size... which the school does not allow because their shared network drive is so small...
-
[quote author="X9DN" date="1314974704"]so... you can't link statically under LGPL...?! Because then every app I write is at least 100 MB+ in size... which the school does not allow because their shared network drive is so small...[/quote]
You're probably using debud DLLs? Compile release, and use release DLLS, they are 5MB (at least used to be, it's been a while since I've been on Windows).
-
Why is every app 100+ MB?
You need at least QtGui and QtCore, together about 13 MB, and you only need them once...
Did you perhaps use the debug versions? -
Just would like to know how you managed to combine them together. I have been trying for hours yet no luck. A small tutorial would be nice thanks!
-
<Qt Root folder>\Desktop\Qt\4.7.3\mingw\bin
Here you can find, The dlls you require. When you take debug version, for example , QtCored4.dll its about 31mb. But what exactly you need is QtCore4.dll and is about 2.5 mb.
same case for other libraries.
Anyway, you are building statically, and you must be building the debug version.