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

qmake generates wrong dependencies for UI files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.12.0
    • Build tools: qmake
    • None
    • All

    Description

      qmake generates dependencies for a UI file as part of the rule for UIC compilation. qmake generates the dependency with no path info (relative or absolute) even if the header file (in the UI file) is in a different folder

      In 5.9 it generates the full path.

      uic -d list relative (and correct paths).

      moc does it right as before.

       

      Example:

      <header>GEditor.h</header>

      uic -d:

      ../../core/ang_gui/GEditor.h

      Makefile in Qt 5.9:

      /Users/david/software/core/ang_gui/GEditor.h

      Makefile in Qt 5.12:

      GEditor.h

       

      Attachments

        Issue Links

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

          Activity

            People

              buddenha Oswald Buddenhagen
              dasloop David
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes