Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1359965pxu; Sat, 24 Oct 2020 08:16:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxm3aS7aoB5fU4f0Gh6moYZE+/rR4qEz1vOOKNTABhGXLIQYnB1EuOYWGqtFhnSyi74wLmP X-Received: by 2002:a05:6402:a45:: with SMTP id bt5mr7716814edb.101.1603552583881; Sat, 24 Oct 2020 08:16:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603552583; cv=none; d=google.com; s=arc-20160816; b=HJzmw2ccAuA2U/jwVKoZhla1na+Zg4BdFIx4Df3rPcC7a/kBAG2+bjqOVkmJ4TzWEy Fo/dXup/ru9AP6uA0JgyOT94gF9PiFK0QZRzrH4uU81EpND4k/WGJd0sW6mv4iY1+mIN kM3WpfLMB+fqio6/f2CUGej/HEoik8UwHd4Q6x/6qRbyhTNk4ayCuualr6ZH1m7pALTz kPIzyqSqjVG4AtkYg891MQvkGDxyDnIo0Afw5F6h+71C/NggaQz5C04OaL3oUrSLIlkK 4jghPPOrIErZNIKlOTy2Q8tlOWiGF2AH0JWSoI/qWbxRUr9QIAjvgkmUHnvGpNs+0jHZ Af8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=81zyaYaVR1S6fInGALmKGZwy2+4D+jIaUDdhWxoELSc=; b=eNbMeO++UCl7QCx+/jkDZq57M6FUA1sqR30fDP9ApqkyHdbdDOH6QR4CW/zLLIQFDq msEXisXb9UKAaD2Pui3ID7023IzzACXWTlgUYFYq3ayZ3VwuPwQTCfAeBUosDigvnccy P+Fb6uZw3wawn7OKbQmqnBLoscxHU2S6ZaMX71S//EvFztQMssd1LbwMinDwecsuIvRK wiI3kB6yBqObpQgUjgnew/Vrc3nkgfflSGAkhMtP0c2n2Q+yTCQGkzey4W0PlX3M6YBm VnGilAhDVNW3Iu2R60YqvTxXmq/Cp/tWnUqJnwwi7xJqOrnpyBJCt2PbQv7HA1YxgFzt NDQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=1fPtJVNg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ly1si2000449ejb.288.2020.10.24.08.16.01; Sat, 24 Oct 2020 08:16:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=1fPtJVNg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761427AbgJXMkK (ORCPT + 99 others); Sat, 24 Oct 2020 08:40:10 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:60870 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761413AbgJXMkI (ORCPT ); Sat, 24 Oct 2020 08:40:08 -0400 Received: from oscar.flets-west.jp (softbank126090211135.bbtec.net [126.90.211.135]) (authenticated) by conuserg-09.nifty.com with ESMTP id 09OCdV89029147; Sat, 24 Oct 2020 21:39:32 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com 09OCdV89029147 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1603543173; bh=81zyaYaVR1S6fInGALmKGZwy2+4D+jIaUDdhWxoELSc=; h=From:To:Cc:Subject:Date:From; b=1fPtJVNgKR2Ygu1jSUFbZGiZVHI8sNWnruf+BP68TbqndfBMTzqwB6TxAtiVAH9/E O/atUFJ08z6lozUQy0V+ZWsNTk8/SIUUk99FJ3fb1Eyiv9IHetkt2dKVQVR3f9RmFa SK0hRQNumCo8BzUUMu78WI8FvH6VIxTSzhnClhZwvcllAzBbbDYJoqY0ax2itnw4aP Q/gzldBjFPrY8eoEXTygWpFLUpTL0nzmbUjv6fi08fcTlHhM9Ke/ORMsPvZWGHsz7w f0n2GJicMJgr8sLYrQvklhoydNddsFkt/HiHfOteGRrrPIMDAWI1+ZjWWt+JwfgKiT uujT3EFJ0EY8w== X-Nifty-SrcIP: [126.90.211.135] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 1/3] kconfig: qconf: drop Qt4 support Date: Sat, 24 Oct 2020 21:38:39 +0900 Message-Id: <20201024123841.1201922-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It is possible to keep this compatible with both Qt4 and Qt5, but not worth the efforts any more; 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 --- scripts/kconfig/qconf-cfg.sh | 12 ++---------- 1 file 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 -- 2.25.1