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

Reword debug log messages for QML import statements

    XMLWordPrintable

Details

    • dc03949ce (dev), 6b3961c94 (6.8)

    Description

      Setting the environment variable QML_IMPORT_TRACE=1, we get messages like

      qt.qml.import: addLibraryImport: qrc:/MyApp/main.qml "QtQuick" version ' invalid ' as ""
      

      The word "invalid" can give the impression that a problem has occurred. Since it is perfectly valid (and recommended) to write "import QtQuick" instead of "import QtQuick 2.15", I suggest changing the log message (perhaps "unversioned" instead of "invalid")

      Attachments

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

        Activity

          People

            ausutter Audun Sutterud
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change