[Qt-creator] Feature request: Compile at save time

Thorbjørn Lindeijer thorbjorn.lindeijer at nokia.com
Thu Mar 19 10:34:32 CET 2009


ext Regis FLORET wrote:
> Hello,
> 
> I enjoy more and more QtCreator, but for some non-Qt projects I use
> Eclipse. It has a feature that improve a lot productivity. Each time the
> file (c or c++) is saved, it is compiled. When the program is runned,
> there's only a link todo.
> 
> This will be great if there'll be that kind of feature in QtCreator.

As it happened I needed this feature yesterday evening since with my 
hobby project I'm currently at the stage of fixing a large amount of 
compile errors after doing a big merge, and it was very annoying to keep 
pressing Ctrl+B all the time.

For now I just wrote a quick hack, which you can apply to your Qt 
Creator to make it do that:

http://platinum.edu.pl/~bjorn/creator/0001-A-quick-hack-to-run-build-on-save.patch

Since it turned out pretty useful I am considering to try a proper 
implementation and having it as an option.

Regards,
Bjørn

-- 
Thorbjørn Lindeijer
Software Engineer
Nokia, Qt Software




More information about the Qt-creator-old mailing list