[Qt-creator] Building Qt Creator with CMake

Cristian Adam cristian.adam at qt.io
Fri May 17 16:10:20 CEST 2019


I just pushed the submit button that brought Qt Creator CMake build files.

In order to build it one needs to set the CMAKE_PREFIX_PATH CMake variable to
the location where you have Qt and Clang installed (e.g. -DCMAKE_PREFIX_PATH=c:\Qt\Qt5.12.3\5.12.3\mingw81_64;c:\llvm)

Qt Creator itself builds, and runs on Linux, Mac, and Windows.
The CMake port is not 100% done, feedback is welcome.

Below you have an example how a build script would look like:

@echo off
mkdir build
cd build
cmake -GNinja ^
  -DCMAKE_PREFIX_PATH=c:\Qt\Qt5.12.3\5.12.3\mingw81_64;c:\llvm ^
cmake --build .


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20190517/1eeac70c/attachment.html>

More information about the Qt-creator mailing list