nixpkgs/pkgs/development/libraries/qt-5/hooks/qmake-hook.sh
Thomas Tuegel fe0ab944db
qt5: factor out common definitions and remove symlink farm
The module definitions are factored out and shared between qt56 and qt59. The
symlink farm which was created during builds is no longer needed.
2017-11-07 07:18:46 -06:00

19 lines
527 B
Bash

qmakeConfigurePhase() {
runHook preConfigure
qmake PREFIX=$out \
NIX_OUTPUT_OUT=$out \
NIX_OUTPUT_DEV=${!outputDev} \
NIX_OUTPUT_BIN=${!outputBin} \
NIX_OUTPUT_DOC=${!outputDev}/${qtDocPrefix:?} \
NIX_OUTPUT_QML=${!outputBin}/${qtQmlPrefix:?} \
NIX_OUTPUT_PLUGIN=${!outputBin}/${qtPluginPrefix:?} \
$qmakeFlags
runHook postConfigure
}
if [ -z "$dontUseQmakeConfigure" -a -z "$configurePhase" ]; then
configurePhase=qmakeConfigurePhase
fi