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

Using Fluid.Controls 1.0 and 1.1 together? [question] #259

Closed
luntik2012 opened this issue Jun 11, 2018 · 1 comment
Closed

Using Fluid.Controls 1.0 and 1.1 together? [question] #259

luntik2012 opened this issue Jun 11, 2018 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@luntik2012
Copy link
Contributor

luntik2012 commented Jun 11, 2018

If I add some MyItem 1.1 MyItem.qml to qmldir, I can change IMPORT_VERSION = 1.0 to IMPORT_VERSION = 1.1 in controls.pro to use it. But qmldir doesn't contain 1.1 versions of all items, so how could I use new items with all items?
Should I copy all 1.0 items to 1.1 section or there is another solution?
Also how to use Utils and DateUtils when importing 1.1 version? Singletons was registered for version 1.0 only. Is it necessary to register them for 1.1 too or better import both Fluid.Controls versions in qml?

@luntik2012 luntik2012 changed the title Using Fluid.Controls 1.0 and 2.0 together? [question] Using Fluid.Controls 1.0 and 1.1 together? [question] Jun 11, 2018
@plfiorini plfiorini added the question Further information is requested label Jun 12, 2018
@plfiorini
Copy link
Member

When your program imports version 1.1 of a component that is not register for such version, the QML engine will import the closest version. In this case 1.0.

@plfiorini plfiorini self-assigned this Aug 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants