Note: Currently the most up-to-date branch is not master, checkout tqc-tmc
git clone git://code.qt.io/qt-creator/qt-creator.git
git checkout v4.8.1
git clone --recursive https://github.com/testmyqt/qt-creatortmc
QTC_BUILD
your Qt Creator buildQTC_SOURCE
your Qt Creator sourcesQTC_BUILD/lib/qtcreator/plugins/libTestMyCode.so
If you wish to develop the plugin, you might want a setup with a second instance of Creator. One way to accomplish this is to build Creator by yourself.
git clone git://code.qt.io/qt-creator/qt-creator.git
cd qt-creator
v4.8.0-beta2
, so checkout the right Qt Creator version tag:git checkout v4.8.0-beta2
mkdir ../qt-creator-build && cd ../qt-creator-build
qmake ../qt-creator
make
or make -j $(nproc)
to build on all coresgit clone --recursive https://github.com/testmyqt/qt-creatortmc
QTC_BUILD
your Qt Creator buildQTC_SOURCE
your Qt Creator sourcesBUILD_OUTPUT_PATH
where the shared library file will be located. If not set, will install to QTC_BUILD
dir.qmake -spec linux-g++ CONFIG+=debug
qmake -spec linux-g++ CONFIG+=test
make
to buildmake install
to install the plugin .so
file to the plugin directoryTo run the plugin/IDE, you need to create a Run configuration to launch the QTC_BUILD
, Projects Mode -> Run. It is recommended to add the additional command line argument -settingspath path-to-temporary-settings
to not run in the same creator session as your development environment.
The QDoc configuration file is main.qdocconf
in the root directory of the project. The QDoc documentation is automatically generated into doc/html
by running the command qdoc main.qdocconf
. Note that each time the command is run, all the previous content of doc/html
is deleted. So don't place any manually generated content into the directory!