build-style/qmake: remove Qt4 reference

This commit is contained in:
Đoàn Trần Công Danh 2022-09-18 18:33:35 +07:00
parent 6c240d6b7e
commit 014a230f24
1 changed files with 1 additions and 6 deletions

View File

@ -1,17 +1,12 @@
#
# This helper is for templates using Qt4/Qt5 qmake.
# This helper is for templates using Qt5/Qt6 qmake.
#
do_configure() {
local qmake
local qmake_args
if [ -x "/usr/lib/qt5/bin/qmake" ]; then
# Qt5 qmake
qmake="/usr/lib/qt5/bin/qmake"
fi
if [ -x "/usr/lib/qt/bin/qmake" ]; then
# Qt4 qmake
qmake="/usr/lib/qt/bin/qmake"
fi
if [ -z "${qmake}" ]; then
msg_error "${pkgver}: Could not find qmake - missing in hostmakedepends?\n"
fi