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

qmake generates wrong dependencies for UI files

XMLWordPrintable

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

      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

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes