Skip to content

chore: option to use KIconThemes instead of Qt5XdgIconLoader - #135

Closed
BLumia wants to merge 1 commit into
linuxdeepin:masterfrom
BLumia:kiconthemes
Closed

chore: option to use KIconThemes instead of Qt5XdgIconLoader#135
BLumia wants to merge 1 commit into
linuxdeepin:masterfrom
BLumia:kiconthemes

Conversation

@BLumia

@BLumia BLumia commented Mar 13, 2023

Copy link
Copy Markdown
Member

提供选项,使用 KIconThemes 替代 Qt5XdgIconLoader。

目前加了一些 ifdef 去判断用哪个,但我们还有必要保留使用 Qt5XdgIconLoader 的实现吗?

相关:

@BLumia
BLumia requested a review from zccrs March 13, 2023 03:04
@deepin-bot

deepin-bot Bot commented Mar 13, 2023

Copy link
Copy Markdown
Contributor

Doc Check bot
🟢 Document Coverage Check Passed!

Comment thread CMakeLists.txt Outdated
Comment thread src/CMakeLists.txt
Comment thread CMakeLists.txt Outdated
Comment thread src/util/util.cmake Outdated
提供选项,使用 KIconThemes 的 KIconEngine 取代 Qt5XdgIconLoader

Log:
@BLumia
BLumia marked this pull request as draft March 13, 2023 04:35
Comment thread src/util/dicontheme.cpp

#ifndef DTK_DISABLE_LIBXDG
#ifndef DTK_DISABLE_ICON_ENGINE_PROXY
static inline QIconEngine *createXdgProxyIconEngine(const QString &iconName)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

函数名改改

Comment thread CMakeLists.txt

# Set build option
option(DTK_DISABLE_LIBXDG "Disable libxdg" OFF)
option(DTK_DISABLE_ICON_ENGINE_PROXY "Disable icon engine, use QIcon::fromTheme() as possible fallback" OFF)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同步更新一下readme?

@deepin-bot

deepin-bot Bot commented Jan 9, 2024

Copy link
Copy Markdown
Contributor

TAG Bot

New tag: 5.6.21
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #214

@deepin-bot

deepin-bot Bot commented Jan 12, 2024

Copy link
Copy Markdown
Contributor

TAG Bot

New tag: 5.6.22
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #219

@BLumia

BLumia commented Jan 12, 2024

Copy link
Copy Markdown
Member Author

目前没空处理这个了,暂时关闭,回头可能要单独重搞下这个或者 fork 一份 KIconTheme 改改用

@BLumia BLumia closed this Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants