Skip to contentSkip to conversation

kconfig: Qt5: tell the user which packages are required

PATCH In review Randy Dunlap 2 participants 2 messages Jul 20, 2022 – Jul 24, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kconfig: Qt5: tell the user which packages are required

Along with saying "Please install Qt5 ...", tell exactly which parts of Qt5 are needed. This is useful when parts of Qt5 are installed but some of the required pieces are missing, and it eliminates the need for the user to find the shell script and the line in it that provide that information.

---
 scripts/kconfig/qconf-cfg.sh |    1 +
 1 file changed, 1 insertion(+)
scripts/kconfig/qconf-cfg.sh +1 -0
@@ -20,5 +20,6 @@ fi
 echo >&2 "*"
 echo >&2 "* Could not find Qt5 via ${HOSTPKG_CONFIG}."
 echo >&2 "* Please install Qt5 and make sure it's in PKG_CONFIG_PATH"
+echo >&2 "* You need $PKG"
 echo >&2 "*"
 exit 1
#1 lore raw
Quoted 10 lines · Randy Dunlap

Along with saying "Please install Qt5 ...", tell exactly which parts of Qt5 are needed. This is useful when parts of Qt5 are installed but some of the required pieces are missing, and it eliminates the need for the user to find the shell script and the line in it that provide that information.

Applied to linux-kbuild.
Thanks.

Quoted 13 lines
---
 scripts/kconfig/qconf-cfg.sh |    1 +
 1 file changed, 1 insertion(+)
scripts/kconfig/qconf-cfg.sh +1 -0
@@ -20,5 +20,6 @@ fi
 echo >&2 "*"
 echo >&2 "* Could not find Qt5 via ${HOSTPKG_CONFIG}."
 echo >&2 "* Please install Qt5 and make sure it's in PKG_CONFIG_PATH"
+echo >&2 "* You need $PKG"
 echo >&2 "*"
 exit 1
Signature · 2 lines
Best Regards
Masahiro Yamada