David Craven <da...@craven.ch> writes:

> [...]
>
>> cat >"$out/bin/qt.conf" <<EOF
>> [Paths]
>> Prefix = $out
>> Plugins = lib/qt5/plugins
>> Imports = lib/qt5/imports
>> Qml2Imports = lib/qt5/qml
>> Documentation = share/doc/qt5
>> EOF
>
> I am not sure what the best way to proceed is, since $out should be
> $GUIX_ENVIRONMENT,
> but $GUIX_ENVIRONMENT isn't known when we build qtbase. What I think
> needs to happen
> for QtHaveModule to work is we need to generate a qt.conf file when a
> guix environment is
> created that has qtbase as a dependency and make sure it's symlinked
> into the bin directory.
>
> [0] https://github.com/qt/qtsensors/blob/dev/qtsensors.pro
> [1] 
> https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/qt-5/qt-env.nix

Hi, I just sent a patch to add 'QMAKEPATH' as search-path, which should
fix this issue.

Reply via email to