[Qt-creator] ccache usage

Kevin Krammer kevin.krammer at kdab.com
Thu Dec 26 13:03:04 CET 2013

On Thursday, 2013-12-26, 02:12:21, Muhammad Bashir Al-Noimi wrote:
> On 12/25/2013 09:21 PM, Kevin Krammer wrote:
> > You define it as the C and C++ compiler.
> > 
> > E.g. by setting the CC and CXX environment variables or creating a
> > specialized mkspec or by overwriting the QMAKE_CC and QMAKE_CXX
> > variables, etc.
> Sorry I didn't get it! may you please explain more?

ccache "replaces" the compiler calls, i.e. the Makefile calls ccache, which 
the calls the actual compiler if it doesn't find a cached result.

You can use any technique you want to make the build system pick up ccache 
instead of the actual compiler.  I've mentioned a couple of those, the ccache 
documentation has additional ones.

Kevin Krammer | kevin.krammer at kdab.com | Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - Qt Experts - Platform-independent software solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5918 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20131226/3945647e/attachment.bin>

More information about the Qt-creator mailing list