From: Michal Marek <mmarek@suse.com>
To: Thiago Macieira <thiago.macieira@intel.com>
Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: make xconfig no longer works in Fedora
Date: Mon, 2 Nov 2015 17:07:06 +0100 [thread overview]
Message-ID: <56378A2A.8070803@suse.com> (raw)
In-Reply-To: <25378935.a1olKg0W2g@tjmaciei-mobl4>
On 2015-11-02 17:01, Thiago Macieira wrote:
> On Monday 02 November 2015 16:50:33 Michal Marek wrote:
>> On Mon, Nov 02, 2015 at 08:46:55AM -0500, Thiago Macieira wrote:
>>> On Monday 02 November 2015 11:36:43 Michal Marek wrote:
>>>> On 2015-11-02 04:20, Thiago Macieira wrote:
>>>>> - qtver=`qmake -query QT_VERSION` || { \
>>>>> + qtver=`qmake -query QT_VERSION` || \
>>>>> + qtver=`qmake-qt5 -query QT_VERSION` || \
>>>>> + qtver=`qmake-qt4 -query QT_VERSION` || { \
>>>>
>>>> The qtlibdir= etc assignments below still use qmake directly, plus this
>>>> will print an error if the command is not called "qmake." As Alexey
>>>> says, we do not need qmake, we need moc and the cflags / ldflags. Since
>>>> pkg-config worked for us previously, I suggest to use pkg-config again
>>>> and just check which of QtGui or Qt5Widgets is available.
>>>
>>> Here's an attempt using pkg-config.
>>
>> Works for me on openSUSE, it just started to prefer Qt5 now. But it
>> correctly builds against Qt4 if Qt5 is not available.
>
> That's a consequence of using pkg-config. Now you can no longer choose your
> preferred Qt version by setting QT_SELECT, like the qmake solution would have
> allowed, as recommended by the Qt Project.
Yeah, but I think this is acceptable for an application like qconf. Use
best effort to build against some Qt version to let the user configure
their kernel.
Michal
next prev parent reply other threads:[~2015-11-02 16:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-31 12:39 make xconfig no longer works in Fedora Alexey Brodkin
2015-11-02 3:20 ` Thiago Macieira
2015-11-02 10:36 ` Michal Marek
2015-11-02 13:46 ` Thiago Macieira
2015-11-02 15:50 ` Michal Marek
2015-11-02 16:01 ` Thiago Macieira
2015-11-02 16:07 ` Michal Marek [this message]
2015-11-02 16:28 ` Alexey Brodkin
2015-11-02 20:38 ` Michal Marek
2015-11-02 20:43 ` Alexey Brodkin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56378A2A.8070803@suse.com \
--to=mmarek@suse.com \
--cc=Alexey.Brodkin@synopsys.com \
--cc=linux-kernel@vger.kernel.org \
--cc=thiago.macieira@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox