lkml.org 
[lkml]   [2015]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 39/39] Update the buildsystem for KConfig finding Qt
Date
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



\
 
 \ /
  Last update: 2015-10-16 17:41    [W:0.162 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site