Install <triplet>-qmake6 cross wrapper (Closes: #1025663).
parent
38f492c5cb
commit
ad512b9814
@ -0,0 +1,27 @@
|
||||
#!/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 \
|
||||
"$@"
|
Loading…
Reference in new issue