26

Re: 5.7 static 15Mb

Hello, fin_81, you wrote: _> Lazy  produced the link _> https://wiki.qt.io/Performance_Tip_Startup_Time _> Look, can eat that the interesting. Optimization is more all the same startup time, re-arrange the object code does, and here that throws out the should found, looked . I do not know as at gcc. Like as it is necessary/OPT:REF msvc, it is necessary to try.

27

Re: 5.7 static 15Mb

Hello, SaZ, you wrote: SaZ> Well, in "System technologies" periodically search MFC-shnika for support the client of bank.... For support of the old... SaZ> I Think, vacancies came across to you. The last some years - vacancies on COM, ActiveX, MFC - even did not come across (for the Minsk market of software development). About WinAPI - sometimes, rarely enough, jumped. SaZ> because on MFC now do not start to do any commercial project. With it anybody also does not argue, though was popular earlier. SaZ> it is possible was more specific, though one real example of application where there would be such requirements? WinAPI - various system utilities (them not too it is not enough), it is simple a little outside of interests of broad masses. SaZ> because more or less difficult product will very quickly be bent at a development cycle if to write GUI on pure . Well DIFFICULT (in sense - volume) nobody writes a product on bare WinAPI. AG>> +100500 SaZ> Here imperceptibly we Take for an example of the good technician: to it are necessary both a screw-driver and a wrench and  and more many the different tool... As and for the good programmer: Qt - the fine product, but can sometimes be demanded and something another (WinAPI, MFC, and .).

28

Re: 5.7 static 15Mb

Hello, vf, you wrote: If to whom it is interesting: - msvc2015 without/OPT:REF - ~13Mb - msvc2015 c/OPT:REF - ~10Mb I do not know that else it is possible to invent for cardinal reduction of the size.

29

Re: 5.7 static 15Mb

Hello, vf, you wrote: vf> Hello, vf, you wrote: vf> If to whom it is interesting: vf> - msvc2015 without/OPT:REF - ~13Mb vf> - msvc2015 c/OPT:REF - ~10Mb vf> I do not know that else it is possible to invent for cardinal reduction of the size. You did not read wiki under the link which I gave. The approximate plan Download source codes qt: all in one http://download.qt.io/official_releases … .0/single/ or only the necessary parts http://download.qt.io/official_releases … bmodules/. Launch configure (.exe) with keys-ltcg-static and others to you necessary to keys. Collect Qt: make|gmake|nmake or that under Windows. While gathers qt, you can smoke, have a sleep or go to holiday as carries. In the project for  somehow it is necessary to specify that you collect using static  c lto, and you collect with usage lto.

30

Re: 5.7 static 15Mb

Hello, fin_81, you wrote: _> You did not read wiki under the link which I gave. The approximate plan In the same place it is written "optimize application startup time", about the size it is told nothing! Here looked, I see: When/LTCG is used to link modules compiled by using/Og,/O1,/O2, or/Ox, the following optimizations are performed: Cross-module inlining Interprocedural register allocation (64-bit operating systems only) Custom calling convention (x86 only) Small TLS displacement (x86 only) Stack double alignment (x86 only) Improved memory disambiguation (better interference information for global variables and input parameters) But after all it is all about speed, about file size is told nothing. _> collect Qt: make|gmake|nmake or that under Windows. While gathers qt, you can smoke, have a sleep or go to holiday as carries. It yes, yesterday collected under msvc2015. A question: I so understand, what it is simple the assumption? About the size anywhere it is told nothing, in difference from the same option/OPT:REF where it is explicitly written, and I already upon see.

31

Re: 5.7 static 15Mb

Hello, vf, you wrote: vf>... vf> Here looked, I see: vf> When/LTCG is used to link modules compiled by using/Og,/O1,/O2, or/Ox, the following optimizations are performed: vf>... Whether I without concept support msvc, the same that gcc and clang. But the key-ltcg should be used for "./configure.exe-ltcg-static...". If is not present, it is necessary to look aside mingw, whether it supports lto and how to collect qt c mingw. I have a suspicion that on Windows anybody does not solve such problems, and buys. The assembly from ZverSiDi with the correct key set is necessary for Booze. More shortly, your problems itself solve, successes.

32

Re: 5.7 static 15Mb

Hello, fin_81, you wrote: _> Hello, vf, you wrote: vf>>... vf>> Here looked, I see: vf>> When/LTCG is used to link modules compiled by using/Og,/O1,/O2, or/Ox, the following optimizations are performed: vf>>... Whether _> I without concept support msvc, the same that gcc and clang. But the key-ltcg should be used for "./configure.exe-ltcg-static...". Supports, QMAKE_CFLAGS_LTCG =-GL: msvc2015-ltcg => 11 Somehow so... It can be launched became faster, but "approximately" you will not define.

33

Re: 5.7 static 15Mb

34

Re: 5.7 static 15Mb

Hello, AlexGin, you wrote: AG> MFC; WinAPI - give smaller volume exe-shnika. WINAPI - yes! MFC - is not present

35

Re: 5.7 static 15Mb

Hello, SaZ, you wrote: SaZ> MFC for a long time already died, VinAPI for development GUI too approximately in the same place. Died nothing. For  with one button - WINAPI an ideal choice

36

Re: 5.7 static 15Mb

Hello, CaptainFlint, you wrote: Thanks, I will try. 1.5 meters a difference, probably, can be between 5.6 and 5.7, here write for version 4.6 quitted about 6 MB.

37

Re: 5.7 static 15Mb

vf> Probably one of the most often set questions, but did not find. Application the button and  turns out in the size 15 Mb how it is possible to reduce considerably the size ? vf> the Variant with upx or other packer - does not approach, it is not pleasant. To draw windows directly through WinAPI?