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

Only generate code for the exported Window #5475

Merged
merged 2 commits into from
Jun 25, 2024
Merged

Conversation

ogoffart
Copy link
Member

Have a warning when a component is exported from the main file and doesn't inherit Window.
Unless it's the last component, for compatibility with Slint 1.6

Also don't warn in the interpreter

@ogoffart ogoffart requested a review from tronical June 25, 2024 10:57
internal/compiler/lib.rs Outdated Show resolved Hide resolved
internal/compiler/lib.rs Outdated Show resolved Hide resolved
internal/compiler/lib.rs Outdated Show resolved Hide resolved
internal/compiler/object_tree.rs Outdated Show resolved Hide resolved
Have a warning when a component is exported from the main file and
doesn't inherit Window.
Unless it's the last component, for compatibility with Slint 1.6

Also don't warn in the interpreter
@ogoffart ogoffart merged commit 42a2c6a into master Jun 25, 2024
33 of 36 checks passed
@ogoffart ogoffart deleted the olivier/multi-components branch June 25, 2024 13:13
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