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

Error in file-selected QML file reported as coming from base file

    XMLWordPrintable

Details

    Description

      In my case I had a Theme.qml file and a +material/Theme.qml file, and the latter was being loaded by the error was reported for the former:

      pragma Singleton
      
      import QtQml
      import QtQuick.Controls.Material
      
      QtObject {
          property color focusColour: Material.accent
      }
      

      qrc:/qml/ui/Theme.qml:26:5: color is not a type

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes