[Interest] Qt and Clang

Thiago Macieira thiago.macieira at intel.com
Wed Oct 4 17:31:59 CEST 2017


On Wednesday, 4 October 2017 00:02:03 PDT Carel Combrink wrote:
> Hi,
> 
> Do I need to rebuild Qt if I want to start using clang as my build tools on
> Windows and Linux?

You shouldn't need to.

This answer applies to the compiler, not the standard library. You must still 
use the same standard library that the original compiler used, not libc++.

> I am currently using gcc on Linux and MinGW on Windows and need to start
> building 64 bit applications.

Please remember when using Clang on Windows that you want the "x86_64-mingw" 
target, not "x86_64-windows". The latter is compatible with MSVC, not GCC 
(MinGW). You can find out what he default target is by running clang -v.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list