How I can create an exe with static links instead of dynamic?
Unsolved
General and Desktop
-
I want everything to be in the exe file, so there won't be any of the dll.
P.S. I don't use any 3rd libraries. -
@mandruk1331 You will need a static Qt build
-
@mandruk1331 Then you link against those static libs.
You should read http://doc.qt.io/QtForDeviceCreation/qtee-static-linking.html -
@mandruk1331
Note that to use Qt and static linking, you must- own a commercial licence for Qt
OR - Your app is fully open source and you provide link where user can get all of the source code.
Just so you know before using 3 hours to compile Qt as static :)
- own a commercial licence for Qt
-
@mandruk1331
Disclaimer: Not a lawyer
If the source is available when the product is released and the about clearly state its
open source , get it here blabla
using Qt etcIt should be super fine as far as I know.