···24 addToSearchPathOnceWithCustomDelimiter ' ' "$@"
25}
2627-_qtPropagateRuntimeDependencies() {
28 for dir in "lib/qt5/plugins" "lib/qt5/qml" "lib/qt5/imports"; do
29 if [ -d "$1/$dir" ]; then
30 propagateOnce propagatedBuildInputs "$1"
···37 addToSearchPathOnce QML2_IMPORT_PATH "$1/lib/qt5/qml"
38}
3940-envHooks+=(_qtPropagateRuntimeDependencies)
00000000000000000004142_qtMultioutDevs() {
43 # This is necessary whether the package is a Qt module or not
···24 addToSearchPathOnceWithCustomDelimiter ' ' "$@"
25}
2627+_qtPropagate() {
28 for dir in "lib/qt5/plugins" "lib/qt5/qml" "lib/qt5/imports"; do
29 if [ -d "$1/$dir" ]; then
30 propagateOnce propagatedBuildInputs "$1"
···37 addToSearchPathOnce QML2_IMPORT_PATH "$1/lib/qt5/qml"
38}
3940+crossEnvHooks+=(_qtPropagate)
41+42+_qtPropagateNative() {
43+ for dir in "lib/qt5/plugins" "lib/qt5/qml" "lib/qt5/imports"; do
44+ if [ -d "$1/$dir" ]; then
45+ propagateOnce propagatedNativeBuildInputs "$1"
46+ if [ -z "$crossConfig" ]; then
47+ propagateOnce propagatedUserEnvPkgs "$1"
48+ fi
49+ break
50+ fi
51+ done
52+ if [ -z "$crossConfig" ]; then
53+ addToSearchPathOnce QT_PLUGIN_PATH "$1/lib/qt5/plugins"
54+ addToSearchPathOnce QML_IMPORT_PATH "$1/lib/qt5/imports"
55+ addToSearchPathOnce QML2_IMPORT_PATH "$1/lib/qt5/qml"
56+ fi
57+}
58+59+envHooks+=(_qtPropagateNative)
6061_qtMultioutDevs() {
62 # This is necessary whether the package is a Qt module or not