Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. The class member functions CANNOT be executed in the linux dynamic library .so
QtWS25 Last Chance

The class member functions CANNOT be executed in the linux dynamic library .so

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 619 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.
  • T Offline
    T Offline
    tony.xu008
    wrote on last edited by
    #1

    Hello,

    I am developing an application with several modules which are compiled as dynamic library separately.
    And the mainline program loads the sub-modules using the QT CLASS "QLibrary". And it needs some function implementation in the class "ScdVisualizer" of a sub-module. It's very odd that the class "ScdVisualizer" cannot invoke all the functions of another class in this module. However, the application can run normally on windows platform.

    I intend to add some compilation option "-shared -rdynamic -ldl" in the Makefile, but no effect.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Out of curiosity, since these libraries are yours why use QLibrary ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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