Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.7.2, 5.8.0
-
1b599660219d8b54df5d075bf7aa69bfd3bf282b
Description
Using Q_INTERFACES in an application built against Qt 5.8.0 on Windows 8.1 (Visual Studio 2015) now results in the following error during MOC:
error : Undefined interface
An example of code that fails for me:
#include <QObject> #include <QQmlParserStatus> class Foo : public QObject, QQmlParserStatus { Q_OBJECT Q_INTERFACES(QQmlParserStatus) };
This is a regression in 5.8.0, but does not appear for me in Qt 5.6.2 or Qt 5.7.1.
This behaviour has not been observed on macOS, iOS, Android, or Ubuntu builds.
Note that this occurs both in a shadow build and an in-source build.
Related: QTBUG-36107