[Development] Qt-5.1, qglobal.h and PIC detection
cavendish.qi at gmail.com
Wed Nov 6 01:19:26 CET 2013
On Wednesday 06 November 2013 12:17:56 Christian Gagneraud wrote:
> I'm using CLang build-analize tool, and when I switched from Qt 4.8 to
> Qt 5.1 (insalled from Qt project's download area), I got a Qt #error,
> basically the code is built with -fPIC, but CLang doesn't define a PIC
> macro, so the build fails due to a check in qglobal.h (see details below).
That's a bug in scan-build script, already fixed in clang upstream. More
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Development