Skip to content

Conversation

@reitowo
Copy link
Contributor

@reitowo reitowo commented Jan 24, 2023

This will fix building qttools on macOS that previously the portfile will try to copy qdbusviewer.app, but if the qtbase[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.exe is also missing if qtbase[dbus] is not enabled. So this port is "mis-compiling" qdbusviewer at all, probably because previous maintainer just enabled qtbase[dbus] in other dependency and considering qdbusviewer is built by qttools as a default (which is not).

Regarding that, create a new feature qttools[qdbusviewer] to add qtbase[dbus] as a dependency and better control of this build behaviour, and conditionally copy qdbusviewer.app if it is actually built.

github-actions[bot]
github-actions bot previously approved these changes Jan 24, 2023
github-actions[bot]
github-actions bot previously approved these changes Jan 24, 2023
github-actions[bot]
github-actions bot previously approved these changes Jan 24, 2023
@BillyONeal BillyONeal requested a review from Neumann-A January 25, 2023 00:47
@BillyONeal
Copy link
Member

BillyONeal commented Jan 25, 2023

I would like @Neumann-A to affirm that he is happy with any changes to qt's guts before merging.

Copy link
Contributor

@Neumann-A Neumann-A left a 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]>
Copy link

@github-actions github-actions bot left a 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***

@BillyONeal BillyONeal merged commit dcbb09d into microsoft:master Jan 27, 2023
@BillyONeal
Copy link
Member

Thanks for the fix @cnSchwarzer and thanks for the review @Neumann-A !

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