- 
    Bug 
- 
    Resolution: Unresolved
- 
    P3: Somewhat important 
- 
    None
- 
    5.7.0
- 
    None
In my class I have declared a flag field with Q_FLAG macro.
If I make a Q_PROPERTY for the flag to access it, compilation fails with errors in moc_*.cpp file (tested with VS 2015 compiler).
If i remove Q_PROPERTY compilation goes successfully.
The test project example is attached.