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

Allow use from within cxxqt::bridge #373

Closed
LeonMatthesKDAB opened this issue Dec 7, 2022 · 2 comments
Closed

Allow use from within cxxqt::bridge #373

LeonMatthesKDAB opened this issue Dec 7, 2022 · 2 comments
Labels
⬆️ feature New feature or request 🙋 good first issue Good for newcomers ❌ wontfix This will not be worked on

Comments

@LeonMatthesKDAB
Copy link
Collaborator

This is currently not possible everywhere, especially not within the impl qobject::MyObject block.

We just need to allow this by adding use items as a pass-through for the impl blocks.

@LeonMatthesKDAB LeonMatthesKDAB added ⬆️ feature New feature or request 🙋 good first issue Good for newcomers labels Dec 7, 2022
@LeonMatthesKDAB
Copy link
Collaborator Author

Also note that doing use X; outside of the #[cxx_qt::bridge] doesn't propogate into invokables, which makes this a bit more annoying.

@LeonMatthesKDAB
Copy link
Collaborator Author

LeonMatthesKDAB commented Jul 12, 2023

I believe this is no longer necessary, or encouraged with the new API discussed in #555

@LeonMatthesKDAB LeonMatthesKDAB added the ❌ wontfix This will not be worked on label Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⬆️ feature New feature or request 🙋 good first issue Good for newcomers ❌ wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant