Skip to content

Commit 515f317

Browse files
committed
fix: Adapt to build for Qt 6.8.3
1 parent 22b7e60 commit 515f317

22 files changed

+149
-121
lines changed

AboutAuthor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-3.0-or-later
2-
// SPDX-FileCopyrightText: 2019-2024 XMuli & Contributors
2+
// SPDX-FileCopyrightText: 2019-2025 XMuli & Contributors
33
// SPDX-GitHub: https://github.com/XMuli/ChineseChess
44
// SPDX-Author: XMuli <[email protected]>
55

AboutAuthor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-3.0-or-later
2-
// SPDX-FileCopyrightText: 2019-2024 XMuli & Contributors
2+
// SPDX-FileCopyrightText: 2019-2025 XMuli & Contributors
33
// SPDX-GitHub: https://github.com/XMuli/ChineseChess
44
// SPDX-Author: XMuli <[email protected]>
55

AboutAuthor.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ li.unchecked::marker { content: &quot;\2610&quot;; }
3737
li.checked::marker { content: &quot;\2612&quot;; }
3838
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Segoe UI'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
3939
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'华文楷体';&quot;&gt;作者:&lt;/span&gt;&lt;/p&gt;
40-
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'华文楷体';&quot;&gt; Copyright © 2019-2024 &lt;/span&gt;&lt;a href=&quot;https://github.com/XMuli&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#007af4;&quot;&gt;偕臧&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-family:'华文楷体';&quot;&gt; &lt;/span&gt;&lt;/p&gt;
40+
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'华文楷体';&quot;&gt; Copyright © 2019-2025 &lt;/span&gt;&lt;a href=&quot;https://github.com/XMuli&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#007af4;&quot;&gt;偕臧&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-family:'华文楷体';&quot;&gt; &lt;/span&gt;&lt;/p&gt;
4141
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'华文楷体'; text-decoration: underline; color:#007af4;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
4242
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'FangSong';&quot;&gt;贡献者: &lt;/span&gt;&lt;/p&gt;
4343
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'FangSong';&quot;&gt; - &lt;/span&gt;&lt;a href=&quot;https://github.com/Bruce-Ch&quot;&gt;&lt;span style=&quot; font-family:'FangSong'; text-decoration: underline; color:#007af4;&quot;&gt;Bruce-Ch&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;

CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,20 @@
44
# 关于作者:
55
66
# 项目完成时间: 2019-02-01
7-
# 功能更新时间: 2024-01-24
7+
# 功能更新时间: 2025-10-20
88
# 其他:如果觉得该作品对你有用,或者有疑惑或者感谢,可以联系作者或者打赏;
99
# 对我的 Star 和 Fork 是最大鼓励;当然有人欢迎你提交在 GitHub 提交 PR,
1010
# 已将源码和思路开源公布于我的github和博客,供大家学习参考
1111
#
1212
# 联系作者:
1313
# GitHub: https://github.com/XMuli/ChineseChess
1414
# Site: https://chinesechess.xmuli.tech
15+
# More Products https://product.xmuli.tech
1516
# Telegram: https://t.me/xmuli
1617
# CSDN Bolg: https://blog.csdn.net/qq_33154343
1718
# My Blog: https://xmuli.tech
1819
#-------------------------------------------------
19-
cmake_minimum_required(VERSION 3.5)
20+
cmake_minimum_required(VERSION 3.25)
2021

2122
set(project_name ChineseChess)
2223
set(project_version_major 6)
@@ -41,7 +42,7 @@ file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}) # 创建输出目
4142
# 需要配置环境变量QT5_DIR
4243
#set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} $ENV{QT5_DIR})
4344

44-
set(qt_moduls Widgets Gui OpenGL Network Xml Svg Multimedia) # Network Multimedia WebSockets
45+
set(qt_moduls Core Gui Widgets OpenGL Network Xml Svg Multimedia) # Network Multimedia WebSockets
4546
set(qt_version_moduls)
4647
foreach(it ${qt_moduls})
4748
list(APPEND qt_version_moduls Qt${QT_VERSION_MAJOR}::${it})

ChessBoard.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-3.0-or-later
2-
// SPDX-FileCopyrightText: 2019-2024 XMuli & Contributors
2+
// SPDX-FileCopyrightText: 2019-2025 XMuli & Contributors
33
// SPDX-GitHub: https://github.com/XMuli/ChineseChess
44
// SPDX-Author: XMuli <[email protected]>
55

ChessBoard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-3.0-or-later
2-
// SPDX-FileCopyrightText: 2019-2024 XMuli & Contributors
2+
// SPDX-FileCopyrightText: 2019-2025 XMuli & Contributors
33
// SPDX-GitHub: https://github.com/XMuli/ChineseChess
44
// SPDX-Author: XMuli <[email protected]>
55

ChessPieces.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-3.0-or-later
2-
// SPDX-FileCopyrightText: 2019-2024 XMuli & Contributors
2+
// SPDX-FileCopyrightText: 2019-2025 XMuli & Contributors
33
// SPDX-GitHub: https://github.com/XMuli/ChineseChess
44
// SPDX-Author: XMuli <[email protected]>
55

ChessPieces.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-3.0-or-later
2-
// SPDX-FileCopyrightText: 2019-2024 XMuli & Contributors
2+
// SPDX-FileCopyrightText: 2019-2025 XMuli & Contributors
33
// SPDX-GitHub: https://github.com/XMuli/ChineseChess
44
// SPDX-Author: XMuli <[email protected]>
55

ChessStep.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-3.0-or-later
2-
// SPDX-FileCopyrightText: 2019-2024 XMuli & Contributors
2+
// SPDX-FileCopyrightText: 2019-2025 XMuli & Contributors
33
// SPDX-GitHub: https://github.com/XMuli/ChineseChess
44
// SPDX-Author: XMuli <[email protected]>
55

ChessStep.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-3.0-or-later
2-
// SPDX-FileCopyrightText: 2019-2024 XMuli & Contributors
2+
// SPDX-FileCopyrightText: 2019-2025 XMuli & Contributors
33
// SPDX-GitHub: https://github.com/XMuli/ChineseChess
44
// SPDX-Author: XMuli <[email protected]>
55

0 commit comments

Comments
 (0)