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 Qt5-Qt6 coinstall #273

Merged
merged 1 commit into from
Jan 3, 2024
Merged

Conversation

redstrate
Copy link
Contributor

Fixes #262.

This moves Qt6 headers to KDSoapX-qt6, similar to how the rest of the Qt6 library is installed. This also fixes kdwsdl2cpp to point to the correct header (so qt6 will generate includes for -qt6 and Qt5 is still the plain header name.)

Copy link
Member

@dfaure-kdab dfaure-kdab left a comment

Choose a reason for hiding this comment

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

Application code uses #include <KDSoapClient/KDSoapClientInterface> etc, please keep compatibility with that, e.g. using the approach I suggested in #262

@redstrate redstrate force-pushed the work/josh/fix-qt6-coinstallability branch from fc38722 to 53fcc45 Compare January 3, 2024 15:19
This prevents collisions between Qt5 and Qt6 versions because the
headers were installed to the same location. Qt5 keeps the
"KDSoapClient"/"KDSoapServer" header location, but Qt6 is now installed
inside a KDSoapX-Qt6 subdirectory. This allows existing client code
to keep working.

Fixes #262
@redstrate redstrate force-pushed the work/josh/fix-qt6-coinstallability branch from 976d384 to cac5997 Compare January 3, 2024 15:32
@redstrate redstrate merged commit 5261873 into master Jan 3, 2024
24 of 25 checks passed
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