[build] Autodetect Qt{4,5}

This commit is contained in:
Bruno de Oliveira Abinader
2017-03-22 15:42:35 +02:00
parent a3f40d0c0c
commit 1c757cce34
4 changed files with 22 additions and 10 deletions

9
scripts/check-qt.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -e
set -o pipefail
if [ ! $(command -v qmake 2> /dev/null) ]; then
echo "No qmake found - missing Qt development files"
exit 1
fi