From 522bb086391b43011112ef3589cd4621a8014906 Mon Sep 17 00:00:00 2001 From: zhanghexian Date: Fri, 23 Aug 2024 17:10:39 +0800 Subject: [PATCH] fix: fix the issue of not being able to find qlocalserver. h in 1053CRP packaging Fix the issue of not being able to find qlocalserver. h in 1053CRP packaging Log: fix the issue of not being able to find qlocalserver. h in 1053CRP packaginging Bug: https://pms.uniontech.com/bug-view-269749.html --- .../deepin-custom-screensaver/deepin-custom-screensaver.pro | 2 +- .../deepin-custom-screensaver/src/singleinstance.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/customscreensaver/deepin-custom-screensaver/deepin-custom-screensaver.pro b/customscreensaver/deepin-custom-screensaver/deepin-custom-screensaver.pro index 0c1120a..5dd77fe 100644 --- a/customscreensaver/deepin-custom-screensaver/deepin-custom-screensaver.pro +++ b/customscreensaver/deepin-custom-screensaver/deepin-custom-screensaver.pro @@ -4,7 +4,7 @@ # #------------------------------------------------- -QT += core gui dtkcore +QT += core gui dtkcore network greaterThan(QT_MAJOR_VERSION, 4): QT += widgets diff --git a/customscreensaver/deepin-custom-screensaver/src/singleinstance.cpp b/customscreensaver/deepin-custom-screensaver/src/singleinstance.cpp index 7591e74..fd8d7b5 100644 --- a/customscreensaver/deepin-custom-screensaver/src/singleinstance.cpp +++ b/customscreensaver/deepin-custom-screensaver/src/singleinstance.cpp @@ -3,7 +3,7 @@ // SPDX-License-Identifier: GPL-3.0-or-later #include "singleinstance.h" - +#include #include #include #include