[Development] Use static qt libraries
song.7.liu at nokia.com
song.7.liu at nokia.com
Tue Jul 24 06:03:31 CEST 2012
Thanks, are such undefined symbols normal ? And is there a way to fix it ?
-----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