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

lupdate and lrelease ignore conditionals in qmake project files

    XMLWordPrintable

Details

    Description

      lupdate and lrelease ignore conditionals in qmake project files.

      TEMPLATE = app
      SOURCES += main.cpp
      TRANSLATIONS = lr_fr.ts
      win32 {
          QT += nonsense
      }
      

      Building on a Linux host, this results in the following output:

      WARNING: Project ERROR: Unknown module(s) in QT: nonsense

      Extraction and conversion of translation strings is not aborted.

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            jeremy.katz Jeremy Katz
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes