fix linux build

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
This commit is contained in:
Yuhang Zhao 2023-02-05 14:06:33 +08:00
parent 14ccc990cf
commit 9cadad625a
1 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,12 @@
# include <FramelessHelper/Core/framelesshelper_linux.h> # include <FramelessHelper/Core/framelesshelper_linux.h>
#endif // Q_OS_LINUX #endif // Q_OS_LINUX
#ifdef Q_OS_LINUX
QT_BEGIN_NAMESPACE
class QScreen;
QT_END_NAMESPACE
#endif // Q_OS_LINUX
FRAMELESSHELPER_BEGIN_NAMESPACE FRAMELESSHELPER_BEGIN_NAMESPACE
struct SystemParameters; struct SystemParameters;