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

lupdate -no-recursive does the opposite

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.12.0, 5.12.2, 5.12.3
    • Tools: Linguist
    • None
    • Ubuntu 18.04.2 LTS (4.4.0-17134-Microsoft x86_64 GNU/Linux)
    • Linux/X11

    Description

      My project dir structure (base dir):

      .
      ├── CMakeLists.txt
      ├── plugins
      ├── tools
      │   ├── CMakeLists.txt
      │   ├── mocking
      └── translations
      

      When running lupdate with normal project folder like this, there is no problem found:

      $ lupdate plugins
      Scanning directory 'plugins'...
      lupdate warning: no TS files specified. Only diagnostics will be produced.
      

      Some plugins use the fakeit.hpp header, still I say now explicitly to do no recursive search within the tools/mocking folder and you see output :

      $ lupdate plugins -no-recursive tools/mocking
      Scanning directory '.'...
      Scanning directory 'tools/mocking'...
      lupdate warning: no TS files specified. Only diagnostics will be produced.
      /home/sam/repos/hal/tools/mocking/fakeit.hpp:7688: Ignoring definition of undeclared qualified class
      ...

      The same output is shown when do recursive search in tools/mocking:

      $ lupdate plugins -recursive tools/mocking
      Scanning directory 'plugins'...
      Scanning directory 'tools/mocking'...
      lupdate warning: no TS files specified. Only diagnostics will be produced.
      /home/sam/repos/hal/tools/mocking/fakeit.hpp:7688: Ignoring definition of undeclared qualified class
      ...

      (The issue found in fakeit.hpp is off-topic, it is only showing a warning, luckily not obstructing the build)

       

      Attachments

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

        Activity

          People

            kkohne Kai Köhne
            sam.jaques Sam Jaques
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes