Thanks!
-Original Message-
From: Stephen Kelly [mailto:stephen.ke...@kdab.com]
Sent: 17 February 2014 10:06
To: Graham Labdon
Cc: interest@qt-project.org
Subject: Re: [Interest] QMetaType::metaObjectForType
On Monday, February 17, 2014 09:47:20 you wrote:
> Hi
> Thanks for your
On Monday, February 17, 2014 09:47:20 you wrote:
> Hi
> Thanks for your quick reply.
> This does indeed work, but I would be grateful if you could explain why
>
> > Q_DECLARE_METATYPE(Widget)
>
> Remove this line.
You don't pass around copies of QObject derived types because it is not
copyable
Of Stephen Kelly
Sent: 17 February 2014 09:41
To: interest@qt-project.org
Subject: Re: [Interest] QMetaType::metaObjectForType
On Monday, February 17, 2014 09:37:00 Graham Labdon wrote:
> Hi
>
> I am trying to use QMetaType::metaObjectForType but it is always
> returning NULL
>
&g
On Monday, February 17, 2014 09:37:00 Graham Labdon wrote:
> Hi
>
> I am trying to use QMetaType::metaObjectForType but it is always returning
> NULL
>
> I have attached my class declaration and would be grateful if anyone can
> explain why I am getting a NULL return value
>
> Many thanks
> meta
Hi
I am trying to use QMetaType::metaObjectForType but it is always returning NULL
I have attached my class declaration and would be grateful if anyone can
explain why I am getting a NULL return value
Many thanks
Class.h -
class Widget : public QWidget
{
Q_OBJECT
public:
Q_INVOKABLE Wi