Re: [Interest] Qt Plugin Low Level API

2014-05-23 Thread Mitch Curtis
oft.com...@qt-project.org > [mailto:interest-bounces+tony=rightsoft.com...@qt-project.org] *On > Behalf Of *Etienne Sandré-Chardonnal > *Sent:* Thursday, 22 May 2014 5:37 PM > *To:* interest@qt-project.org > *Subject:* [Interest] Qt Plugin Low Level API > > Dear all, >

Re: [Interest] Qt Plugin Low Level API

2014-05-22 Thread Etienne Sandré-Chardonnal
Thanks for your explanations! Let's start working on the plugin system... Etienne 2014-05-22 10:01 GMT+02:00 Roland Winklmeier : > Hi Etienne, > > there are two requirements: > > 1. The interface must be pure virtual (so it cannot derive from QObject) > 2. qobject_cast requires a QObject subc

Re: [Interest] Qt Plugin Low Level API

2014-05-22 Thread Roland Winklmeier
Hi Etienne, there are two requirements: 1. The interface must be pure virtual (so it cannot derive from QObject) 2. qobject_cast requires a QObject subclass Hence, your plugin implementation must inherit from both. The implementation itself can derive from QObject but the interface cannot. The m

Re: [Interest] Qt Plugin Low Level API

2014-05-22 Thread Tony Rietwyk
From: interest-bounces+tony=rightsoft.com...@qt-project.org [mailto:interest-bounces+tony=rightsoft.com...@qt-project.org] On Behalf Of Etienne Sandré-Chardonnal Sent: Thursday, 22 May 2014 5:37 PM To: interest@qt-project.org Subject: [Interest] Qt Plugin Low Level API Dear all, I'm readi

Re: [Interest] Qt Plugin Low Level API

2014-05-22 Thread Samuel Stirtzel
2014-05-22 9:37 GMT+02:00 Etienne Sandré-Chardonnal : > Dear all, > > I'm reading the doc in order to implement plugins into my Qt 4.8 > application. > > The manual says that I need first to define the plugin interface as a pure > virtual class. In the example it does not inherit QObject. > > Then

[Interest] Qt Plugin Low Level API

2014-05-22 Thread Etienne Sandré-Chardonnal
Dear all, I'm reading the doc in order to implement plugins into my Qt 4.8 application. The manual says that I need first to define the plugin interface as a pure virtual class. In the example it does not inherit QObject. Then it shows an example plugin implementation which inherits from QObject