[neon/qt6/qt6-base/Neon/release] debian: add qmake-cross-wrapper.in
Carlos De Maine
null at kde.org
Sun Oct 22 10:56:57 BST 2023
Git commit c551ab0a5b85d3a273a48cd122f9ad24b1b78ab5 by Carlos De Maine.
Committed on 22/10/2023 at 11:56.
Pushed by carlosdem into branch 'Neon/release'.
add qmake-cross-wrapper.in
A +27 -0 debian/qmake-cross-wrapper.in
https://invent.kde.org/neon/qt6/qt6-base/-/commit/c551ab0a5b85d3a273a48cd122f9ad24b1b78ab5
diff --git a/debian/qmake-cross-wrapper.in b/debian/qmake-cross-wrapper.in
new file mode 100644
index 0000000..79fcc5c
--- /dev/null
+++ b/debian/qmake-cross-wrapper.in
@@ -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:- at DEB_HOST_GNU_TYPE@-gcc} \
+ QMAKE_CXX=${CXX:- at DEB_HOST_GNU_TYPE@-g++} \
+ QMAKE_LINK=${CXX:- at DEB_HOST_GNU_TYPE@-g++} \
+ QMAKE_STRIP=${STRIP:- at DEB_HOST_GNU_TYPE@-strip} \
+ QMAKE_QMAKE=/usr/bin/@DEB_HOST_GNU_TYPE at -qmake6 \
+ PKG_CONFIG=@DEB_HOST_GNU_TYPE at -pkg-config \
+ -before \
+ "$@"
More information about the Neon-commits
mailing list