Files
copnix/nixos/system/qml.nix
T
elwrcl 8f6c653156 feat: add QML/Qt6 support system-wide
- Add qt6.full (includes qmlls language server) and libclang
- Configure QT_QPA_PLATFORM_PLUGIN_PATH and QML_IMPORT_PATH environment
  variables
- Link Qt6 share directory for proper resource discovery

Signed-off-by: elwrcl <[email protected]>
2026-04-18 02:48:20 +03:00

12 lines
242 B
Nix

{ pkgs, ... }:
{
environment.variables = {
QT_QPA_PLATFORM_PLUGIN_PATH = "${pkgs.qt6.qtbase}/lib/qt-6/plugins";
QML_IMPORT_PATH = "${pkgs.qt6.qtdeclarative}/lib/qt-6/qml";
};
environment.pathsToLink = [
"/share/qt6"
];
}