lol

doc/qt: minor fixes

aleksana cdc9e1d1 5c31c4a2

+4 -2
+4 -2
doc/languages-frameworks/qt.section.md
··· 12 12 ## Nix expression for a Qt package (default.nix) {#qt-default-nix} 13 13 14 14 ```nix 15 - { stdenv, lib, qt6, wrapQtAppsHook }: 15 + { stdenv, qt6 }: 16 16 17 17 stdenv.mkDerivation { 18 18 pname = "myapp"; ··· 23 23 } 24 24 ``` 25 25 26 + The same goes for Qt 5 where libraries and tools are under `libsForQt5`. 27 + 26 28 Any Qt package should include `wrapQtAppsHook` in `nativeBuildInputs`, or explicitly set `dontWrapQtApps` to bypass generating the wrappers. 27 29 28 30 ::: {.note} 29 - Graphical Linux applications should also include `qtwayland` in `buildInputs`, to ensure the Wayland platform plugin is available. 31 + Qt 6 graphical applications should also include `qtwayland` in `buildInputs` on Linux (but not on platforms e.g. Darwin, where `qtwayland` is not available), to ensure the Wayland platform plugin is available. 30 32 31 33 This may become default in the future, see [NixOS/nixpkgs#269674](https://github.com/NixOS/nixpkgs/pull/269674). 32 34 :::