1

Topic: 5.7 static 15Mb

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 ? The variant with upx or other packer - does not approach, it is not pleasant.

2

Re: 5.7 static 15Mb

Hello, vf. One question - what for to use Qt there where the button and message box is necessary only?

3

Re: 5.7 static 15Mb

Hello, vf, you wrote: 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. Whether here it is is interesting possible for Qt to collect static  with LTO the information, and then to set LTO on finite ? I think it is possible to achieve the wished. And what size there will be these , whether is compressed than  intermediate ?

4

Re: 5.7 static 15Mb

Hello, okman, you wrote: O> Hello, vf. O> One question - what for to use Qt there where the button and message box is necessary only? And what it is necessary to use.NET?

5

Re: 5.7 static 15Mb

Hello, okman, you wrote: O> One question - what for to use Qt there where the button and message box is necessary only? Answer your question I can not, how you would think what for it it could be necessary for someone? At me at that simply test project to look at the size . And here what for it is necessary to write such program on qt - I do not know. What for it generally could be necessary?

6

Re: 5.7 static 15Mb

Hello, fin_81, you wrote: 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. Whether _> here it is is interesting possible for Qt to collect static  with LTO the information, and then to set LTO on finite ? I think it is possible to achieve the wished. And what size there will be these , whether is compressed than  intermediate ? What such LTO the information? Here it it?

7

Re: 5.7 static 15Mb

Hello, vf, you wrote: vf> That such LTO the information? Here it it? https://gcc.gnu.org/wiki/LinkTimeOptimization http://llvm.org/docs/LinkTimeOptimization.html continuing speculations. Most likely there will be problems  everyones  under sse and , which hardly  in . Whether it is is interesting possible to disconnect these of optimization and and any asm-code.

8

Re: 5.7 static 15Mb

Hello, fin_81, you wrote: _> https://gcc.gnu.org/wiki/LinkTimeOptimization _> http://llvm.org/docs/LinkTimeOptimization.html _> Continuing speculations. Most likely there will be problems  everyones  under sse and , which hardly  in . Whether it is is interesting possible to disconnect these of optimization and and any asm-code. Under the description - approaches. But did not find mentions that someone used, and itself in qt the layman - is not ready to such experiments.

9

Re: 5.7 static 15Mb

Hello, SNNy, you wrote: O>> One question - what for to use Qt there where the button and message box is necessary only? SNN> And what it is necessary to use.NET? Well it is possible to make, for example, DialogBoxParam + MessageBox. There will be exe in the size a kilobyte  in 40. Hello, vf, you wrote: vf> answer your question I can not, how you would think what for it it could be necessary for someone? vf> at me at that simply test project to look at the size . And here what for it is necessary to write such program on qt - I do not know. What for it generally could be necessary? For my part it was, probably, any unsuccessful rhetoric. Simply Qt traditionally use in the big serious applications where fifty superfluous megabytes are not evident. And here to use it for small  type "the button and message box" is a perversion, I consider... And to make something in respect of noticeable reduction of the sizes exe hardly it turns out.

10

Re: 5.7 static 15Mb

Hello, okman, you wrote: O> it is simple Qt traditionally use in the big serious applications where fifty superfluous megabytes O> are not evident. And here to use it for small  type "the button and message box" - O> it is a perversion, I consider... And to make something in respect of noticeable reduction of the sizes exe hardly it turns out. 5-7 Mb would suit me. Probably optimization which throws out not used functions, can make it. Such size, considering , on sensations it is comprehensible not only to the big serious applications, but while - yes...

11

Re: 5.7 static 15Mb

Hello, okman, you wrote: O> Well it is possible to make, for example, DialogBoxParam + MessageBox. O> there Will be exe in the size a kilobyte  in 40. 10 times less.

12

Re: 5.7 static 15Mb

Hello, SNNy, you wrote: SNN> And what it is necessary to use.NET? If to do on a C ++ that: MFC; WinAPI - give smaller volume exe-shnika.

13

Re: 5.7 static 15Mb

Hello, AlexGin, you wrote: SNN>> And what it is necessary to use.NET? AG> If to do on a C ++ that: AG> MFC; WinAPI - give smaller volume exe-shnika. Normally argue "at whom more". A question in a profile forum. You still competition arrange...

14

Re: 5.7 static 15Mb

Hello, vf, you wrote: vf> Normally argue "at whom more". Really, after all the abrupt technology it when demands abrupt percents and 8  , differently ridicule.

15

Re: 5.7 static 15Mb

Hello, T4r4sB, you wrote: vf>> Normally argue "at whom more". TB> it is valid, after all the abrupt technology it when demands abrupt percents and 8  , differently ridicule. The uncle you the fool? I like explained... Probably while masm such you will not write, some do not calm down.

16

Re: 5.7 static 15Mb

Hello, T4r4sB, you wrote: TB> it is valid, after all the abrupt technology it when demands abrupt percents and 8  , differently ridicule. Qt perfectly works on embedded devices.

17

Re: 5.7 static 15Mb

Hello, AlexGin, you wrote: AG> Hello, SNNy, you wrote: SNN>> And what it is necessary to use.NET? AG> If to do on a C ++ that: AG> MFC; WinAPI - give smaller volume exe-shnika. MFC for a long time already died, VinAPI for development GUI too approximately in the same place. If the smaller volume generally it is necessary to write at once in the machine codes is really necessary. A main point: what for? Similar fans  forget about such concepts, as the price/convenience  and the price of depositing of changes/corrections of errors. And here Qt for some reason it appears far ahead. Though I know, why so happens. Such statements normally arrive from people who have no sufficient skills and requirement analysis experience. Normally so the people who do not have behind the back real projects where they would participate in a choice of technologies and in architecture development write.

18

Re: 5.7 static 15Mb

Hello, vf, you wrote: 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. In vain you so about UPX. In due time compressed  from 4  (core, gui, network, xml, db) to 7 meters. And with static  so generally  was.

19

Re: 5.7 static 15Mb

Hello, SaZ, you wrote: 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. SaZ> in vain you so about UPX. In due time compressed  from 4  (core, gui, network, xml, db) to 7 meters. And with static  so generally  was. I am afraid false positive response of antiviruses, the critical moment in this case.

20

Re: 5.7 static 15Mb

Hello, vf, you wrote: vf> I Am afraid false positive response of antiviruses, the critical moment in this case. On virustotal it is possible to check everyone  Qt. Not too often new versions quit. Also it is possible to play with package options. I do not think that it is a problem if for you the size of the assembly is so critical.

21

Re: 5.7 static 15Mb

vf> I Am afraid false positive response of antiviruses, the critical moment in this case. Knowingly be afraid. After compression the amount of actuatings at me grew with 0 to 2. After sign-code signature adding decreased to 0.

22

Re: 5.7 static 15Mb

Hello, Lexerys, you wrote: L> After sign-code signature adding decreased to 0. ... As a result the signature rescues, or refused compression? Whether there is no risk thus the signature to compromise?

23

Re: 5.7 static 15Mb

Hello, SaZ, you wrote: SaZ> MFC for a long time already died, it is possible (though for some specific  and it is actual); SaZ> VinAPI for development GUI too approximately in the same place. Here not absolutely so - for difficult requirements on volume  a file is one of choice variants. SaZ> if the smaller volume generally it is necessary to write at once in the machine codes is really necessary. A main point: what for?... If there is a desire to work it (even difficult to pick up expression than) SaZ> Similar fans  forget about such concepts, as the price/convenience  and the price of depositing of changes/corrections of errors. And here Qt for some reason it appears far ahead. +100500

24

Re: 5.7 static 15Mb

Hello, vf, you wrote: vf> Under the description - approaches. But did not find mentions that someone used, and itself in qt the layman - is not ready to such experiments. Lazy  produced the link https://wiki.qt.io/Performance_Tip_Startup_Time Look, can eat that the interesting.

25

Re: 5.7 static 15Mb

Hello, AlexGin, you wrote: AG> Hello, SaZ, you wrote: SaZ>> MFC for a long time already died, AG> it is possible (though for some specific  and it is actual); Well, in "System technologies" periodically search MFC-shnika for support the client of bank. I think, vacancies came across to you. Only here it is completely not actual. Because on MFC now do not start to do any commercial project. SaZ>> VinAPI for development GUI too approximately in the same place. AG> here not absolutely so - for difficult requirements on volume  a file is one of choice variants. It is possible was more specific, though one real example of application where there would be such requirements? SaZ>> if the smaller volume generally it is necessary to write at once in the machine codes is really necessary. A main point: what for? AG>... If there is a desire to work it (even difficult to pick up expression than) Kasperski in 832 bytes is laid down. But besides - though one real example of system with GUI where it can is useful? Except a demo of scenes, certainly. And so yes - be played. Only to a topic it is any relation has no. Because more or less difficult product will very quickly be bent at a development cycle if to write GUI on pure . AG> +100500 Here it is imperceptible