From 09b6f3f3f7d139fb2e4a8fe5f26a8f9fe2e1a0dd Mon Sep 17 00:00:00 2001 From: ZhangTingan Date: Mon, 22 Dec 2025 15:20:50 +0800 Subject: [PATCH] fix: [build] build error Log: as title --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index d49978412..0a8fdce6a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -62,8 +62,8 @@ void showWatermark(const QString &sJson, MainWindow *w) WaterMarkData data = ins->data(); // DTKWidget 主线和定制线的水印接口不同,通过版本进行区分 // 主线水印接口在 5.6.9 之后引入. - // 因此,判断定制线:存在水印接口,版本不低于 5.4.42.7 且低于 5.5 -#if DTK_VERSION_CHECK(5, 4, 42, 7) <= DTK_VERSION && DTK_VERSION < DTK_VERSION_CHECK(5, 5, 0, 0) + // 因此,判断定制线:存在水印接口,版本不低于 5.4.42.7 且低于 5.6.9 +#if DTK_VERSION_CHECK(5, 4, 42, 7) <= DTK_VERSION && DTK_VERSION < DTK_VERSION_CHECK(5, 6, 9, 0) //接口变动为结构体 data.text = mapwaterMark.value("text").toString(); data.type = WaterMarkType::Text;