Results 1 to 7 of 7

Thread: QPluginLoader doesn't load plugin

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    20
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    2
    Thanked 4 Times in 1 Post

    Default Re: QPluginLoader doesn't load plugin

    Thank you! The missing "= 0" was the problem, now it works.

    Maybe a dump question but why do i need "= 0" at the end of the method?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    28
    Thanked 976 Times in 912 Posts

    Default Re: QPluginLoader doesn't load plugin

    Quote Originally Posted by BeS View Post
    Maybe a dump question but why do i need "= 0" at the end of the method?
    "= 0" means that the method is abstract. I.e. it has no implementation in this class and that this implementation will be provided by derived classes.

    Without = 0, if you won't provide some implementation of that method, you will get linker error when you try to use it.

Similar Threads

  1. Designer doesn't load wwWidgets plugin
    By reimer in forum Installation and Deployment
    Replies: 21
    Last Post: 7th February 2009, 04:23
  2. Plugin implementation question
    By JPNaude in forum Qt Programming
    Replies: 12
    Last Post: 27th August 2008, 21:24
  3. custom plugin load fails...
    By raman_31181 in forum Qt Tools
    Replies: 3
    Last Post: 3rd July 2008, 10:37
  4. Load form mdi child plugin
    By estanisgeyer in forum Qt Programming
    Replies: 4
    Last Post: 10th February 2008, 15:27
  5. QPluginLoader not recognizing a plugin
    By KShots in forum Qt Programming
    Replies: 3
    Last Post: 29th June 2007, 15:13

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.