Skip to content

Commit

Permalink
chore: update README and project file tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
BLumia committed Apr 27, 2024
1 parent 2a30cc0 commit 471f6b9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ elseif (APPLE)
# ...
elseif (UNIX)
set (CPACK_SYSTEM_NAME "${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}")
set (CPACK_DEBIAN_PACKAGE_SHILIBDEPS ON)
set (CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
set (CPACK_DEBIAN_PACKAGE_RECOMMENDS "kimageformat-plugins")
endif()

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Pineapple Pictures is a lightweight image viewer that allows you view JPEG, PNG,
Current state, we need:

- `cmake`: as the build system.
- `qt5` with `qt5-svg` and `qt5-tools`: since the app is using Qt.
- `qt6` with `qt6-svg` and `qt6-tools`: since the app is using Qt.
- `libexiv2`: able to display more image metadata. (optional, but recommended)

Then we can build it with any proper c++ compiler like g++ or msvc.
Expand Down
2 changes: 1 addition & 1 deletion README.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
当前状态,我们需要先确保如下依赖可用:

- `cmake`: 我们所使用的构建系统
- 包含 `qt5-svg``qt5-tools` 组件的 `qt5`: 此应用基于 Qt
- 包含 `qt6-svg``qt6-tools` 组件的 `qt6`: 此应用基于 Qt
- `libexiv2`: 用以获取和显示更多的图像元信息(可选,推荐)

然后我们就可以使用任何常规的 c++ 编译器如 g++ 或 msvc 来进行构建了
Expand Down
6 changes: 3 additions & 3 deletions pineapple-pictures.pro
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Gary Wang <wzc782970009@gmail.com>
# SPDX-FileCopyrightText: 2024 Gary Wang <git@blumia.net>
#
# SPDX-License-Identifier: MIT

Expand All @@ -19,7 +19,7 @@ DEFINES += QT_DEPRECATED_WARNINGS
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0

CONFIG += c++11 lrelease embed_translations
CONFIG += c++17 lrelease embed_translations

SOURCES += \
app/aboutdialog.cpp \
Expand Down Expand Up @@ -85,7 +85,7 @@ RC_ICONS = assets/icons/app-icon.ico
# Windows only, for rc file (we're not going to use the .rc file in this repo)
QMAKE_TARGET_PRODUCT = Pineapple Pictures
QMAKE_TARGET_DESCRIPTION = Pineapple Pictures - Image Viewer
QMAKE_TARGET_COPYRIGHT = MIT/Expat License - Copyright (C) 2020 Gary Wang
QMAKE_TARGET_COPYRIGHT = MIT/Expat License - Copyright (C) 2024 Gary Wang

# MSVC only, since QMake doesn't have a CMAKE_CXX_STANDARD_LIBRARIES or cpp_winlibs similar thing
win32-msvc* {
Expand Down

0 comments on commit 471f6b9

Please sign in to comment.