Skip to content
  • Clang tidy help

    Unsolved C++ Gurus
    4
    0 Votes
    4 Posts
    782 Views
    S

    Hi @Kent-Dorfman and @Eukaryote ! :)

    Of course, I have read and viewed the documentation.
    However, I have problems with the realization. I am a beginner and have not yet come into contact with this topic. For this reason, I thought I could find support here.

  • 0 Votes
    2 Posts
    857 Views
    david.skolandD

    I wouldn't know about Google's C++ style guide, but Qt certainly have their own guidelines for Qt itself: https://wiki.qt.io/Qt_Coding_Style

    There is a _clang-format file used by clang-format in the supermodule, which should be in line with the standard: https://github.com/qt/qt5/blob/dev/_clang-format

    You're completely free to choose your own style for your projects using Qt, though.

  • 1 Votes
    2 Posts
    2k Views
    .

    If you still have the same problem I published a bash solution which uses compiledb which allows to generate the file compile_commands.json with qmake on macOS: https://github.com/MiroYld/QtBuildTool