diff --git a/gfx_es2/draw_text.cpp b/gfx_es2/draw_text.cpp index 7161a526db..4593048498 100644 --- a/gfx_es2/draw_text.cpp +++ b/gfx_es2/draw_text.cpp @@ -12,7 +12,7 @@ #include #endif -#ifdef _WIN32 +#if defined(_WIN32) && !defined(USING_QT_UI) #define WIN32_LEAN_AND_MEAN #include