-
Notifications
You must be signed in to change notification settings - Fork 7.4k
[qttools] fix qdbusviewer #29153
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
[qttools] fix qdbusviewer #29153
Conversation
|
I would like @Neumann-A to affirm that he is happy with any changes to qt's guts before merging. |
Neumann-A
left a comment
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.
the little list change and then it should be ok.
Co-authored-by: Alexander Neumann <[email protected]>
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!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.
error: checked-in files for qttools have changed but the version was not updated
version: 6.4.2#1
old SHA: dd8156b0557baf6484f68e7f1181f80aa6832ca1
new SHA: 0dc19ef06a3e54a475cedeacd80987aea5ac4477
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
|
Thanks for the fix @cnSchwarzer and thanks for the review @Neumann-A ! |
This will fix building
qttoolson macOS that previously the portfile will try to copyqdbusviewer.app, but if theqtbase[dbus]is not installed, this tool will not be built, result in a build failure (copy and file not found).By investigating Windows build, the
qdbusviewer.exeis also missing ifqtbase[dbus]is not enabled. So this port is "mis-compiling"qdbusviewerat all, probably because previous maintainer just enabledqtbase[dbus]in other dependency and consideringqdbusvieweris built byqttoolsas a default (which is not).Regarding that, create a new feature
qttools[qdbusviewer]to addqtbase[dbus]as a dependency and better control of this build behaviour, and conditionally copyqdbusviewer.appif it is actually built.