Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-597

qStr("%1").arg(xxx) fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Moved
    • P1: Critical
    • None
    • 2.0.0
    • General
    • None

    Description

      Using e.g. qsTr("%1").arg(systemInfo.prettyProductName)

      in an ifw script results in a javascript exception:

      ---------------------------
      Error
      ---------------------------
      Exception while loading the component script '://metadata//root/installscript.qs'. (TypeError: Property 'arg' of object %1 is not a function)
      ---------------------------
      OK
      ---------------------------

      The same logic in a .qml file works fine.

      Attachments

        Issue Links

          Activity

            People

              installerteam Installer Team
              kkohne Kai Köhne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: