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

Reword debug log messages for QML import statements

    XMLWordPrintable

Details

    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

        Activity

          People

            qtqmlteam Qt Qml Team User
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: