From 7a84744dc30670696e738620cf12ff92e20d0ba4 Mon Sep 17 00:00:00 2001 From: Zhao Yuhang <2546789017@qq.com> Date: Fri, 6 Oct 2023 16:40:05 +0800 Subject: [PATCH] quick: add a way to import static plugin --- include/FramelessHelper/Quick/framelesshelperquick_global.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/FramelessHelper/Quick/framelesshelperquick_global.h b/include/FramelessHelper/Quick/framelesshelperquick_global.h index 92488e9..4c922a5 100644 --- a/include/FramelessHelper/Quick/framelesshelperquick_global.h +++ b/include/FramelessHelper/Quick/framelesshelperquick_global.h @@ -71,6 +71,10 @@ } #endif +#ifndef FRAMELESSHELPER_IMPORT_QUICK_PLUGIN +# define FRAMELESSHELPER_IMPORT_QUICK_PLUGIN Q_IMPORT_PLUGIN(org_wangwenx190_FramelessHelperPlugin) +#endif + FRAMELESSHELPER_BEGIN_NAMESPACE [[maybe_unused]] inline constexpr const char FRAMELESSHELPER_QUICK_URI[] = "org.wangwenx190.FramelessHelper";