QtSharp icon indicating copy to clipboard operation
QtSharp copied to clipboard

QVariant value<QObject>(), qvariant_cast, qobject_cast implementation

Open iWeaverMan opened this issue 7 years ago • 1 comments

How to get an object value from qvariant, the generated class does not have this method? And how to create a variant based on an qobject or other objects?

iWeaverMan avatar Sep 11 '18 16:09 iWeaverMan

value() is a template function which we don't support yet. I am afraid that this makes QVariant mostly useless in QtSharp. I'll close this issue when it's fixed.

ddobrev avatar Sep 19 '18 00:09 ddobrev