Skip to content

cxx-qt-gen: use extern "C++" block to define Qt lib types #167

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

Merged
merged 1 commit into from
Aug 2, 2022

Conversation

ahayzen-kdab
Copy link
Collaborator

@ahayzen-kdab ahayzen-kdab commented Jul 21, 2022

Requires #164 and #166

@ahayzen-kdab ahayzen-kdab changed the title Use extern cpp for types cxx-qt-gen: use extern "C++" block to define Qt lib types Jul 21, 2022
@ahayzen-kdab
Copy link
Collaborator Author

Need to document how to use the unsafe extern "C++" block to define types you use from cxx_qt_lib.

@ahayzen-kdab ahayzen-kdab force-pushed the use-extern-cpp-for-types branch from e82f4a6 to 54dd9e5 Compare July 21, 2022 17:47
@ahayzen-kdab ahayzen-kdab force-pushed the use-extern-cpp-for-types branch from 54dd9e5 to 0b73735 Compare August 2, 2022 16:57
@ahayzen-kdab ahayzen-kdab marked this pull request as ready for review August 2, 2022 16:57
@ahayzen-kdab ahayzen-kdab merged commit d67f08d into KDAB:main Aug 2, 2022
@LeonMatthesKDAB
Copy link
Collaborator

Do we have a tracking issue for use cxx_qt_lib::prelude::* or similar?
Just to make this a bit less boiler-platey in future.

@ahayzen-kdab
Copy link
Collaborator Author

Do we have a tracking issue for use cxx_qt_lib::prelude::* or similar? Just to make this a bit less boiler-platey in future.

Yup in the stretch goals here #157

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