-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[qt5-winextras] remove unneeded dependencies #23177
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 5cf60186a241e84e8232641ee973395d4fde90e1 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 6b3147e..75f3719 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -5742,7 +5742,7 @@
},
"qt5-winextras": {
"baseline": "5.15.2",
- "port-version": 1
+ "port-version": 2
},
"qt5-x11extras": {
"baseline": "5.15.2",
diff --git a/versions/q-/qt5-winextras.json b/versions/q-/qt5-winextras.json
index 1d4926a..b4fb2fa 100644
--- a/versions/q-/qt5-winextras.json
+++ b/versions/q-/qt5-winextras.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "5edc85ce4269426848721ae20dbf33401f224dcb",
+ "version-string": "5.15.2",
+ "port-version": 2
+ },
{
"git-tree": "85a345a5fdc5a15584e6b2add00f1669e4099dbc",
"version-string": "5.15.2",
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/qt5-winextras/vcpkg.json
Valid values for the license field can be found in the documentation
e95eec8
to
cd77571
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/qt5-winextras/vcpkg.json
Valid values for the license field can be found in the documentation
You need to check that there is no conditional in the project files if qt5-declarative is installed or not. Otherwise the build becomes dependent on build order. The dependencies.yaml list deps but is not always correct. Do manual checking of the scripts is required. It is likly that additional qml widgets will be build if qtdeclarative can be found. |
since it has a |
Would it be acceptable if I introduce |
I don't have the full picture right now, but I think it might be useful to have a |
Yes but the project files will need patching.
no. It just needs the same/similar features as qt6. The problem is that every module requires patches to its project files if it has other modules conditional stuff like |
@Cheney-W remove reviewed..... this is not ready to be merged. |
Is this PR ready now? |
@Cheney-W nope. I'll upload patches sometime later |
@Osyotr Could you please solve the conflicts? Thank you! |
cd77571
to
e6509c9
Compare
vcpkg_list(SET _patches | ||
"patches/unrequire_quick.patch" | ||
) | ||
if("declarative" IN_LIST FEATURES) | ||
list(APPEND _patches | ||
"patches/require_quick.patch" | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That looks so painful to do but there is probably no other way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My first attempt was to add requires(qtHaveModule(quick))
into qtwinextras.pro
, but it skips this module instead of breaking with error.
Should I add |
Ping @Cheney-W for review |
qt5-winextras
builds fine withoutqt5-declarative
andqt5-multimedia
cc @Neumann-A