[Qt-creator] Setup of Projects with CMake & VS Compilers

Alexander Rukletsov rukletsov at gmail.com
Wed Feb 13 18:43:20 CET 2013


Hi,

I use this setup in my daily work. If you use a recent version of
CMake, you need to set-up a "kit" first, otherwise choose the
corresponding nmake generator when opening CMakeLists.txt. Once the
kit is set, open CMakeLists, provide parameters to cmake binary, and
run the generator. If you have a complex project, you may use
cmake-gui to tune cmake vars and re-generate the project into the
build folder created by QtCreator.

Hope this helps,
Alex


On 13 February 2013 16:30, Michael Jackson <imikejackson at gmail.com> wrote:
> Not sure which list (this or the CMake List) to ask on so I'll try here first.
>
> If I understand correctly QtCreator on Windows can use the VS Compilers/Debugger. My project is managed with CMake instead of QMake and I was curious if anyone else is using this combination and could give some pointers on how to setup the environment to use QtCreator in this way? What generator do I use? What kind of env vars need to be setup ahead of time. Stuff like that.
>
> Thanks
> -----
> Mike Jackson
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator



More information about the Qt-creator mailing list