Replies: 1 comment 6 replies
-
|
Hi! 👋🏼 Thanks for the interest!
For this reason, direct support for NixOS was never planned. I've been a part of many projects where NixOS support was managed out of tree and any custom flakes or patches needed were handled with the infrastructure downstream by unaffiliated contributors. However, on the roadmap to this project being contribution-ready, I am planning on supporting a Docker image that should assist development where needed. The resulting applications, assuming that the bindings/wrappers are compiled statically and with a dynamic dependency on Qt, will only have runtime dependencies on Qt, not unlike much of the existing Qt-based software ecosystem. Compilation would therefore be consistent and the resulting binaries would naturally assimilate with the existing ecosystem, hopefully resulting in simple packaging and/or distribution for applications that make use of this library. This also has a benefit of much simpler long-term support. There is currently no ETA on when the Docker image support will be available as there are some other items on the roadmap that take precedence. In my mind's timeline, this and the related projects should be contribution-ready within a few months, including full Docker image support. This will be identified by the CONTRIBUTING.md file upload to the projects when the time comes. Hopefully this helps! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Terms: FHS
Due to the unique quirks of NixOS, the include paths in
/usr/include/{arch}/qt6don't exist.Instead, for development on NixOS, I use a flake that has project-specific dependencies. This generates some environment variables that could be used specifically on NixOS;
QT_ADDITIONAL_PACKAGES_PREFIX_PATHseems to be the best option. Splitting this by:and searching forinclude/folders within the provided directories would likely function well.I wrote an experimental (but seemingly functional!) hack that allows it to work on NixOS at https://github.com/lyssieth/libqt6zig/tree/lyssieth-fix-for-nixos.
I've used it to test the basic example in the README and got it compiling and working just fine.
https://github.com/lyssieth/libqt6zig-nix-working
Beta Was this translation helpful? Give feedback.
All reactions