chore: add hight dpi scale policy

This commit is contained in:
x-tools-author 2024-03-31 22:03:45 +08:00
parent f6c3c445c2
commit 266b3e1e61

View File

@ -39,6 +39,12 @@ DEFINES += X_TOOLS_AUTHOR_EMAIL=\"\\\"x-tools@outlook.com\\\"\"
DEFINES += X_TOOLS_DEFAULT_APP_STYLE=\"\\\"Fusion\\\"\"
DEFINES += X_TOOLS_GITHUB_REPOSITORY_URL=\"\\\"https://github.com/x-tools-author/x-tools\\\"\"
DEFINES += X_TOOLS_GITEE_REPOSITORY_URL=\"\\\"https://gitee.com/x-tools-author/x-tools\\\"\"
equals(QT_MAJOR_VERSION, 5):greaterThan(QT_MINOR_VERSION, 13) {
DEFINES += X_TOOLS_ENABLE_HIGH_DPI_POLICY
}
equals(QT_MAJOR_VERSION, 6) {
DEFINES += X_TOOLS_ENABLE_HIGH_DPI_POLICY
}
exists (./.git) {
GIT_COMMIT = $$system(git rev-parse HEAD)