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

feat: Re-add support for Qt Creator 15.0.1 #130

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

p12tic
Copy link
Contributor

@p12tic p12tic commented Mar 10, 2025

Qt Creator 16.0.0 will be released in days.

@p12tic p12tic force-pushed the qtcreator-16 branch 2 times, most recently from 165dfa2 to 827171a Compare March 10, 2025 16:56
@@ -13,8 +13,6 @@ on:
env:
PLUGIN_NAME: QodeAssist
QT_VERSION: 6.8.1
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you change to 6.8.2?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in #134.

@@ -47,6 +45,15 @@ jobs:
platform: mac_x64,
cc: "clang", cxx: "clang++"
}
qt_creator:
- {
version: "15.0.1",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure about support old version, maybe are leave only current for now and in future add new like beta?

Copy link
Contributor Author

@p12tic p12tic Mar 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not support older version as well? In our codebase the difference is 10 lines, it's not likely to raise any issues.

It's problematic to force users to upgrade to newest versions of Qt Creator because other third-party extensions may not upgrade as quickly. Also, new Qt Creator versions may contain bugs that break workflows and thus aren't usable. I've been burned by these multiple times. Both of these are barriers to use QodeAssist.

I would say that it makes sense to support all releases, especially since this PR has already done the work. If we actually see maintenance overhead, such as bugs that are specific to single version, then it makes sense to re-evaluate supporting fewer versions.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In that case, we probably need to take the Qt version as part of it.

Copy link
Owner

@Palm1r Palm1r Mar 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked, yes, idea is good but it ieads more changes, for artifacts name, for check and download new version of plugin and plugins.json(indeed I don't know reason of this file like a collect data of plugins) and for usual PR we don't need to check all versions of QtC, only current I think. So lets do it later by another PR and just update now to new QtC version, because we don't have new features for now

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for usual PR we don't need to check all versions of QtC, only current I think.

I think this doesn't matter because each build uses very little resources. It finishes in only couple of minutes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed with the rest.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for check and download new version of plugin

This one already works.

Copy link
Owner

@Palm1r Palm1r Mar 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not exactly, if we add new multiply versions, which version will be download, plus Qt version, QtCreator 15 based on 6.8.1

@p12tic p12tic changed the title feat: Add support for Qt Creator 16.0.0 feat: Re-add support for Qt Creator 15.0.1 Mar 14, 2025
@p12tic p12tic marked this pull request as ready for review March 14, 2025 15:24
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.

2 participants