How to create versioned symbols in Qt shared objects on Linux ?
-
I have an executable from a customer which uses some Qt libs (5.15.0) as shared objects and expects the symbols for Qt to be versioned like:
symbol _ZdlPvm, version Qt_5 not defined in file libQt5Core.so.5 with link time reference.I have retrieved the sources and builded them with default configure options but then I get:
objdump -T qt_5.15.0/lib/libQt5Core.so|grep _ZdlPvm
0000000000000000 DF UND 0000000000000000 CXXABI_1.3.9 _ZdlPvmSo the symbol is undefined and tagged with version CXXABI_1.3.9 (that is how the symbol is versioned in libstdc++.so)
What option do I need to set as argument to configure to have the symbols versioned with Qt_5 as version tag ?Is this in any way related to the CMake variables:
QT_NO_CREATE_VERSIONLESS_FUNCTIONS
QT_NO_CREATE_VERSIONLESS_TARGETS ?
See: https://doc.qt.io/qt-5/cmake-variable-reference.html
Is it possible to build the Qt libraries with CMake ? -
This post is deleted!