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

qmldir versioning documentation doesn't match behavior

    XMLWordPrintable

Details

    • 5f7ce6d6373c028753d63e55d6d8a9b576cc755e

    Description

      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.

      Attachments

        1. ImportTest.tar.gz
          0.7 kB
          Michael Brasser

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes