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

lupdate does not work with project file using SUBDIRS target where the .subdir option is used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.0.0
    • 4.6.3
    • Tools: Linguist
    • None
    • 3460395ebbf1e9eb05419854c0d5de28b89b9b0a

    Description

      I'm having a main project file for a large project which uses the subdirs TEMPLATE to build the app itselöf plus njumerous plugins for it. Here is a part of the project file:

      TEMPLATE = subdirs
      SUBDIRS += application

      1. also build the plugins
        SUBDIRS += plg_table
        plg_table.subdir = ./plugins/table

      The project file for the "application" is in the application subdirectory, but the project file and code for the "table-plugin" is in ./plugins/table, so I use the .subdir option to change the directory of plg_table. Unfortunately this is not recognized by lupdate and lrelease. They work on the translations from application (and some other subdirs, like them which I left out) but do not find the directory "./plg_table" (error message), so the do not care for the .subdir option.

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            jkriege2 Jan Krieger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes