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.of_float & QVariant.of_bool #23

Closed
ghost opened this issue Mar 16, 2016 · 5 comments
Closed

QVariant.of_float & QVariant.of_bool #23

ghost opened this issue Mar 16, 2016 · 5 comments

Comments

@ghost
Copy link

ghost commented Mar 16, 2016

It be handy if we could have a QVariant.of_float. I making due with either passing as string or a multiplied integer which then has to be divided.

Thanks.

@ghost ghost changed the title QVariant.of_float QVariant.of_float & QVariant.of_bool Mar 16, 2016
@ghost
Copy link
Author

ghost commented Mar 16, 2016

Added of_bool in the list, since they are similar.

@Kakadu
Copy link
Owner

Kakadu commented Mar 16, 2016

@orbifx

@ghost
Copy link
Author

ghost commented Mar 16, 2016

Lightning fast! I will use these in the next few days and get back. Thanks!

@ghost
Copy link
Author

ghost commented Mar 18, 2016

I get an assertion failure:

ASSERT failure in While converting OCaml value to QVariant: "Unknown variant tag", file propMap_stubs.c, line 84

The code here: https://github.com/Kakadu/lablqt/blob/master/lablqml/propMap_stubs.c#L84
doesn't seem to have the cases for these variants.

@ghost
Copy link
Author

ghost commented Nov 23, 2016

I think this issue is fixed now.

@ghost ghost closed this as completed Nov 23, 2016
This issue was closed.
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

1 participant