Tabs for Qt Creator.
Copyright (C) 2019 Andreas Schulz. All rights reserved.
Licensed under the MIT License.
This plugin depends on the LayoutSupport plugin.
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 |
The main difference here is that on Linux - since most distributions ship quite recente versions of QtCreator - we override the QTCREATOR_VERSION
value.
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DQTCREATOR_SRC="~/Downloads/qt-creator-opensource-src-5.0.1" -DQTCREATOR_BIN="/usr/bin/qtcreator -DQTCREATOR_VERSION="5.0.1"
make
sudo make install
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