Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: support Qt6 #178

Merged
merged 17 commits into from
Jan 20, 2025
Merged

chore: support Qt6 #178

merged 17 commits into from
Jan 20, 2025

Conversation

wyu71
Copy link
Contributor

@wyu71 wyu71 commented Jan 20, 2025

support Qt6

Log: support Qt6

wyu71 and others added 16 commits January 9, 2025 05:06
* Update Qt5 dependencies to Qt6
* Update Dtk5 dependencies to Dtk6
* Add version control variables QT_VERSION_MAJOR and DTK_NS
* Remove libgsettings-qt-dev dependency

Log: update build dependencies to Qt6
* Replace QRegExp with QRegularExpression in fsearch_utils
* Add Qt6 compatible std::sort in array.c
* Remove unused QStringList forward declaration

Log: adapt Qt6 API changes in 3rdparty
* Replace QTime with QElapsedTimer for time measurement
* Replace QRegExp with QRegularExpression for pattern matching
* Update Qt6 string split behavior with Qt::SkipEmptyParts
* Replace qSort with std::sort for sorting
* Update process API from pid() to processId()

Log: adapt Qt6 API changes in daemon
* Replace QFontMetrics::width with horizontalAdvance for Qt6
* Add const qualifier to MatchedItem operator== for Qt6 compatibility

Log: adapt Qt6 API changes in global
* Replace QRegExp with QRegularExpression
* Update Qt6 layout margins API
* Update Qt6 font metrics API
* Update Qt6 event handling
* Update Qt6 palette color API

Log: adapt Qt6 API changes in grand-search
* Update CMake find_package for Qt6 and Dtk6
* Add Qt6::Core5Compat for audio and text preview
* Update Qt6 layout margins API
* Update include headers for Qt6

Log: adapt Qt6 API changes in preview-plugin
* Update CMake find_package for Qt6 in luceneengine
* Update CMake find_package for Qt6 in semanticparser
* Add Qt6 dbus interface generation support

Log: adapt Qt6 API changes in tools
* Update CMake C++ standard from 14 to 17 in tests
* Update QRegExp to QRegularExpression in unit tests

Log: adapt Qt6 API changes in tests
* Add Qt6 lrelease tool path detection
* Fallback to Qt5 lrelease if Qt6 not found
* Keep lrelease command as final fallback

Log: adapt Qt6 lrelease tool in translation
* Update CMake find_package for Qt6 and Dtk6
* Add Qt version check for gsettings-qt dependency
* Update Qt6 font metrics API from width to horizontalAdvance
* Update Qt6 layout margins API from setMargin to setContentsMargins

Log: adapt Qt6 API changes in dock-plugin
* Remove Qt version check for QRegularExpression options
* Use QRegularExpression::CaseInsensitiveOption consistently
* Remove Qt5 specific Qt::CaseInsensitive option

Log: adapt Qt6 QRegularExpression option
* Replace commented version check with proper CMake generator expression
* Use standard CMake LESS operator instead of < operator
* Clean up QGSettings conditional compilation for Qt5/6
* Remove trailing empty lines

Log: improve Qt version check in CMake
* fix: [CI]Fix CI build issue

The Dtk CMake module will use dtk release tool to get env version, but it may be incorrect that cause build blocked.

Log: Fix CI build issue.

* chore: [tag]New tag 5.5.12

New v5.5.12 release.

Log: v5.5.12 release.
Fix build issue on arm64 and loong64, update new tag 5.5.13

Log: New tag v5.5.13
修复后端为qt5启动

Log: 修复后端为qt5启动
update version

Log: update version
Copy link

github-actions bot commented Jan 20, 2025

CLA Assistant Lite bot:

如果你是以企业贡献者的身份进行提交,请联系我们签署企业贡献者许可协议
If you submit as corporate contributor, please contact us to sign our Corporate Contributor License Agreement

感谢您的提交,我们非常感谢。 像许多开源项目一样,在接受您的贡献之前,我们要求您签署我们的个人贡献者许可协议。 您只需发布与以下格式相同的评论即可签署个人贡献者许可协议
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Individual Contributor License Agreement before we can accept your contribution. You can sign the Individual Contributor License Agreement by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA.

You can retrigger this bot by commenting recheck in this Pull Request

Copy link

TAG Bot

TAG: 5.5.14
EXISTED: yes
DISTRIBUTION: unstable

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: lzwind, wyu71

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@wyu71
Copy link
Contributor Author

wyu71 commented Jan 20, 2025

/forcemerge

@deepin-bot
Copy link

deepin-bot bot commented Jan 20, 2025

This pr force merged! (status: blocked)

@deepin-bot deepin-bot bot merged commit 8137953 into master Jan 20, 2025
10 of 14 checks passed
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.

4 participants