nixpkgs/pkgs/development/libraries/qt-4/setup-hook.sh
Yury G. Kudryashov 51e3a34bdb Added kde-team version for qt4.
KDE4 needs their own version of qt4 (with KDE patches). I've added this version.
You could choose Trolltech version for specific package by
qt4 = qt4_alts.trolltech
or change default in configuration.nix

svn path=/nixpkgs/trunk/; revision=9458
2007-10-12 20:38:39 +00:00

7 lines
147 B
Bash

export QTDIR=@out@
if [ -n $qt4BadIncludes ]; then
for d in @out@/include/*; do
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$d";
done;
fi