Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to import CMake project in Qt Creator

📅 2016-Jan-26 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ cmake, eclipse cdt, qt creator ⬩ 📚 Archive

Importing a CMake project into Qt Creator is easier than it is with Eclipse (which is described here). The problem is that you cannot do this properly by using the Import option. Counter-intuitively, you need to Open Project to import a CMake project and make a Qt Creator project from it. After this operation, the project will be available in Qt Creator always, with auto-complete (thanks to indexing) and building (thanks to make). To do this:

Tried with: Qt Creator 3.5.0 and Ubuntu 14.04


© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 @codeyarns@hachyderm.io📧