Allowing the use of clang in qmake

Posted by Simon Walker on Thu 01 July 2010

Clang is an attempt at creating a gcc replacement front end for *nix based systems with static code analysis and more helpful error messages etc.

To allow the use of the clang compiler, the easiest way is to create a  new mkspec, and create a Makefile with

qmake -spec linux-clang

See the link at the end of this post for the original credit, and a sample mkspec file.

Credit here

tags: c