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

Generate missing members of Q_PROPERTY facility is working wrong when the public section of the class is missing.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • Qt Creator 3.6.1, Qt Creator 4.1.0, Qt Creator 4.2.0
    • C/C++/Obj-C++ Support
    • None
    • Windows 10
      Qt 5.7.1 MSVC 64Bits

    Description

      When I create a class without a public section and add some Q_PROPERTY(ies), when I hit ALT+Enter to generate the missing members, I end-up with a wrong generation, but when I add the public section of the class everything work as expected.
      Here are some screenshots of the problem.
      http://imgur.com/a/8ZUjq

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            houssg houssem ghiat
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes