From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965058AbbJPP26 (ORCPT ); Fri, 16 Oct 2015 11:28:58 -0400 Received: from mga09.intel.com ([134.134.136.24]:58196 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932378AbbJPP2q (ORCPT ); Fri, 16 Oct 2015 11:28:46 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,689,1437462000"; d="scan'208";a="582219893" From: Thiago Macieira To: Stefan Lippers-Hollmann Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Michal Marek Subject: Re: [PATCH 39/39] Update the buildsystem for KConfig finding Qt Date: Fri, 16 Oct 2015 08:28:44 -0700 Message-ID: <4227965.esWC4RuHGt@tjmaciei-mobl4> Organization: Intel Corporation User-Agent: KMail/4.14.9 (Linux/4.2.1-1-desktop; KDE/4.14.9; x86_64; ; ) In-Reply-To: <20151016061241.45c51b63@mir> References: <1442946999-37018-1-git-send-email-thiago.macieira@intel.com> <1442946999-37018-40-git-send-email-thiago.macieira@intel.com> <20151016061241.45c51b63@mir> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 16 October 2015 06:12:41 Stefan Lippers-Hollmann wrote: > > + @set -e; $(kecho) " CHECK qt"; \ > > + qtver=`qmake -query QT_VERSION` || { \ > > + echo >&2 "*"; \ > > + echo >&2 "* qmake failed."; \ > > + echo >&2 "*"; \ > > + exit 1; \ > > + }; \ > > [...] > > "qmake -query QT_VERSION" appears to be a little fragile on Debian > with both qt4-qmake and qt5-qmake installed, as it reports back > "4.8.7" by default. The actual qmake is hiding behind qtchooser > (/usr/bin/qmake -> qtchooser) and will report different environments > based on the chosen personality: Since xconfig still builds with Qt 4, I didn't feel the need to force the choice for Qt 5. If your environment is qtchooser, then you can just set QT_SELECT=5 before running "make xconfig". -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center