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

qmake Makefile does not include a dependency on ui_dialog.h in rule for dialog.o

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 4.8.4
    • Build tools: qmake
    • None
    • Gentoo GNU/LINUX x86_64 on kernel 3.8.10
      QMake version 2.01a
      Using Qt version 4.8.4 in /usr/lib64/qt4
      Using Qt Creator 2.7.0

    Description

      SETUP:

      • Create dialog.ui file in Qt Creator or otherwise
      • Run qmake
      • Run make
        (by using the Makefile generated by qmake, 'make' correctly generates a ui_dialog.h file from dialog.ui, which is then included in the compiled dialog.o binary)
      • Modify dialog.ui
      • Rerun make
        (this time, ui_dialog.h is correctly regenerated to reflect the changes in dialog.ui, but the dialog.o binary does not get recompiled)

      PROBLEM:

      • dialog.o is not regenerated after modifying the dialog user interface file

      EFFECT:

      • At runtime, dialog UI is not updated to reflect changes - previous original form from dialog.o is used.

      Attachments

        1. qmaketest.sh
          1 kB
        2. qtuieval
          0.8 kB

        Issue Links

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

          Activity

            People

              buddenha Oswald Buddenhagen
              kollapse Joren Hanoy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes