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
Lukas Werling 2018-10-14 23:19:32 +02:00
parent a73e5fc871
commit 952cfef497
1 changed files with 2 additions and 1 deletions

View File

@ -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