Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 10.0.0
-
None
-
-
dbfd378f5 (10.0)
Description
When creating a new c++ class using the UI, With:
- base class QObject
- Add Q_OBJECT checked
- Add QML_ELEMENT checked
The generated code is invalid:
#include <QQmlEngine> is missing.
Indentation is invalid.
When using the QQuickItem base class and letting the default, indentation is also invalid but as QQuickItem is included the code compiles.