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

generate missing q_property members ignores RESET function

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 4.14.0-beta1
    • Qt Creator 3.0.1
    • C/C++/Obj-C++ Support
    • None
    • Windows 7 64-bit Mingw48
    • affd4ee658c66e9666ed38a5ea53cce7fb024a7c (qt-creator/qt-creator/master)

    Description

      When using the auto complete feature of Q_PROPERTY, when specifying a RESET function, the function stub is not generated into the header file. Compiler complains that the reset function is not declared in the moc_*.cpp as a result.
      Manual addition of the reset function is necessary for a successful build.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            miketrahearn Mike Trahearn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes