![]() Take the following steps to configure CMakeLists.txt for your Qt project. CMake-based Qt projectsįor CMake version 3.0 and newer, Qt ships the modules that let CMake find and use Qt4 and Qt5 libraries. ![]() You can generate compile_commands.json for your qmake project with the help of scan-build or via the Build | Generate Compilation Database action in Qt Creator, then open this file as a project in CLion and add custom build targets and custom Run/Debug configurations for it. You can also create a CMake-based Qt project in CLion using the New Project wizard.Īnother option to open a Qt project is to use a compilation database. However, when converted into CMake, it can be opened and managed as a regular CMake application. ![]() Qt uses its own build system, qmake, and also supports building with CMake starting from the version Qt4.Ī pure Qmake project can't be imported in CLion directly. Qt is a cross-platform C++ framework for creating GUI applications.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |