Results 1 to 3 of 3

Thread: How to View class and method names in QPluginLoader

  1. #1
    Join Date
    Oct 2011
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default How to View class and method names in QPluginLoader

    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

  2. #2
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to View class and method names in QPluginLoader

    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.
    Current Qt projects : QCodeEdit, RotiDeCode

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to View class and method names in QPluginLoader

    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.

Similar Threads

  1. Replies: 2
    Last Post: 19th August 2011, 07:44
  2. Replies: 2
    Last Post: 2nd July 2011, 01:02
  3. Put in a separate thread a method of a class
    By franco.amato in forum Qt Programming
    Replies: 0
    Last Post: 19th March 2010, 23:45
  4. How to call super class method from sub class
    By mkkguru in forum Qt Programming
    Replies: 9
    Last Post: 4th February 2010, 05:29
  5. Replies: 3
    Last Post: 16th May 2007, 11:07

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.