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

Expose QFileInfo as a FileInfo singleton in QML

XMLWordPrintable

      So that you can do stuff like this:

      readonly property string qmlPath: "qrc:/qml/entities/" + model.name + ".qml"
      
      source: FileInfo.fileExists(qmlPath) ? qmlPath : someOtherPath
      

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes