Qt displayed errors with my C++ project as in the attached image.
Workaround:
Remove manually two below lines and I could compile fine:
- line 17: #include <QtQmlIntegration/qqmlintegration.h>
- line 25: QML_ELEMENT
| For Gerrit Dashboard: QTBUG-108773 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 446643,2 | Don't include QML headers in C++ API | dev | qt/qtspeech | Status: MERGED | +2 | 0 |
| 447714,2 | Don't include QML headers in C++ API | 6.4 | qt/qtspeech | Status: MERGED | +2 | 0 |