diff --git a/JGE/include/corewrapper.h b/JGE/include/corewrapper.h index 6fe3d7b62..3ea9dc060 100644 --- a/JGE/include/corewrapper.h +++ b/JGE/include/corewrapper.h @@ -7,6 +7,9 @@ #include "../include/JFileSystem.h" #include "../include/JRenderer.h" #include "../include/JGameLauncher.h" +#ifdef QT_CONFIG +#include +#endif class WagicCore { diff --git a/JGE/src/corewrapper.cpp b/JGE/src/corewrapper.cpp index 2b3435293..cc35ab320 100644 --- a/JGE/src/corewrapper.cpp +++ b/JGE/src/corewrapper.cpp @@ -310,7 +310,7 @@ static const struct { LocalKeySym keysym; JButton keycode; } gDefaultBindings[] { SDLK_VOLUMEUP, JGE_BTN_PREV }, { SDLK_VOLUMEDOWN, JGE_BTN_SEC}, }; -#elif define QT_CONFIG +#elif defined QT_CONFIG { { Qt::Key_Enter, JGE_BTN_MENU }, { Qt::Key_Return, JGE_BTN_MENU },