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

qtTrId is not accessible from QtScript

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.1
    • 4.6.0
    • Qt Script
    • None
    • a5867a413d14f307c0f20b7080840b15bd8743e4 d1c482180352aeecabcc8d9f65ab3883175c75c3

    Description

      The global qtTrId ( const char * id, int n = -1 ) isn't accessible in QtScript, and implicitly not in QML either. To be able to use the same .qm files, this function should also be exposed when calling QScriptEngine::installTranslatorFunctions()

      Attachments

        Issue Links

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

          Activity

            People

              kenthans Kent Hansen (Inactive)
              hhartz Henrik Hartz (closed Nokia identity) (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes