[Development] Use static qt libraries
Rohan McGovern
rohan.mcgovern at nokia.com
Tue Jul 24 05:57:47 CEST 2012
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