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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes