Results 1 to 6 of 6

Thread: Dynamically loading libraries

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2011
    Location
    Kraków / Poland
    Posts
    32
    Thanks
    1
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: Dynamically loading libraries

    Could you tell me, how can I resolve symbol for class? what symbol should I use?

    Edit: ok, I found solution, thanks
    Last edited by januszmk; 4th February 2013 at 15:28.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Dynamically loading libraries

    Basically your problem is that you are trying to put class A into a plugin but still make it known to the main program. This is not going to work if the class has the Q_OBJECT macro set. You need a common interface for all your classes that you want to load dynamically into the main application.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Delay-loading libraries... And MinGW.
    By hickscorp in forum Newbie
    Replies: 0
    Last Post: 13th April 2012, 00:23
  2. Replies: 4
    Last Post: 5th November 2011, 01:38
  3. Dynamically Loading UI With Unspecified Slots
    By spraff in forum Qt Programming
    Replies: 2
    Last Post: 11th April 2010, 10:46
  4. Replies: 2
    Last Post: 3rd December 2009, 06:04
  5. Dynamically Loading a QMainWindow?
    By natron in forum Newbie
    Replies: 10
    Last Post: 21st July 2006, 01:15

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
  •  
Qt is a trademark of The Qt Company.