From 77c3eb57e9fc74dd4acf4f5c180323bdc1eefd80 Mon Sep 17 00:00:00 2001 From: Yuhang Zhao Date: Thu, 12 Oct 2023 10:18:14 +0800 Subject: [PATCH] qmake: fix build --- qmake/inc/core/framelesshelper.config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qmake/inc/core/framelesshelper.config b/qmake/inc/core/framelesshelper.config index 8729265d..e45ffadc 100644 --- a/qmake/inc/core/framelesshelper.config +++ b/qmake/inc/core/framelesshelper.config @@ -43,5 +43,10 @@ #define FRAMELESSHELPER_FEATURE_mica_material 1 #define FRAMELESSHELPER_FEATURE_border_painter 1 #define FRAMELESSHELPER_FEATURE_system_button 1 +#if (defined(WIN32) || defined(_WIN32)) +# define FRAMELESSHELPER_FEATURE_native_impl 1 +#else +# define FRAMELESSHELPER_FEATURE_native_impl -1 +#endif #endif // _FRAMELESSHELPER_CONFIG_INCLUDE_GUARD_