summary refs log tree commit diff
path: root/pkgs/development/libraries/qt-4.4/setup-hook.sh
blob: f9ecacbbb7df0e362350f330dcb2766405fc3913 (plain) (blame)
1
2
3
4
5
6
7
8
9
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