[Development] Qt binaries with inlined functions
Olivier Goffart
olivier at woboq.com
Mon Apr 28 13:49:13 CEST 2014
On Monday 28 April 2014 11:15:23 Koehne Kai wrote:
> > -----Original Message-----
> > From: development-bounces+kai.koehne=digia.com at qt-project.org
> > Subject: [Development] Qt binaries with inlined functions
> >
> > Hello all,
> >
> > I'd like to start a discussion about .https://bugreports.qt-> >
> > project.org/browse/QTBUG-32995. Please share your thoughts.
>
> To get some numbers I tried to add
>
> QMAKE_CXXFLAGS += -fkeep-inline-functions
>
> to mkspecs/common/gcc-base.conf . However, this only results in lots of
> undefined references when linking qmake . E.g.:
>
> Configure line was configure -release -nomake examples -nomake tests
> -opensource -confirm-license -prefix `pwd`/qtbase .Do you maybe have a
> working patch already?
That's because of the bootstrap library which does not have everything.
You should not pass the -fkeep-inline-functions when building the bootstrap
library.
Maybe it should go in qt_module.prf
--
Olivier
Woboq - Qt services and support - http://woboq.com - http://code.woboq.org
More information about the Development
mailing list