Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1248892

Re: [PATCH 39/39] Update the buildsystem for KConfig finding Qt

From Thiago Macieira <thiago.macieira@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 39/39] Update the buildsystem for KConfig finding Qt
Date 2015-10-16 17:30 +0200
Message-ID <qkf7e-1SN-77@gated-at.bofh.it> (permalink)
References <qbADT-561-3@gated-at.bofh.it> <qbANC-5hQ-55@gated-at.bofh.it> <qk4EO-3gM-11@gated-at.bofh.it>
Organization Intel Corporation

Show all headers | View raw


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH 39/39] Update the buildsystem for KConfig finding Qt Stefan Lippers-Hollmann <s.l-h@gmx.de> - 2015-10-16 06:20 +0200
  Re: [PATCH 39/39] Update the buildsystem for KConfig finding Qt Stefan Lippers-Hollmann <s.l-h@gmx.de> - 2015-10-16 06:30 +0200
  Re: [PATCH 39/39] Update the buildsystem for KConfig finding Qt Michal Marek <mmarek@suse.com> - 2015-10-16 11:50 +0200
  Re: [PATCH 39/39] Update the buildsystem for KConfig finding Qt Thiago Macieira <thiago.macieira@intel.com> - 2015-10-16 17:30 +0200

csiph-web