The class member functions CANNOT be executed in the linux dynamic library .so
-
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.
-
Hi and welcome to devnet,
Out of curiosity, since these libraries are yours why use QLibrary ?