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

QML Settings: Check for and warn about unsupported URL schemes

    XMLWordPrintable

Details

    Description

      Currently, the Settings.location is checked by calling `QUrl::isLocalFile()`. If it's not a local file, the URL is ignored: https://github.com/qt/qtdeclarative/blob/v6.5.1/src/core/qqmlsettings.cpp#L239

       

      Ideally, the user should receive some kind of warning instead of having their URL silently ignored (say, if they tried to put a read-only INI file in a QRC resource)

      Attachments

        For Gerrit Dashboard: QTBUG-114159
        # Subject Branch Project Status CR V

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change