[Qt-creator] Using QtCreator as a general C++ IDE

Tobias Hunger tobias.hunger at nokia.com
Thu Feb 25 10:36:00 CET 2010


On 25.02.2010 02:22, ext Jefferson Bandeira wrote:
> Hello trolls =)
> Is there a way to use QtCreator as a General Purpose IDE, instead of a
> Qt Only IDE... I like most of the features of code completion and
> browsing this IDE offers, and i really would like to use it as my main
> IDE, however i can't find a way to use it to anything other than
> creating Qt Apps.
> So, the question : Is it possible? If so, how?
> Thanks for your time, i'll wait for answers. =)
> --
> Jefferson Bandeira

Hello Jefferson,

in addition to qmake based projects Creator also supports projects using 
a generic makefile-based build system as well as cmake based projects.

There are no wizards to help you set up the initial project structure 
for these projects though. To use a CMake based project simply choose 
"File->Open file or project" and then pick the top-level CMakeLists.txt 
file (that is how cmake calls its build scripts). Any Makefile based 
project can get imported into Qt creator using "File->New File or 
Project". In the dialog that opens there you can select "Import Existing 
Project" and then point it to the toplevel project directory.

For Generic makefile-based projects you will need to maintain a set of 
files listing all sources, etc. For CMake based projects that 
information is extracted from the CMakeLists.txt files.

Best Regards,
Tobias Hunger



More information about the Qt-creator-old mailing list