Documentation/4.0/Developers/Tutorials/QtCreator
From Slicer Wiki
Home < Documentation < 4.0 < Developers < Tutorials < QtCreator
Qt Creator
Qt Creator is a cross-platform IDE that fully integrates Qt into the development of applications. Slicer CMake project is supported by Qt Creator, the following describes tips using Qt Creator.
- Configure and compile Slicer outside qtcreator first, from command line (more information here .
- After Slicer has been compiled successfully, turn off verbose make using this from Slicer-build:
cmake -D CMAKE_VERBOSE_MAKEFILE:BOOL=OFF .
- Launch qtcreator through slicer to setup paths and paths to paths (this allows qtcreator to locate our custom designer plugins):
Slicer4 --launch /path/to/qtcreator
- Open /path/to/Slicer-src/CMakeLists.txt in qtcreator, when prompted, choose the build directory where Slicer was configured and compiled in the previous step. (/path/to/Slicer-Superbuild/Slicer-build)