[Development] QT_GCC_MAJOR_VERSION and building with clang...

Sérgio Martins sergio.martins at kdab.com
Fri Dec 6 19:36:52 CET 2019


On 2019-12-06 16:42, René J.V. Bertin wrote:
> Hi,
> (...)
> This was after I got this error from an attempt to build QtWebEngine
> 5.12.6 with /usr/bin/c++ which points to GCC 8:


So you're building QtWebEngine with GCC 8 while Qt was built with clang 
mkspec ?


> ```
> Using gcc version 4.2, but at least gcc version 5 is required to build
> Qt WebEngine.
> QtWebEngine will not be built.
> ```


Anyway, FWIW, I've built QtWebEngine with clang 8.0 + linux-clang mkspec 
not too long ago and it worked fine.



Regards,
-- 
Sérgio Martins | sergio.martins at kdab.com | Senior Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - The Qt, C++ and OpenGL Experts


More information about the Development mailing list