-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
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
> [email protected] 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.nixin repository root, with the content as above - Enter Nix shell using
nix-shell - In repository root, run
pnpm install - In
examples/folder, runpnpm install - In
examples/folder, runpnpm start
Expected behavior
Should show a window with custom buttons and a textarea, according to the gui.qml.
