Describe the bug
Running the example in examples/ results in a fully black window with no visible UI (although it does log mouse events), and a number of errors in the console.

Console:
[nix-shell:~/projects/_3rdparty/qml-raub/examples]$ pnpm start
> example@0.0.0 start /home/sven/projects/_3rdparty/qml-raub/examples
> tsx main.ts
Unknown error
WebGL `init()` call failed, but it may still work.
GLFW Error 65548: Wayland: The platform does not support setting the window icon
Notably, I am on NixOS, and so I need to declare all dependencies explicitly in a shell.nix file, which looks like this:
{ pkgs ? import <nixpkgs> {} }:
with pkgs; stdenv.mkDerivation rec {
name = "development-environment";
buildInputs = [
libGL
glfw
qt6.full
];
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}:/run/opengl-driver/lib";
}
Presumably something is missing, but the console output does not seem to tell me what it is.
- NixOS version: 24.11.20250201.f668777 (Vicuna)
- Desktop environment: KDE Plasma
To Reproduce
Steps to reproduce the behavior:
- Clone repository
- Create
shell.nix in repository root, with the content as above
- Enter Nix shell using
nix-shell
- In repository root, run
pnpm install
- In
examples/ folder, run pnpm install
- In
examples/ folder, run pnpm start
Expected behavior
Should show a window with custom buttons and a textarea, according to the gui.qml.
Describe the bug
Running the example in
examples/results in a fully black window with no visible UI (although it does log mouse events), and a number of errors in the console.Console:
Notably, I am on NixOS, and so I need to declare all dependencies explicitly in a
shell.nixfile, which looks like this:Presumably something is missing, but the console output does not seem to tell me what it is.
To Reproduce
Steps to reproduce the behavior:
shell.nixin repository root, with the content as abovenix-shellpnpm installexamples/folder, runpnpm installexamples/folder, runpnpm startExpected behavior
Should show a window with custom buttons and a textarea, according to the
gui.qml.