Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
6.5.0
-
None
-
-
fd565750f (dev), dd7323918 (6.5)
Description
I have a header file with a class that needs moc. The class has a QOffscreenSurface member, so I need to #include <QtGui/QOffscreenSurface>.
In this case, moc generates a source file that doesn't compile:
fatal error: QScreen: No such file or directory
It's because the Q_MOC_INCLUDE(<QScreen>) annotation in qoffscreensurface.h has an invalid path (should be QtGui/QScreen)