forked from qt-creator/qt-creator
README: State how to build the Clang Code Model
Change-Id: I18c0b8ae12da0526300872e656c5cb0a3ffb6f7b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -23,12 +23,15 @@ Prerequisites:
|
|||||||
* jom
|
* jom
|
||||||
* On Mac OS X: latest Xcode
|
* On Mac OS X: latest Xcode
|
||||||
* On Linux: g++ 4.7 or later
|
* On Linux: g++ 4.7 or later
|
||||||
* LLVM 3.8.0 or later for the Clang Code Model
|
* LLVM 3.8.0 or later (optional, needed for the Clang Code Model)
|
||||||
|
|
||||||
The installed toolchains have to match the one Qt was compiled with.
|
The installed toolchains have to match the one Qt was compiled with.
|
||||||
|
|
||||||
You can build Qt Creator with
|
You can build Qt Creator with
|
||||||
|
|
||||||
|
# Optional, needed for the Clang Code Model:
|
||||||
|
export LLVM_INSTALL_DIR=/path/to/llvm (or "set" on Windows)
|
||||||
|
|
||||||
cd $SOURCE_DIRECTORY
|
cd $SOURCE_DIRECTORY
|
||||||
qmake -r
|
qmake -r
|
||||||
make (or mingw32-make or nmake or jom, depending on your platform)
|
make (or mingw32-make or nmake or jom, depending on your platform)
|
||||||
|
Reference in New Issue
Block a user