Skip to content

Update to Qt6 and add PowerShell update script#63

Merged
hluk merged 2 commits into
hluk:masterfrom
StygianPop:master
Jun 11, 2026
Merged

Update to Qt6 and add PowerShell update script#63
hluk merged 2 commits into
hluk:masterfrom
StygianPop:master

Conversation

@jeremyong

Copy link
Copy Markdown
Contributor

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

hluk commented Jun 5, 2023

Copy link
Copy Markdown
Owner

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
Copy Markdown
Contributor Author

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

@hluk

hluk commented Jun 6, 2023

Copy link
Copy Markdown
Owner

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

sonarqubecloud Bot commented Apr 6, 2024

Copy link
Copy Markdown

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

wineee commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

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

@hluk

hluk commented Mar 6, 2026

Copy link
Copy Markdown
Owner

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.

@wineee

wineee commented Mar 7, 2026

Copy link
Copy Markdown
Contributor

I created a fork repository, which can barely be used: https://github.com/DMarked/FakeVim

@hluk

hluk commented Jun 11, 2026

Copy link
Copy Markdown
Owner

Let me merge this and try to sync with Qt Creator plugin code again. Thanks for the fixes!

@hluk hluk merged commit 1250ef0 into hluk:master Jun 11, 2026
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