Repository navigation
0.27.0: rules-slint, a Slint user interface compiled by slint-compiler into headers and, on request, C++ modules - #64
Closed
Sunrisepeak wants to merge 1 commit into
Closed
Sunrisepeak wants to merge 1 commit into
Sunrisepeak wants to merge 1 commit into
Conversation
…r into headers and, on request, C++ modules
Member
Author
|
Closed unmerged: the Slint build rule moves to mcpplibs/slint-m (rules/, package mcpplibs.slintgen, module mcpp.plugins.slint), per the maintainer's decision. Nothing from this branch is released in mcpp-plugins; no 0.27.0 will be cut for it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
0.27.0:
rules-slint— a Slint user interface compiled byslint-compilerinto headers and, on request, C++ modules: what upstream CMake'sslint_target_sourcesdoes, asmcpp.rules.slint.[features.rules-slint],rule_module = "mcpp.rules.slint",device_extensions = [".slint"].slint-compiler --depfile: an edit of the input or of a file it imports regenerates it alone; nothing changed regenerates nothing.slint_target_sourcesand its target properties:ns(NAMESPACE),library_paths,include_paths,compilation_units,edition,style,embed_resources,scale_factor,translation_domain,bundle_translations.options::module: a module interface unit per input — the header in the global module fragment andexport usingfor the windows (through component chains), structs, enums, globals and aliases the input exports and slint-compiler generates (read from the.slintfiles, followingexport … from);options::exportsoverrides. Including the header insideexport { }is not possible: Clang refuses to export slint-compiler's out-of-class member definitions.options::compiler/options::root,SLINT_COMPILER, acompat.slintin the graph (dep_dir), orxim:slintdeclared in[xlings]; none is a warning. Without a package, the rule puts the SDK's include directory,slint_cppand its run-time directory on the build.tests/slint-consumer(+check-slint.sh): a window through a base component, struct, enum, global, an aliased re-export and a non-window export (not exported); headless run with Slint's software renderer; incremental behaviour. In the Linux consumers job and on macOS / Windows.all-rules-compileimports and calls the rule.docs/rules-slint.md, README, engine-and-rules.Locally: the fixture builds and runs with GCC 16.1.0 and Clang 23.1.3 (
counter=43 calls=1 origin=3,4 title=changed background=#202020 mode=1); editingpalette.slintregeneratesapp.h; a no-change build does no work.The fixture's SDK is
xim:slint1.19.0 (openxlings/xim-pkgindex#1208, payloads at xlings-res/slint); its CI step passes once that recipe is in the published xim index. Plan: mcpp-index.agents/docs/2026-11-20-add-slint-mwrap-plan.md.