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

Add Q_OBJECT option to Add New... C++ Class wizard

    XMLWordPrintable

Details

    • Linux/X11
    • dfb6fbed7c2262ffb02dfe609c7a45aba48a98ac (qt-creator/qt-creator/master)

    Description

      1. Right click on an open project in the Projects navigator and select Add New... (The New File wizard opens).
      2. Select C++ under Files and Classes and C++ Class in the second list view. Click the Choose button. (The C++ Class wizard opens)
      3. Enter a Class name, select <Custom> base class and enter an existing class name to inherit from.

      It would be nice to have an "Add Q_OBJECT" checkbox. Then when the wizard completes, the Q_OBJECT macro is added to the header file appropriately.

      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
              jbarnesweb Jeff Barnes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes