71e490f0ba
The qtpaths tool is supposed to replace "qmake -query", and it must be available for cross-builds as a wrapper script like qmake. Re-use the existing facility for creating the qmake wrapper script for creating the qtpaths wrapper script. Pick-to: 6.2 Fixes: QTBUG-97821 Change-Id: I460bae61a531994422e1c0fba09c79e4aa65713f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
8 lines
263 B
Bash
Executable File
8 lines
263 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# The directory of this script is the expanded absolute path of the "$qt_prefix/bin" directory.
|
|
script_dir_path=`dirname $0`
|
|
script_dir_path=`(cd "$script_dir_path"; /bin/pwd)`
|
|
|
|
@host_qt_bindir@/@tool_name@ -qtconf "$script_dir_path/target_qt.conf" $*
|