Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to create versioned symbols in Qt shared objects on Linux ?
Forum Updated to NodeBB v4.3 + New Features

How to create versioned symbols in Qt shared objects on Linux ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 1 Posters 360 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    joe_the_dev_781
    wrote on last edited by joe_the_dev_781
    #1

    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 _ZdlPvm

    So 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 ?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      joe_the_dev_781
      wrote on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved