[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: QtHaveModule
From: |
宋文武 |
Subject: |
Re: QtHaveModule |
Date: |
Sun, 14 Aug 2016 14:25:53 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
David Craven <address@hidden> 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.