how to load a dynamic library on demand from a QT method
Unsolved
General and Desktop
-
My question is If my load the dynamic library like
is there direct way algorithm is
void loadSharedObject() {
//load the
// Call the function names directly
// no extra code for resolving the function /symbols names
// for example
fun1()
fun2()
}because the dyanamic libary in my is QLibrary
@Qt-Enthusiast said in how to load a dynamic library on demand from a QT method:
// Call the function names directly
// no extra code for resolving the function /symbols names
// for exampleNo there isn't a way to do that. This is what linkers and loaders were created for. You can't leave a bunch of unresolved symbols that are supposed to be explicitly loaded at runtime, it just doesn't work that way.