XMLWordPrintable

Details

    • Linux/X11
    • 23fdccf7f3d4ace5b0cb9f04d9b941a1235629b8 a8645614685549838daf65e98a1fdbb6201c1482

    Description

      There is a qmlsc warning produced when trying to make an arg call on qStr.

      For example:
      qStr("Hello").arg("World")

       

      This will result in the following warning

      Warning: main.qml:7:29: Property "arg" not found on type "void"
      title: qsTr("Hello %1").arg("World")
      ^^^

      It is suspected that type info for qsTr does not say it returns a string, as someone should be able to call arg() on it. It should be noted that this appears to only occur on linux, could not re-produce this warning on windows. 

       

       

      Attachments

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              benjamin.hadra Benjamin Hadra
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes