From 986ca4744e533e0deb751a7e260eec0a896b24ac Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Mon, 26 Sep 2022 15:20:13 +0800 Subject: [PATCH] fix: build error in linux --- libs/qsynedit/qsynedit.pro | 1 + packages/debian/builddeb.sh | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/qsynedit/qsynedit.pro b/libs/qsynedit/qsynedit.pro index bc0d5168..906cb29b 100644 --- a/libs/qsynedit/qsynedit.pro +++ b/libs/qsynedit/qsynedit.pro @@ -4,6 +4,7 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++17 CONFIG += nokey +CONFIG += staticlib win32: { DEFINES += _WIN32_WINNT=0x0601 diff --git a/packages/debian/builddeb.sh b/packages/debian/builddeb.sh index e55fcd2e..3e29a2c1 100755 --- a/packages/debian/builddeb.sh +++ b/packages/debian/builddeb.sh @@ -14,9 +14,8 @@ cp -r RedPandaIDE $TMP_FOLDER cp README.md $TMP_FOLDER cp LICENSE $TMP_FOLDER cp NEWS.md $TMP_FOLDER -cp -r platform/linux $TMP_FOLDER +cp -r platform $TMP_FOLDER cp Red_Panda_CPP.pro $TMP_FOLDER -cp -r linux $TMP_FOLDER cd $TMP_FOLDER dpkg-buildpackage -us -uc