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

QML elements are invisible if the module imported with version greater than module version in QtQuick 2.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.0.2
    • None
    • Windows 7, msvc2010, QtQuick 2.0

    Description

      When I import qml module, if qml component in that module has version, that is lower, than version that I import module with, importing fails. Though documentation says: "Types which are exported for a particular version are still made available if a later version is imported" (http://qt-project.org/doc/qt-5.0/qtqml/qtqml-modules-qmldir.html#versioning-semantics).

      After changing in the example import statement to "import TestModule 1.0" or changing version in qmldir to 1.1 all works.

      Attachments

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

        Activity

          People

            aalpert Alan Alpert
            krnekit Nikita Krupenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes