Re: [Interest] Installation Sizes for Applications using Qt

2021-08-30 Thread Henry Skoglund
On 2021-08-30 21:43, Thiago Macieira wrote: On Monday, 30 August 2021 12:23:54 PDT Henry Skoglund wrote: Thanks Thiago for the clarification re. those "-skip xxx" options. I guess I can skip them :-) Ok, one benefit remains: saving some time when compiling/building the static Qt version. Indeed

Re: [Interest] Installation Sizes for Applications using Qt

2021-08-30 Thread Thiago Macieira
On Monday, 30 August 2021 12:23:54 PDT Henry Skoglund wrote: > Thanks Thiago for the clarification re. those "-skip xxx" options. I > guess I can skip them :-) > Ok, one benefit remains: saving some time when compiling/building the > static Qt version. Indeed. But you could save time by just downl

Re: [Interest] Installation Sizes for Applications using Qt

2021-08-30 Thread Henry Skoglund
On 2021-08-30 20:48, Thiago Macieira wrote: On Monday, 30 August 2021 10:32:03 PDT Henry Skoglund wrote: configure that has a "-skip " for all modules expect qtbase. That makes zero difference in your final binary. If you need a library that wasn't compiled, your application will fail to l

Re: [Interest] Installation Sizes for Applications using Qt

2021-08-30 Thread Thiago Macieira
On Monday, 30 August 2021 10:32:03 PDT Henry Skoglund wrote: > configure that has a "-skip " for all > modules expect qtbase. That makes zero difference in your final binary. If you need a library that wasn't compiled, your application will fail to link. If you have a library that your appli

Re: [Interest] Installation Sizes for Applications using Qt

2021-08-30 Thread Henry Skoglund
On 2021-08-30 18:15, Thiago Macieira wrote: On Monday, 30 August 2021 04:04:42 PDT Joerg Bornemann wrote: Use configure -list-features and pick something you definitely don't need, for example lcdnumber Widgets: Provides LCD-like digits. and configure and build Qt with -no-featu

Re: [Interest] Installation Sizes for Applications using Qt

2021-08-30 Thread Thiago Macieira
On Monday, 30 August 2021 04:04:42 PDT Joerg Bornemann wrote: > Use configure -list-features and pick something you definitely don't > need, for example > lcdnumber Widgets: Provides LCD-like digits. > and configure and build Qt with -no-feature-lcdnumber That's probably not a goo

Re: [Interest] Installation Sizes for Applications using Qt

2021-08-30 Thread Joerg Bornemann
On 8/28/21 3:02 AM, Ben Cottrell wrote: Yes, I've tried configure with these command line arguments: ./configure -opensource -confirm-license -platform linux-g++ -prefix /opt/6.1.2-linux-g++-static -static However, you did not disable any of Qt's features, like Thiago suggested. Use co

Re: [Interest] Installation Sizes for Applications using Qt

2021-08-30 Thread Cristian Adam
On 8/28/2021 3:02 AM, Ben Cottrell wrote: Yes, I've tried configure with these command line arguments: ./configure -opensource -confirm-license -platform linux-g++ -prefix /opt/6.1.2-linux-g++-static -static I got lots of errors after running configure, about missing XCB libraries, so fo

Re: [Interest] Installation Sizes for Applications using Qt

2021-08-29 Thread Konstantin Tokarev
28.08.2021, 04:06, "Ben Cottrell" : > Yes, I've tried configure with these command line arguments: >    ./configure -opensource -confirm-license -platform linux-g++ -prefix >    /opt/6.1.2-linux-g++-static -static > > I got lots of errors after running configure, about missing XCB > libraries, so

Re: [Interest] Installation Sizes for Applications using Qt

2021-08-27 Thread Ben Cottrell
Yes, I've tried configure with these command line arguments: ./configure -opensource -confirm-license -platform linux-g++ -prefix /opt/6.1.2-linux-g++-static -static I got lots of errors after running configure, about missing XCB libraries, so following the Ubuntu CI script, I installed them

Re: [Interest] Installation Sizes for Applications using Qt

2021-08-27 Thread Joerg Bornemann
On 8/27/21 2:32 AM, Ben Cottrell wrote: So Qt makes sense for large applications, but for smaller ones, it's more efficient to use individual libraries per platform. Until Qt is more easily configurable, I cannot justify using it's libraries in small applications. Did you try one of the sugges

Re: [Interest] Installation Sizes for Applications using Qt

2021-08-26 Thread Ben Cottrell
So Qt makes sense for large applications, but for smaller ones, it's more efficient to use individual libraries per platform. Until Qt is more easily configurable, I cannot justify using it's libraries in small applications. On Thu, 2021-08-26 at 07:39 -0700, Thiago Macieira wrote: > On Thursday,

Re: [Interest] Installation Sizes for Applications using Qt

2021-08-26 Thread Thiago Macieira
On Thursday, 26 August 2021 00:51:28 PDT BeneschTech LLC wrote: > If you are building static, you can use the ld.gold linker which prunes a > lot of unused code off, and maybe add in -Os to QMAKE_LFLAGS. It might not > hurt to do a second "strip" after your executable is built too. Anything > usin

Re: [Interest] Installation Sizes for Applications using Qt

2021-08-26 Thread BeneschTech LLC
t; > Sent: Thursday, 26 August 2021 4:28 AM > > To: interest@qt-project.org > > Subject: [Interest] Installation Sizes for Applications using Qt > > > > Qt is becoming more and more feature rich, but applications aren't > getting > > any smaller. I wish there was easie

Re: [Interest] Installation Sizes for Applications using Qt

2021-08-25 Thread Mitch Curtis
omfortable with Qt's contribution process in order to fix any build breakages. > -Original Message- > From: Interest On Behalf Of Ben Cottrell > Sent: Thursday, 26 August 2021 4:28 AM > To: interest@qt-project.org > Subject: [Interest] Installation Sizes for Applications us

Re: [Interest] Installation Sizes for Applications using Qt

2021-08-25 Thread Thiago Macieira
On Wednesday, 25 August 2021 19:28:25 PDT Ben Cottrell wrote: > Can we make it easier to reduce application installation sizes? Qt has had a system to disable features while building for 15 or 20 years. It's even maintained, though the number of permutations may be too big to ensure all properly

[Interest] Installation Sizes for Applications using Qt

2021-08-25 Thread Ben Cottrell
Qt is becoming more and more feature rich, but applications aren't getting any smaller. I wish there was easier ways of configuring and building Qt with shared libraries containing only the necessary functionality. Maybe more modularity is the answer. I want to comply with the LGPL license, but I