OneDark style additions for Qt Creator.
Copyright (C) 2019 Andreas Schulz. All rights reserved.
Licensed under the MIT License.
Provide the following variables to cmake:
Variable | Value |
---|---|
QTCREATOR_SRC |
Path to directory containing Qt Creator source |
QTCREATOR_VERSION |
Target version of Qt Creator (defaults to 4.11.0) |
On macOS and Linux, the following variable is needed to find Qt Creator's plugin libraries:
Variable | Value |
---|---|
QTCREATOR_BIN |
Path to Qt Creator executable binary |
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DQTCREATOR_SRC="~/Downloads/qt-creator-opensource-src-4.11.0" -DQTCREATOR_BIN="/Applications/Qt Creator.app/Contents/MacOS/Qt Creator"
make
sudo make install
This example uses the Ninja build system.
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=C:/Qt/5.13.2/msvc2017_64 -DQTCREATOR_SRC=C:/Users/aschulz/Projects/qt-creator-opensource-src-4.11.0 -GNinja
ninja
ninja install