On Mon, Jul 27, 2015 at 09:43:21PM +0800, 宋文武 wrote: > It's indeed possible since nixpkgs did it: > <https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/qt-5/5.4/default.nix> > I think the tricks are at build time for qmake: > <https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/qt-5/5.4/setup-hook.sh>
Interesting, but without knowing Nix, these recipes are difficult to under- stand. > And set QT_PLUGIN_PATH, QML2_IMPORT_PATH, etc. at runtime time. Which does not make the use easier. Could these be defined as search paths by qt-base? In any case, feel free to implement a more modular qt, for me this is not a priority. Thanks! Andreas