> -----Original Message----- > From: Development <[email protected]> On Behalf Of > Mitch Curtis > Sent: Monday, 29 April 2019 5:45 PM > To: Thiago Macieira <[email protected]>; development@qt- > project.org > Subject: Re: [Development] Qt Static Package > > > -----Original Message----- > > From: Development <[email protected]> On Behalf > Of > > Thiago Macieira > > Sent: Monday, 29 April 2019 5:18 PM > > To: [email protected] > > Subject: Re: [Development] Qt Static Package > > > > On Monday, 29 April 2019 00:27:14 PDT Mitch Curtis wrote: > > > -static -release -ltcg -opensource -confirm-license -nomake tests > > > -nomake examples -silent > > > > -static -ltcg is most definitely not redistributable. That build is > > only usable in your exact machine, and only for so long as you don't > > perform a system update. > > That's a pity. It shaved off 8 mb (19%) of my executable's size. > > Can you explain why it's not redistributable? I thought the whole point of > link > time code generation was for release builds?
Everywhere I read online says that it's for release builds. https://blog.qt.io/blog/2019/01/02/qt-applications-lto/ (where I got the idea to use -ltcg) says: "But, this optimization is definitely something that fits well into the release process, when creating your final build. So, your Release Manager can use it." > > -- > > Thiago Macieira - thiago.macieira (AT) intel.com > > Software Architect - Intel System Software Products > > > > > > > > _______________________________________________ > > Development mailing list > > [email protected] > > https://lists.qt-project.org/listinfo/development > _______________________________________________ > Development mailing list > [email protected] > https://lists.qt-project.org/listinfo/development _______________________________________________ Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
