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

installTranslatorFunctions doesn't work for custom global object

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.6.3
    • 4.6.0
    • Qt Script
    • None
    • 2c466e4a198f2a21d296eee77d321f548931a3b3

      After setting a custom global object (created via newObject), and then installing the translator functions, trying to use one of the functions produces:
      "ReferenceError: Can't find variable: qsTr"

      The attached file demonstrates.

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

            kenthans Kent Hansen (Inactive)
            brasser Michael Brasser (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes