Qt Creator and ccache on Mac
How to properly use ccache in combination with a recent version of Qt Creator on Mac?
- Mac OS 10.9.4
- CMake project (18.104.22.168)
- clang: LLVM version 5.1 (clang-503.0.40)
- gcc: --> same as clang
- Qt Creator: 3.1.2 (based on Qt 5.3.1), official release, rev a791e851a7
- ccache: version 3.1.9
Choosing a ccache-compiler for my kit breaks the debugger functionality in that sense that it doesn't stop at any break-point. Or is there a general issue with ccache in combination with clang? I recall that things were working for me on Linux some time ago (don't recall the details anymore).
Also, I saw this thread, and I wondered if there is any progress or easy work-around for the issue.
I was testing with the following minimal example.
int main(int argc, char** argv)
std::cout << "Hello World!" << std::endl;
Thanks in advance!
Can't help you with that (dunno macs), but i just wanted to strongly advise you against using 3.1.2 as it has various annoying issues which have been fixed in 3.2 RC1, here: http://blog.qt.digia.com/blog/2014/08/05/qt-creator-3-2-rc1-released/
Apparently, the issue was addressed in a recent release of ccache:
(Haven't tested it yet)