PDA

View Full Version : How to View class and method names in QPluginLoader



KAMATCHI
19th October 2011, 12:04
I need to know the class and method names inside the library libFile.so

Is there any way in QPluginLoader to view class and method names .

through QPluginLoader instance i can get the Object Name but i cannot get the class and method names inside QLibrary.

Is there any idea?

Regards,
Kamatchi SL

fullmetalcoder
19th October 2011, 21:03
There no standard way to extract class and methods names from a random C++ shared library. The most you can get (unless you're willing to deal with nasty low-level details) is to load an object using QPluginLoader and query the meta object system.

ChrisW67
20th October 2011, 01:56
Also refer to the first time you asked this question, just yesterday. Oddly, the answer has not changed.

If you have written a Qt plugin or generic library then you know what symbols are present in that DLL: it is in your source code. If you are trying to reverse engineer an arbitrary library then there are no tools in Qt to help you directly.