Discussion:
qt5 build system
Arkadiusz Miśkiewicz
2018-08-11 15:48:41 UTC
Permalink
Hi,

does anyone have an idea why qt5 build system thinks we are not using gcc?

Example when trying to build qt5-qtwebengine.spec from master:


Qt WebEngine on Linux requires clang or GCC.
QtWebEngine will not be built.
--
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )
Jan Rękorajski
2018-08-11 21:29:02 UTC
Permalink
Post by Arkadiusz Miśkiewicz
Hi,
does anyone have an idea why qt5 build system thinks we are not using gcc?
Qt WebEngine on Linux requires clang or GCC.
QtWebEngine will not be built.
That build system just plain sucks.

It takes it from /usr/lib/qt5/mkspecs/common/g++-base.conf : QMAKE_COMPILER
We have it set to <arch>-pld-linux-gcc and that dumb QtWebEngine wants
'gcc' there. I'd just remove that stupid check in QtWebEngine.
--
Jan Rękorajski | PLD/Linux
SysAdm | baggins<at>pld-linux.org | http://www.pld-linux.org/
Loading...