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

Fix compatibility with Qt 6.8 #3121

Merged
merged 6 commits into from
Oct 21, 2024
Merged

Fix compatibility with Qt 6.8 #3121

merged 6 commits into from
Oct 21, 2024

Conversation

cebtenzzre
Copy link
Member

Qt 6.8 made a few significant changes:

  • Breaking changes to the QHttpServer API,
  • The new QTP0004 Qt CMake policy,
  • And some change that affected the import of IconLabel.

This PR allows GPT4All to build and run on Qt 6.8, while maintaining compatibility with older Qt versions.

Qt 6.8 made breaking changes to the QHttpServer API. It does have
technology preview status, after all.

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
@cebtenzzre cebtenzzre marked this pull request as ready for review October 21, 2024 16:33
@cebtenzzre
Copy link
Member Author

The CI build passed on the previous commit. The merge just updates the codespellrc so that check passes. The local server works fine on Qt 6.7 on macOS and on Qt 6.8 on Arch Linux with this change.

@cebtenzzre cebtenzzre linked an issue Oct 21, 2024 that may be closed by this pull request
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
@cebtenzzre cebtenzzre merged commit d224a9d into main Oct 21, 2024
4 of 9 checks passed
@cebtenzzre cebtenzzre deleted the fix-qt68-compat branch October 21, 2024 20:25
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.

Qt 6.8 Migration
2 participants