[Development] Use static qt libraries
Rohan McGovern
rohan.mcgovern at nokia.com
Tue Jul 24 06:23:00 CEST 2012
Liu Song.7 (Nokia-MP/Beijing) said:
> Thanks, are such undefined symbols normal ? And is there a way to fix it ?
Right now, the only thing which comes to mind is if you have somehow
mixed some -frtti and -fno-rtti objects.
>
> -----Original Message-----
> From: Mcgovern Rohan (Nokia-MP/Brisbane)
> Sent: Tuesday, July 24, 2012 11:58 AM
> To: Liu Song.7 (Nokia-MP/Beijing)
> Cc: Lan Peng-Peter (Nokia-MP/Beijing); Storm-Olsen Marius (Nokia-MP/Austin); development; thiago.macieira
> Subject: Re: [Development] Use static qt libraries
> Importance: High
>
> song.7.liu at nokia.com said:
> > Hi,
> >
> > Now we can build out the single libqt5.so (using ARM toolchain) by:
> >
> > "OPTS += -static" to create the static qt libs
> > "ar -x libQtXX.a" to extract the .o files
> > "armlink --fpic --shared *.o -o libqt5.so" to generate final single so
> >
> > But the "readelf -s libqt5.so | grep UND":
> >
> > 4: 00000000 0 OBJECT WEAK DEFAULT UND _ZTI12QFocusHelper
> > 5: 00000000 0 OBJECT WEAK DEFAULT UND _ZTI17QAbstractUndoItem
> > 6: 00000000 0 OBJECT WEAK DEFAULT UND _ZTI19QStaticTextUserData
> > 7: 00000000 0 OBJECT WEAK DEFAULT UND _ZTI22QItemEditorCreatorB
> > 8: 00000000 0 OBJECT WEAK DEFAULT UND _ZTI26QAbstractDynamicMet
> > 9: 00000000 0 OBJECT WEAK DEFAULT UND _ZTI28QNetworkConfigurati
> >
> > Does anyone know what is this mangled symbol "_ZTIXX" in C++ ?
> >
>
> The 'c++filt' program can answer this.
>
> $ echo _ZTI12QFocusHelper | c++filt
> typeinfo for QFocusHelper
More information about the Development
mailing list