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

Add impl cxx_qt::Initialize for X {} as shorthand for impl cxx_qt::Constructor<()> for X {} #1236

Open
LeonMatthesKDAB opened this issue Mar 20, 2025 · 0 comments · May be fixed by #1242
Open
Labels
⬆️ feature New feature or request 🙋 good first issue Good for newcomers

Comments

@LeonMatthesKDAB
Copy link
Collaborator

It can be confusing that you can use Initialize outside the bridge, but not inside.
We could just have that be an alias for the expected Constructor declaration to improve ease-of-use.

@LeonMatthesKDAB LeonMatthesKDAB added ⬆️ feature New feature or request 🙋 good first issue Good for newcomers labels Mar 20, 2025
@BenFordTytherington BenFordTytherington linked a pull request Mar 28, 2025 that will close this issue
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant