On Fri, Jan 18, 2019 at 12:55 PM Charlie Turner <chtu...@gmail.com> wrote:
> On Fri, 18 Jan 2019 at 10:39, Eike Ziller <eike.zil...@qt.io> wrote: > > Options > C++ > Code Model > Diagnostic Configuration > Manage... > > Copy a template (best one that doesn’t add too many checks, because that > will make code highlighting and completion slower), add the -W argument > under the “Clang” tab. > > Brilliant, that's done the trick. Now, how can I ask the code model to > always #include "config.h" in the files it parses? > Set it as a precompiled header. I'm not sure how this is done with cmake, I did it with qmake and qbs. - Orgad
_______________________________________________ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator