Qt Static Build Is Very Big
-
while running configure scipt pass -nomake examples -nomake tests parameters. It will save you about 60Gb of space.
-
while running configure scipt pass -nomake examples -nomake tests parameters. It will save you about 60Gb of space.
-
@Taz742 I thought you were talking about static Qt build taking up a lot of space and not about application with statically linked Qt.
In this case What Qt modules do you use? What is your app size if you link Qt dynamically?
If i recall correctly my application with just core and gui modules took about 15Mb of space. -
@Taz742 I thought you were talking about static Qt build taking up a lot of space and not about application with statically linked Qt.
In this case What Qt modules do you use? What is your app size if you link Qt dynamically?
If i recall correctly my application with just core and gui modules took about 15Mb of space.@Eligijus
I use Qt 5.7
My project is the following: I need only .exe which reads .xml file, this xml is written in the file's address that should be downloaded and put in my specified location.
I have prepared everything but I do not want to use my program to duplicate .dll and other files. I need only .exe and be too small. -
@Taz742 I thought you were talking about static Qt build taking up a lot of space and not about application with statically linked Qt.
In this case What Qt modules do you use? What is your app size if you link Qt dynamically?
If i recall correctly my application with just core and gui modules took about 15Mb of space. -
-
@Taz742 Given the level of customisation provided there is no way for Qt to deliver pre-compiled binaries. It's just a series of config options to use when building Qt from sources. use
configure --list-features
to see them all -
@VRonin
Unfortunately, there are many big for me.
I started writing my project Native c ++ (Dev-Cpp 5.11 TDM-GCC 4.9.2), but I can not write http downloader.
Can anyone help me?@Taz742 said in Qt Static Build Is Very Big:
Dev-Cpp 5.11
Oh god, please no! Use a proper IDE. Qt Creator is already there for you
@Taz742 said in Qt Static Build Is Very Big:
I can not write http downloader
You can use libcurl. it's in C but it's only 300KB
P.S.
You are probably going off topic here give this is a Qt forum -
@Taz742 said in Qt Static Build Is Very Big:
Dev-Cpp 5.11
Oh god, please no! Use a proper IDE. Qt Creator is already there for you
@Taz742 said in Qt Static Build Is Very Big:
I can not write http downloader
You can use libcurl. it's in C but it's only 300KB
P.S.
You are probably going off topic here give this is a Qt forum@VRonin said in Qt Static Build Is Very Big:
Oh god, please no!
:D:D:D:D
When I started learning programming (Algorithm) Dev was my friend and I love it very much :)@VRonin said in Qt Static Build Is Very Big:
Use a proper IDE. Qt Creator is already there for you
Yes there is Qt but in this particular case only .exe need and very small.
@VRonin said in Qt Static Build Is Very Big:
You can use libcurl. it's in C but it's only 300KB
And where to use Libcurl, tell me the language of programming where I use Libcurl and then I will only have .exe 300KB.
Please teach me :)) -
@VRonin said in Qt Static Build Is Very Big:
Oh god, please no!
:D:D:D:D
When I started learning programming (Algorithm) Dev was my friend and I love it very much :)@VRonin said in Qt Static Build Is Very Big:
Use a proper IDE. Qt Creator is already there for you
Yes there is Qt but in this particular case only .exe need and very small.
@VRonin said in Qt Static Build Is Very Big:
You can use libcurl. it's in C but it's only 300KB
And where to use Libcurl, tell me the language of programming where I use Libcurl and then I will only have .exe 300KB.
Please teach me :))I love it very much
I guess it's a bit like my love of escargot.
Yes there is Qt but in this particular case only .exe need and very small.
There is no relation between what IDE you use and the complied output
And where to use Libcurl, tell me the language of programming where I use Libcurl and then I will only have .exe 300KB
Almost all C++ compilers can compile and link to C code. Just follow the tutorial
-
I love it very much
I guess it's a bit like my love of escargot.
Yes there is Qt but in this particular case only .exe need and very small.
There is no relation between what IDE you use and the complied output
And where to use Libcurl, tell me the language of programming where I use Libcurl and then I will only have .exe 300KB
Almost all C++ compilers can compile and link to C code. Just follow the tutorial
Just a note
Did you try
https://upx.github.io/Its the charactermap sample static compiled. and then compressed.
Its fully transparent for the user and very fast decompressor.
-
Just a note
Did you try
https://upx.github.io/Its the charactermap sample static compiled. and then compressed.
Its fully transparent for the user and very fast decompressor.
-
@mrjj That is sort of 7zip for .exes if the problem is space on the target device that will not solve very much as the program will be decompressed before it's started.
It works really well, however, if your problem is transferring the file around
-
Well it decompresses to memory so unless its a size memory issue (on target), it should not matter.
But of course it wont be as lovely small as curl + pugixml :)
-