[Qt-creator] Generating QtCreator cmake project for given CMakeLists.txt from command line

Konstantin Tokarev annulen at yandex.ru
Thu Jun 2 18:24:51 CEST 2016



02.06.2016, 19:07, "René J.V. Bertin" <rjvbertin at gmail.com>:
> Hi,
>
> Reviving an older thread after, well to honest, not having had a reason to use Creator for a while ...
>
> So I updated to git/master, and discover that it's become even more complicated to import a CMake-based project for which you already have a (lengthy) cmake command line. Have I missed a place to input the commandline "as is" during the import procedure, or does one really have to cut it up and create the entries one by one through a WYSIAYG interface?

The next sequence have worked for me:

1. Open CMakeLists.txt
2. Choose appropriate Kit from list, or create one if it is missing. Import project
3. Go to project settings and switch build directory to the one which has your configured build.

-- 
Regards,
Konstantin



More information about the Qt-creator mailing list