diff options
author | Sergio Martins <smartins@kde.org> | 2018-11-11 17:13:29 +0000 |
---|---|---|
committer | Sergio Martins <smartins@kde.org> | 2018-11-11 17:13:29 +0000 |
commit | bbc708b3ff343bda05cb5fba74999cca7b273059 (patch) | |
tree | 9f34c9c9bc71da0f3f76c6395090a70af493f0bc | |
parent | fbc245d3ddedf648b21b94194a6227c0492f1fa2 (diff) |
Readme: Improve instructions for running on Windows
-rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -192,10 +192,13 @@ and rebuild. To make it the compiler for qmake projects, just run qmake like: `qmake -spec linux-clang QMAKE_CXX="clazy"` +On Windows with MSVC it's simply: `qmake QMAKE_CXX="clazy-cl.bat"` + Alternatively, if you want to use clang directly, without the wrapper: `qmake -spec linux-clang QMAKE_CXXFLAGS="-Xclang -load -Xclang ClangLazy.so -Xclang -add-plugin -Xclang clang-lazy"` -You can also edit mkspecs/common/clang.conf and change QMAKE_CXX to clazy instead of clang++ and run qmake -spec linux-clang +On Windows it's similar, just inspect the contents of `clazy-cl.bat`. + It's recommended that you disable pre-compiled headers and don't use ccache. |