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

qsTrNoOp() is not defined in QML

    XMLWordPrintable

Details

    • Windows
    • 3f6036de6 (dev), d3a94e913 (6.7), 22d412edf (tqtc/lts-6.5), 98eb19963 (dev), 18e1455b8 (6.8), 58112f8a2 (6.7), de9559a4f (tqtc/lts-6.5)

    Description

      qsTrNoOp() function is not defined when used in QML if used like in the snippet of this documentation:

      https://doc.qt.io/qt-6/i18n-source-translation.html#qml-use-noop-functions

      Using QT_TR_NOOP() works, like in the snippet of the function doc:

      https://doc.qt.io/qt-6/qml-qtqml-qt.html#qsTrNoOp-method

       

      Attachments

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

        Activity

          People

            kkohne Kai Köhne
            pijaouen Pierre Jaouen
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews