Backward compatibility of build.sh call - qt5 and qt4 options are accepted but ingored

This commit is contained in:
Matthias Koefferlein 2022-05-22 22:39:56 +02:00
parent 3a2d44bd12
commit 49e5dffa99
1 changed files with 6 additions and 2 deletions

View File

@ -205,6 +205,12 @@ while [ "$*" != "" ]; do
-libexpat)
HAVE_EXPAT=1
;;
-qt5)
echo "*** WARNING: -qt5 option is ignored - Qt version is auto-detected now."
;;
-qt4)
echo "*** WARNING: -qt4 option is ignored - Qt version is auto-detected now."
;;
-option)
MAKE_OPT="$MAKE_OPT $1"
shift
@ -243,8 +249,6 @@ while [ "$*" != "" ]; do
echo ""
echo "Special options (usually auto-selected from ruby/python/Qt installation):"
echo ""
echo " -qt4|-qt5 Use Qt4 or Qt5 API [default: auto detect]"
echo ""
echo " -rblib <file> Location of the .so/.dll to link for Ruby support"
echo " -rbinc <dir> Location of the Ruby headers (in particular 'ruby.h')"
echo " -rbinc and -rblib must be set to enable Ruby support"