Skip to content

Commit 6f7e93b

Browse files
committed
fix: build faild on mips
Log: Change-Id: Ic993dce88f06fa0744d2ae0bc2ddd1b1b4ab9a8a
1 parent 787c142 commit 6f7e93b

3 files changed

Lines changed: 16 additions & 16 deletions

File tree

debian/control

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ Maintainer: Deepin Packages Builder <[email protected]>
55
Build-Depends:
66
debhelper (>=9),
77
cmake,
8-
qt6-qmake[!mipsel !mips64el] | qt5-qmake,
9-
qt6-base-dev[!mipsel !mips64el] | qtbase5-dev,
10-
qt6-tools-dev-tools[!mipsel !mips64el] | qttools5-dev-tools,
11-
qt6-tools-dev[!mipsel !mips64el] | qttools5-dev,
12-
qt6-webengine-dev[!mipsel !mips64el] | qtwebengine5-dev,
13-
qt6-multimedia-dev[!mipsel !mips64el],
14-
libdtk6widget-dev[!mipsel !mips64el] | libdtkwidget-dev,
15-
libdtk6gui-dev[!mipsel !mips64el] | libdtkgui-dev,
16-
libdtk6core-dev[!mipsel !mips64el] | libdtkcore-dev,
17-
libdtk6core5-bin[!mipsel !mips64el] |libdtkcore5-bin,
18-
libkf6syntaxhighlighting-dev[!mipsel !mips64el] | libkf5syntaxhighlighting-dev,
19-
qt6-script-dev[!mipsel !mips64el] | qtscript5-dev,
20-
qt6-5compat-dev[!mipsel !mips64el] | hello,
8+
qt6-qmake | qt5-qmake,
9+
qt6-base-dev | qtbase5-dev,
10+
qt6-tools-dev-tools | qttools5-dev-tools,
11+
qt6-tools-dev | qttools5-dev,
12+
qt6-webengine-dev | qtwebengine5-dev,
13+
qt6-multimedia-dev,
14+
libdtk6widget-dev | libdtkwidget-dev,
15+
libdtk6gui-dev | libdtkgui-dev,
16+
libdtk6core-dev | libdtkcore-dev,
17+
libdtk6core5-bin |libdtkcore5-bin,
18+
libkf6syntaxhighlighting-dev | libkf5syntaxhighlighting-dev,
19+
qt6-script-dev | qtscript5-dev,
20+
qt6-5compat-dev | hello,
2121
libqt5scripttools5 | hello,
2222
lxqt-build-tools (>= 0.6.0~),
2323
libssl-dev,

src/plugins/core/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ cmake_minimum_required(VERSION 3.18)
22

33
project(core)
44

5-
if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "loongarch64")
6-
add_definitions(-DLOONGARCH64)
5+
if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "mips64")
6+
add_definitions(-DUNSUPPORTPLATFORM)
77
endif()
88

99
FILE(GLOB_RECURSE PROJECT_SOURCES

src/plugins/core/gui/plugindetailsview.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class DLabel;
2424
DWIDGET_END_NAMESPACE
2525

2626
// webengine could not used on some platform
27-
#ifdef LOONGARCH64
27+
#ifdef UNSUPPORTPLATFORM
2828
#define NOT_USE_WEBENGINE
2929
#endif
3030

0 commit comments

Comments
 (0)