nixpkgs/pkgs/development/libraries/qt-4.4/setup-hook.sh
Eelco Dolstra 5d0b5d06e9 * qt-4 -> qt-4.4.
* kde-4.2 shouldn't depend on poppler built with qt 4.5.

svn path=/nixpkgs/trunk/; revision=17084
2009-09-13 11:04:54 +00:00

10 lines
276 B
Bash

export QTDIR=@out@
if [ -n "$includeAllQtDirs" ]; then
# This helps for g++, but not for moc. And no qt4 package should expect
# having all qt4 header files dirs into -I.
for d in @out@/include/*; do
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$d"
done
fi