If you have nix installed compile and run with:
$ nix build
$ ./result/bin/demo
Explaination: we load the .qml file with qrc:///main.qml: it uses for that the file qml.qrc (the name is not important) that lists the resource files. This 'qml.qrc file is then given to RESOURCES in demo.pro in order to compile the resources and include them in the final binary.
im getting this error:
do you know whats going on?
i already tried switching to nixpkgs/release-22.11 and changing the qt version to the newer qt6