Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-231

Creator should know when to rerun qmake

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • Qt Creator 1.2.1
    • a7f1fc2d6bafee180f95fdf35669d06455b88ada

    Description

      t4id: 261395

      Currently if you add the Q_OBJECT macro to a class after running qmake then the Makefile generated will not specify moc to be run for that class. The solution of course is to run qmake again. This is a common problem with a well known solution, however with Creator there is the a chance to automate this process to make this a non issue.

      I propose that something be done for this situation. Creator could either automatically schedule qmake to be run the next time the application is built when the Q_OBJECT macro is added, or Creator could at least warn the user that they will need to run qmake again if they don't want to experience build issues.

      As a side note: This may be a well know issue for experienced Qt developers, but may not be for newer Qt developers, and may be required for a better Qt development experience with the Qt SDK.

      Attachments

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
              Votes:
              34 Vote for this issue
              Watchers:
              29 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes