[Qt-creator] Alternate Build System Support

Robert Hairgrove evorgriahr at hispeed.ch
Mon Jan 19 18:37:00 CET 2009


Mike Jackson wrote:
> I created a firestorm last time I asked/inferred but I am very curious 
> if QtCreator will _eventually_ support alternate build systems (Mainly 
> just calling a predefined Makefile) or is that going to be left to a 3rd 
> party to develop.
> 
> What I have seen from QtCreator and the little bit that I experimented 
> with it lately I am already "hooked" on it as it is faster than Eclipse 
> CDT and probably less of a memory hog than Eclipse but all my current 
> projects use another build system and converting them to qmake is not 
> possible at the current time (Maybe later.. don't know).
> 
> So I ask with the deepest respect possible and not wanting to start a 
> flame war: what is the possibility of QtCreator supporting a "Plain 
> Makefile" project? I have yet to think through how I would support that 
> on Windows though.
> 
> Thanks
> Mike Jackson
> 

Do you need to moc your source files or compile .ui files? If so, you 
probably need qmake. However, moc and uic can also be called without it.

If not, you might use Qt Creator just for source code editing -- the 
editor and code completion really rock! :) -- and set up a project in 
the other IDE you currently use which contains the same source files. 
When everything is ready, you can build the project in the other IDE.

Also, it's probably worth picking apart the .pro files which come with 
the source distribution. They are set up so as to output Makefiles for 
each sub-project, demo, etc. Then you just call "make" in the Qt root 
directory, and everything is built normally.

But it would be easier not to have to leave the IDE to do this, so I 
think your suggestion is a good one.



More information about the Qt-creator-old mailing list