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

Lupdate skips during processing files included from other files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.7.1
    • 4.6.2
    • Tools: Linguist
    • None
    • f343c6efac717e3a58d74614c7eb0b84ed380099

    Description

      lupdate ignores content of file if it is included from other file that is earlier on list of files to process.

      :~/lupdatetest$ /usr/local/Qt-4.6.2/bin/lupdate A.h B.h -ts x.ts
      Updating 'x.ts'...
      Found 2 source text(s) (0 new and 2 already existing)

      :~/lupdatetest$ /usr/local/Qt-4.6.2/bin/lupdate B.h A.h -ts x.ts
      Updating 'x.ts'...
      Found 1 source text(s) (0 new and 1 already existing)
      Kept 1 obsolete entries

      :~/lupdatetest$ /usr/local/Qt-4.5.3/bin/lupdate A.h B.h -ts x.ts
      Updating 'x.ts'...

      Found 2 source text(s) (0 new and 2 already existing)

      :~/lupdatetest$ /usr/local/Qt-4.5.3/bin/lupdate B.h A.h -ts x.ts
      Updating 'x.ts'...

      Found 2 source text(s) (0 new and 2 already existing)

      Attachments

        1. A.h
          0.0 kB
        2. B.h
          0.1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            tomga Tomasz Gajewski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes