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

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

XMLWordPrintable

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

      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.

        For Gerrit Dashboard: QTCREATORBUG-21810
        # Subject Branch Project Status CR V

            kandeler Christian Kandeler
            jbarnesweb Jeff Barnes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes