Skip to content

Update to Qt6 and add PowerShell update script#63

Open
jeremyong wants to merge 2 commits intohluk:masterfrom
StygianPop:master
Open

Update to Qt6 and add PowerShell update script#63
jeremyong wants to merge 2 commits intohluk:masterfrom
StygianPop:master

Conversation

@jeremyong
Copy link

This PR does the following changes:

  1. Synchronize code with the latest Qt-Creator update (pulled as of 2023-05-06)
  2. Massage the patch file to account for upstream changes
  3. Change the test implementation to account for the fact that FakeVimHandler signals are now callbacks
  4. Add a PowerShell script (useful for Windows users, but also PowerShell users on other platforms)
  5. Remove the C++17 cmake module in favor of the more modern target_compile_features built-in function provided by CMake. I opted to bump the version to C++20, given that most modern Qt projects will be using this.

To test changes, I ran the entire test suite and observed no regressions:

image

I also compiled and ran the example to verify things worked as expected.

jeremyong added 2 commits May 6, 2023 12:06
This commit also replicates the update_from_qtc.sh script to a
PowerShell script (convenient for Windows users).
@hluk
Copy link
Owner

hluk commented Jun 5, 2023

Thanks a lot!

I'm hesitant to merge this because some project still use Qt 5. For example CopyQ clipboard manager supports Qt 6 but also needs to support Qt 5 for older Linux distributions and due to some dependencies not being fully compatible with Qt 6 yet (like KDE Frameworks - but maybe it is a distro packaging problem).

@jeremyong
Copy link
Author

Yep completely understood. Would it make sense for us to have a qt6 branch?

@hluk
Copy link
Owner

hluk commented Jun 6, 2023

Yep completely understood. Would it make sense for us to have a qt6 branch?

That sounds good. Maybe even a duplicate CI workflow (.github/workflows/cmake.yml) for the branch and Qt 6 but that will require to figure out the versions of packages to install with apt-get

@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 6, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@wineee
Copy link
Contributor

wineee commented Mar 5, 2026

It's 2026 now, we can consider prioritizing Qt6.

@hluk
Copy link
Owner

hluk commented Mar 6, 2026

It's 2026 now, we can consider prioritizing Qt6.

Yeah, it is safe to drop Qt 5 support now - AFAIK, it is no longer maintained.

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