[Interest] Pointers as Q_PPOPERTY

Stephen Kelly stephen.kelly at kdab.com
Wed Oct 2 17:18:52 CEST 2013

On Wednesday, October 02, 2013 19:02:54 Дмитрий Козлов wrote:
> Q_PROPERTY(Hull * hull READ hull)
> Q_PROPERTY(Reactor * reactor READ reactor)
> Q_PROPERTY(Shields * shields READ shields)
> This approach should work in your case.

This will work with QML with Qt 5.2.


Before that, your Q_PROPERTY needs to be type QObject*.


Join us in October at Qt Developer Days 2013 - https://devdays.kdab.com

Stephen Kelly <stephen.kelly at kdab.com> | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131002/a60bbeb1/attachment.sig>

More information about the Interest mailing list