Skip to content
QtWS25 Last Chance
  • Clang tidy help

    Unsolved C++ Gurus clang-tidy beautifier clang-format c++
    4
    0 Votes
    4 Posts
    989 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.
  • Google C++ Style Guide

    Unsolved Qt Creator and other tools clang-format clang-tidy
    2
    0 Votes
    2 Posts
    1k 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