Re: [Interest] Size of libQt5Core in 5.3

2014-05-14 Thread Peter Kuemmel
> Von: "Daniel Bowen" > An: interest@qt-project.org > Betreff: Re: [Interest] Size of libQt5Core in 5.3 > > Thanks again for the info. > > Here's where I've gotten to so far. > > Starting from the last ./configure command line I mentioned, plus &g

Re: [Interest] Size of libQt5Core in 5.3

2014-05-13 Thread Daniel Bowen
Thanks again for the info. Here's where I've gotten to so far. Starting from the last ./configure command line I mentioned, plus -no-feature- for every qfeature.txt item (minus LIBRARY, SETTINGS and REGULAREXPRESSION, since it doesn't build without those), I was at 4.3 MB stripped. Added to the

Re: [Interest] Size of libQt5Core in 5.3

2014-05-13 Thread Peter Kümmel
On 13.05.2014 00:14, Ian Monroe wrote: > On Mon, May 12, 2014 at 2:55 PM, Peter Kümmel wrote: >> On 12.05.2014 23:29, Daniel Bowen wrote: >>> >>> If anyone has other things to add, please do. >> >> Maybe it is worth to think about a Qt library which really only >> provides essential stuff. What wo

Re: [Interest] Size of libQt5Core in 5.3

2014-05-13 Thread Peter Kümmel
On 13.05.2014 00:01, Thiago Macieira wrote: > Em seg 12 maio 2014, às 23:55:27, Peter Kümmel escreveu: >>> If anyone has other things to add, please do. >> >> Maybe it is worth to think about a Qt library which really only >> provides essential stuff. > > Please note any discussion about further sp

Re: [Interest] Size of libQt5Core in 5.3

2014-05-12 Thread Thiago Macieira
Em seg 12 maio 2014, às 15:14:51, Ian Monroe escreveu: > Unlike the Linux networking maintainers, Thiago is open to > configure-time methods to slim down QtCore. That seems like the way > forward for people who care about such things. To be clear: I will not accept patches that unreasonably clutte

Re: [Interest] Size of libQt5Core in 5.3

2014-05-12 Thread Ian Monroe
On Mon, May 12, 2014 at 2:55 PM, Peter Kümmel wrote: > On 12.05.2014 23:29, Daniel Bowen wrote: >> >> If anyone has other things to add, please do. > > Maybe it is worth to think about a Qt library which really only > provides essential stuff. What would such a library contain, > when all the "but

Re: [Interest] Size of libQt5Core in 5.3

2014-05-12 Thread Thiago Macieira
Em seg 12 maio 2014, às 23:55:27, Peter Kümmel escreveu: > > If anyone has other things to add, please do. > > Maybe it is worth to think about a Qt library which really only > provides essential stuff. Please note any discussion about further splitting QtCore is a Qt 6 discussion. -- Thiago Ma

Re: [Interest] Size of libQt5Core in 5.3

2014-05-12 Thread Thiago Macieira
Em seg 12 maio 2014, às 15:29:29, Daniel Bowen escreveu: > qconfig is nice to separate out those -no-feature- items into another file - > thanks! ./configure -help still lists -qconfig, so hopefully that's a good > sign that it will stay around, even if the Qt5 documentation doesn't > mention it.

Re: [Interest] Size of libQt5Core in 5.3

2014-05-12 Thread Peter Kümmel
st1=bowensite@qt-project.org > [mailto:interest-bounces+qtmailinglist1=bowensite@qt-project.org] On > Behalf Of Peter Kümmel > Sent: Monday, May 12, 2014 2:48 AM > To: interest@qt-project.org > Subject: Re: [Interest] Size of libQt5Core in 5.3 > > On 11.05.2014 09:20, Daniel

Re: [Interest] Size of libQt5Core in 5.3

2014-05-12 Thread Daniel Bowen
ay 12, 2014 2:48 AM To: interest@qt-project.org Subject: Re: [Interest] Size of libQt5Core in 5.3 On 11.05.2014 09:20, Daniel Bowen wrote: > I have an embedded environment where we usenon-UI parts of Qt (Qt Core, Qt Networking)on an ARM host processor. > > We’ve been using 4.8.4for a little

Re: [Interest] Size of libQt5Core in 5.3

2014-05-12 Thread Peter Kümmel
On 11.05.2014 09:20, Daniel Bowen wrote: > I have an embedded environment where we usenon-UI parts of Qt (Qt Core, Qt > Networking)on an ARM host processor. > > We’ve been using 4.8.4for a little while. There’s some other changes comingto > this code, and we’ve been looking to move > to5.xwith th

Re: [Interest] Size of libQt5Core in 5.3

2014-05-11 Thread Thiago Macieira
Em seg 12 maio 2014, às 00:23:19, André Pönitz escreveu: > 99797 .obj/qtldurl.o > > >From the commit message: >Add QUrl::topLevelDomain() and move TLD table from QtNetwork to QtCore > > Move Qt's copy of the Mozilla public suffix list from QtNetwork > to QtCore and use it to expo

Re: [Interest] Size of libQt5Core in 5.3

2014-05-11 Thread André Pönitz
On Sun, May 11, 2014 at 02:05:22PM -0700, Thiago Macieira wrote: > print "$total\n"; > }' QtCore.map > [...] > 45476 .obj/qobject.o > 48523 .obj/qregexp.o > 53198 .obj/qstatemachine.o > 53657 .obj/qsettings.o > 58416 .obj/qdatetime.o > 58836 .obj/qvariant.o > 59344 .obj/qlocale.o > 83403 .obj/qst

Re: [Interest] Size of libQt5Core in 5.3

2014-05-11 Thread Thiago Macieira
Em dom 11 maio 2014, às 13:25:36, Giuseppe D'Angelo escreveu: > In general you should take an analytic approach: pass > > > -Wl,-Map,qtcoremapfile > > to QtCore's linker command line, and examine the map file using a > script. Then proceed to trim. Build output: -rwxr-xr-x 1 thiago users 38586

Re: [Interest] Size of libQt5Core in 5.3

2014-05-11 Thread John Layt
On 11 May 2014 08:20, Daniel Bowen wrote: > Is there any way to get Qt Core to compile smaller, like under 3MB? Am I > missing anything to skip or “-no-xyz” or “-nomake” or “-no-feature”? Why is > libQt5Core.so.5.3.0 so much bigger than libQtCore4.so.4.8.4? I'll leave it for others to pass comm

Re: [Interest] Size of libQt5Core in 5.3

2014-05-11 Thread Giuseppe D'Angelo
Il 11/05/2014 09:20, Daniel Bowen ha scritto: So I started putting in -skip, -no-feature, etc.having features wewould still use, but other things stripped out.I also had a mkspec use -Os to optimize for size.Usingsomething likethis: [snip] Please note that several of those features don't even