9b32ae7ce3
- Also forked the qt-4.4.x expression and adapted it. The old qt-4.4.x cannot be replaced since KDE 4.2.x does not work with qt-4.5.x, but on the other hand KDE 4.3.x requires qt-4.5.x - It is now possible to disable the demos and examples in the qt-4.5.x build. By default, the demos, examples and documentation are disabled svn path=/nixpkgs/trunk/; revision=16723
9 lines
276 B
Bash
9 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
|