You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
721 B
28 lines
721 B
#!/bin/sh
|
|
|
|
if [ "x$1" = x-qt6 ] || [ "x$1" = "x-qt=6" ] || [ "x$1" = "x-qt=qt6" ]; then
|
|
shift
|
|
fi
|
|
|
|
QMAKE_MODE=
|
|
|
|
if [ "x$1" = x-query ]; then
|
|
exec /usr/lib/qt6/bin/qmake "$@" -qtconf /usr/lib/@DEB_HOST_MULTIARCH@/qt6/qt6.conf
|
|
elif [ "x$1" = x-makefile ] || [ "x$1" = x-project ]; then
|
|
QMAKE_MODE="$1"
|
|
shift
|
|
fi
|
|
|
|
exec /usr/lib/qt6/bin/qmake6 \
|
|
$QMAKE_MODE \
|
|
-qtconf /usr/lib/@DEB_HOST_MULTIARCH@/qt6/qt6.conf \
|
|
-early \
|
|
QMAKE_CC=${CC:-@DEB_HOST_GNU_TYPE@-gcc} \
|
|
QMAKE_CXX=${CXX:-@DEB_HOST_GNU_TYPE@-g++} \
|
|
QMAKE_LINK=${CXX:-@DEB_HOST_GNU_TYPE@-g++} \
|
|
QMAKE_STRIP=${STRIP:-@DEB_HOST_GNU_TYPE@-strip} \
|
|
QMAKE_QMAKE=/usr/bin/@DEB_HOST_GNU_TYPE@-qmake6 \
|
|
PKG_CONFIG=@DEB_HOST_GNU_TYPE@-pkg-config \
|
|
-before \
|
|
"$@"
|