Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
iWeaverMan opened this issue Sep 11, 2018 · 1 comment
Open

Comments

@iWeaverMan
Copy link

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?

@ddobrev
Copy link
Owner

ddobrev commented Sep 19, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants