+Chris, so to give more help, the workaround:
1) create a new class which derives from the one you want to expose the 
revisioned API
2) move all your revisioned API into this one
3) register the new class to the version you need with the same name as in the 
previous version

>From the upstream bug it looks like everything registered with
qmlRegisterUncreatableType<type_name, revision>() breaks the versioning.
We need to keep this workaround till the bug is fixed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1389721

Title:
  API versioning broken in some cases

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1389721/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to