Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use qtcreator with makefile project

I have a makefile project. I know that in Eclipse CDT is possible to load makefile project.

Is it possibile to load it in qtcreator?

like image 332
nkint Avatar asked Aug 28 '13 19:08

nkint


1 Answers

As Greenflow mentioned, Qt Creator can import existing project but it doesn't even depend on the existence of the Makefile. All you need to do for import of the existing project is specify the high-level folder in which the sources of the project are located (including sources in subdirectories) and set some name for the project - the name which Qt Creator will use to display its name. Qt Creator also asks you which files should be included to the project but again, it is simply for the display of sources in the project tree, not for build. Qt Creator uses make tool in the specified build directory by default to build your project but you can override this setting. For example, in the company I work for we have a custom build system and a custom build tool. So when I import some project into Qt Creator, I specify the directory with sources, set some name, specify build directory, override the default make build tool by our custom one, add some include paths to file .includes, if necessary, specify macros in file .config and develop things, that's just it.

You can see more detailed information about Import existing project feature of Qt Creator here.

like image 93
Dmitry Avatar answered Oct 04 '22 05:10

Dmitry