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.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…