You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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
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.
If I add some
MyItem 1.1 MyItem.qml
to qmldir, I can changeIMPORT_VERSION = 1.0
toIMPORT_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
andDateUtils
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 bothFluid.Controls
versions in qml?The text was updated successfully, but these errors were encountered: