Skip to content

Commit 3f3ce04

Browse files
committed
feat: Remove Qt
- Upgrade CMake minimum version to 3.16 - Update C++ standard to C++17 - Remove Qt - Fix std namespace usage in zip.cc Log:
1 parent 1ebc2a7 commit 3f3ce04

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

3rdparty/utils/libofd/utils/zip.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ bool Zip::ImplCls::AddDir(const std::string &dirName) {
177177
// **************** class Zip ****************
178178

179179
Zip::Zip(){
180-
m_impl = make_unique<Zip::ImplCls>(this);
180+
m_impl = std::make_unique<Zip::ImplCls>(this);
181181
}
182182

183183
Zip::~Zip(){

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
cmake_minimum_required(VERSION 3.13)
1+
cmake_minimum_required(VERSION 3.16)
22
project(docparser VERSION 1.0.0 LANGUAGES CXX)
33

44
# 设置C++标准
5-
set(CMAKE_CXX_STANDARD 11)
5+
set(CMAKE_CXX_STANDARD 17)
66
set(CMAKE_CXX_STANDARD_REQUIRED ON)
77

88
# 在顶层CMakeLists.txt中添加

debian/control

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ Maintainer: deepin <[email protected]>
55
Build-Depends:
66
cmake,
77
debhelper (>= 11),
8-
qtbase5-dev,
9-
qt5-qmake,
108
pkg-config,
119
libpoppler-cpp-dev,
1210
libzip-dev,

0 commit comments

Comments
 (0)