forked from Mirrors/openclonk
Add missing C4Include include in C4ConsoleQtShapes
Qt's moc generates another source file that includes this header without including C4Include.h first. The generates source file thus doesn't compile. It is unclear to me why this isn't an issue with our current build setup (it is an issue with a meson-based build).master
parent
a73e5fc871
commit
952cfef497
|
@ -20,6 +20,7 @@
|
|||
#define INC_C4ConsoleQtShapes
|
||||
#ifdef WITH_QT_EDITOR
|
||||
|
||||
#include "C4Include.h" // needed for automoc
|
||||
#include "editor/C4ConsoleGUI.h" // for glew.h
|
||||
#include "editor/C4ConsoleQt.h"
|
||||
#include "script/C4Value.h"
|
||||
|
@ -353,4 +354,4 @@ public:
|
|||
|
||||
|
||||
#endif // WITH_QT_EDITOR
|
||||
#endif // INC_C4ConsoleQtShapes
|
||||
#endif // INC_C4ConsoleQtShapes
|
||||
|
|
Loading…
Reference in New Issue