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

lrelease does not recurse projects in SUBDIRS template .pro

XMLWordPrintable

      This DOES work for lupdate, but appears to not work for lrelease.

      I want my independent apps to have their own generated .ts and .qm files. So I put the TRANSLATION keyword in the .pro of those specific apps. Those apps are built through a top level .pro file of type SUBDIR.

      I want to run lupdate and lrelease on just the subdir to take care of it all in one shot. lupdate works, but lrelease complains that my subdir .pro has no translations. Error:
      lrelease warning: Met no 'TRANSLATIONS' entry in project file <subdir pro file>.

      toplevel.pro

      TEMPLATE = subdirs
      SUBDIRS += subapp
      

      subapp.pro

      TEMPLATE = app
      SOURCES += main.cpp /
          qtclassobject.cpp
      TRANSLATIONS = subapp_es.ts
      

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

            jbornema Joerg Bornemann
            atemple03 Adam Temple
            Votes:
            8 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes