[Interest] update on building Qt/Linux with clang?

Allan Sandfeld Jensen kde at carewolf.com
Mon Nov 5 16:34:31 CET 2018


On Montag, 5. November 2018 12:03:31 CET René J.V. Bertin wrote:
> Hi,
> 
> Last time I asked the advice was still not to bother with trying to build
> (all of) Qt with clang on Linux. Is that still the case or is it now safe
> to use clang (5 or 6)?
> 
> In my experience clang generates significantly more compact binaries, which
> should reduce load times. Build time should be shorter too.
> 
I build all of Qt regularly with clang to make sure qtwebengine works like 
that, and I have never had any issues. You can even use clang-libc++ if you 
make sure not to depend on any system C++ libraries.

'Allan





More information about the Interest mailing list