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

reduce set of known types to import set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.0
    • 6.0
    • QML: Tooling

      Code like this not cause any problem for qmllint:

      import QtQuick 2.11
      import QtQuick.Window 2.3
      
      
      Text {
          opacity: 1 - Tumbler.displacement
      }
      

      but if run this code I get bunch of warnings:

      unknown:24: qrc:/utils/TumblerDelegate.qml:6: ReferenceError: Tumbler is not defined
      

      This is because of code missed "import QtQuick.Controls 2.4", but qmllint failed to notice this.

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

            ulherman Ulf Hermann
            evgeniy_dushistov evgeniy_dushistov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes