Results 1 to 2 of 2

Thread: Is it mandatory for a plugin class to inherit an interface?

  1. #1
    Join Date
    Sep 2013
    Posts
    33
    Thanks
    5
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Exclamation Is it mandatory for a plugin class to inherit an interface?

    I think the plugin class inherits a interface,Because its easy for handling where plugin is loaded(through interface pointer ).But is it mandatory for a plugin to inherit interface?
    Last edited by blue_sky; 22nd November 2013 at 10:06.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Is it mandatory for a plugin class to inherit an interface?

    No, I don't think so. I think they have to be QObject derived though.

    Cheers,
    _

  3. The following user says thank you to anda_skoa for this useful post:

    blue_sky (23rd November 2013)

Similar Threads

  1. Replies: 1
    Last Post: 12th August 2012, 17:37
  2. problem with interface Class - Error:undefined interface
    By k.qasempour in forum Qt Programming
    Replies: 4
    Last Post: 12th August 2012, 02:11
  3. Problem with my C++ library that uses a interface class
    By maxoreli in forum Qt Programming
    Replies: 2
    Last Post: 4th January 2012, 14:33
  4. Replies: 5
    Last Post: 18th November 2011, 23:12
  5. separate class using an interface
    By qt_gotcha in forum Newbie
    Replies: 7
    Last Post: 3rd March 2010, 21:54

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.