diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-10-24 15:38:39 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-12-08 17:31:29 +0300 |
commit | 7b675649be2217786847dee13597a0ab8502cc40 (patch) | |
tree | 8bcf706c488b6eca4036508dfebd24ad2b909c71 /scripts/kconfig/qconf-cfg.sh | |
parent | 0477e92881850d44910a7e94fc2c46f96faa131f (diff) | |
download | linux-7b675649be2217786847dee13597a0ab8502cc40.tar.xz |
kconfig: qconf: drop Qt4 support
It is possible to keep this compatible with both Qt4 and Qt5, but it is
questionable if it is worth the efforts; it would require us to test
this on both of them, and prevent us from using new features in Qt5.
Qt5 was released in 2012, and now widely available.
Drop the Qt4 support.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/qconf-cfg.sh')
-rwxr-xr-x | scripts/kconfig/qconf-cfg.sh | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/scripts/kconfig/qconf-cfg.sh b/scripts/kconfig/qconf-cfg.sh index 02ccc0ae1031..d1eb2407c35d 100755 --- a/scripts/kconfig/qconf-cfg.sh +++ b/scripts/kconfig/qconf-cfg.sh @@ -2,7 +2,6 @@ # SPDX-License-Identifier: GPL-2.0 PKG="Qt5Core Qt5Gui Qt5Widgets" -PKG2="QtCore QtGui" if [ -z "$(command -v pkg-config)" ]; then echo >&2 "*" @@ -18,15 +17,8 @@ if pkg-config --exists $PKG; then exit 0 fi -if pkg-config --exists $PKG2; then - echo cflags=\"$(pkg-config --cflags $PKG2)\" - echo libs=\"$(pkg-config --libs $PKG2)\" - echo moc=\"$(pkg-config --variable=moc_location QtCore)\" - exit 0 -fi - echo >&2 "*" -echo >&2 "* Could not find Qt via pkg-config." -echo >&2 "* Please install either Qt 4.8 or 5.x. and make sure it's in PKG_CONFIG_PATH" +echo >&2 "* Could not find Qt5 via pkg-config." +echo >&2 "* Please install Qt5 and make sure it's in PKG_CONFIG_PATH" echo >&2 "*" exit 1 |