Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator and ccache on Mac

Qt Creator and ccache on Mac

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 2.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    normanius
    wrote on last edited by
    #1

    Hi forum

    How to properly use ccache in combination with a recent version of Qt Creator on Mac?

    My setup:

    • Mac OS 10.9.4
    • CMake project (2.8.12.1)
    • 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.
    https://bugreports.qt-project.org/browse/QTBUG-31034

    I was testing with the following minimal example.
    @

    CMakeLists.txt

    cmake_minimum_required(VERSION 2.8.11)

    set(SOURCES
    main.cpp)

    add_executable(minimal_test ${SOURCES})
    @

    @
    // main.cpp
    #include <iostream>

    int main(int argc, char** argv)
    {
    std::cout << "Hello World!" << std::endl;
    return 0;
    }
    @

    Thanks in advance!

    1 Reply Last reply
    0
    • G Offline
      G Offline
      gyll
      wrote on last edited by
      #2

      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/

      1 Reply Last reply
      0
      • N Offline
        N Offline
        normanius
        wrote on last edited by
        #3

        Apparently, the issue was addressed in a recent release of ccache:
        https://ccache.samba.org/releasenotes.html#_ccache_3_1_10
        (Haven't tested it yet)

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved