[Interest] moc code : incomplete type 'void' is not assignable

2015-07-23 Thread Jason H
I'm getting an error in moc-generated file, and I don't know why. error: incomplete type 'void' is not assignable case 1: *reinterpret_cast void*(_v) = _t-camera(); break; ~ ^ The header file contains: #include QObject #include QCamera class

Re: [Interest] moc code : incomplete type 'void' is not assignable [FIXED]

2015-07-23 Thread Jason H
Sorry, I got bit by copy-paste. It should be: Q_PROPERTY(QCamera* setCamera READ camera WRITE setCamera) Sent: Thursday, July 23, 2015 at 10:56 AM From: Jason H jh...@gmx.com To: interest interest@qt-project.org Subject: [Interest] moc code : incomplete type 'void' is not assignable I'm

Re: [Interest] moc code : incomplete type 'void' is not assignable

2015-07-23 Thread Samuel Gaist
On 23 juil. 2015, at 16:56, Jason H jh...@gmx.com wrote: I'm getting an error in moc-generated file, and I don't know why. error: incomplete type 'void' is not assignable case 1: *reinterpret_cast void*(_v) = _t-camera(); break; ~ ^ The