PDA

View Full Version : Q_property



Ini
4th April 2016, 02:44
Q_PROPERTY(QList<int> myList MEMBER myList)

How can i write with QMetaProperty .write() function in this list? I mean append something with this .write function to the list.

returning the metaProperty is no problem, programm is what to type in WRITE in the property. Nothing works.

Any help?

thx

anda_skoa
4th April 2016, 08:39
Maybe you could show some of the "nothing works" instead of letting everyone guess what you have actually tried.

Cheers,
_