Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-60053

qmldir versioning documentation doesn't match behavior

XMLWordPrintable

    • 5f7ce6d6373c028753d63e55d6d8a9b576cc755e

      With the following qmldir file:

      module widgets
      MyButton 1.0 MyButton.qml
      MySlider 2.0 MySlider.qml
      

      It isn't possible to use MyButton when importing widgets 2.0. However, the documentation only states "Types which are exported for a particular version are still made available if a later version is imported." (http://doc.qt.io/qt-5/qtqml-modules-qmldir.html), without mentioning any differences in behavior for major and minor versioning.

        1. ImportTest.tar.gz
          0.7 kB
          Michael Brasser
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            veshivas Venugopal Shivashankar
            mbrasser Michael Brasser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes