build: add opt-in installation of QML lib

Override the package with `withQMLLib = true;` to enable lib
installation, alternatively add `-DINSTALL_QML_LIB=ON` to your cmake
build command.

Co-authored-by: a-usr <81042605+a-usr@users.noreply.github.com>
This commit is contained in:
Nydragon 2024-08-25 17:01:26 +02:00
parent f95e7dbaf6
commit b40d4147e0
No known key found for this signature in database
3 changed files with 19 additions and 1 deletions

View file

@ -23,6 +23,12 @@ If your package manager supports enabling some features but not others,
we recommend not exposing the subfeatures and just the main ones that introduce
new dependencies: `wayland`, `x11`, `pipewire`, `hyprland`
### QML Library
If you wish to use a linter or similar tools, you will need the QML Modules for it to pick up on the types.
To disable: `-DINSTALL_QML_LIB=OFF`
### Jemalloc
We recommend leaving Jemalloc enabled as it will mask memory fragmentation caused
by the QML engine, which results in much lower memory usage. Without this you