- 
    
Bug
 - 
    Resolution: Cannot Reproduce
 - 
    
P3: Somewhat important
 - 
    None
 - 
    Qt Creator 3.6.1, Qt Creator 4.1.0, Qt Creator 4.2.0
 - 
    None
 - 
    Windows 10
Qt 5.7.1 MSVC 64Bits 
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