[Qt5-feedback] Build system requirements for Qt5

Nicolas Arnaud-Cormos nicolas.arnaud-cormos at kdab.com
Tue Jun 7 19:01:35 CEST 2011


On Tuesday 07 June 2011 15:01:54 Thiago Macieira wrote:
> On Tuesday, 7 de June de 2011 08:16:03 Bill Hoffman wrote:
> > Agreed, it was a bit insane.  It would be really helpful if you could
> > post some pseudo code that showed the use case of win32 sources and some
> > sources that depend on some system introspection value. What does that
> > input look like, and how does it work?
> 
> I don't know. What I'm asking is: you guys who have more experience with
> build systems, can you figure out something that is both IDE-friendly and
> human- friendly?
> 
> The IDE needs to be able to get the file listing from any project, it needs
> to build any project, it needs to get the compiler options (especially the
> preprocessor options, -I and -D) for every single file file, but it only
> need to write back to the project for simple projects (the threshold of
> simplicity is what we can make of it). If you need to hand-edit the
> CMakeLists.txt files in KDE to add new files or compiler options, that's
> fine.

I kind of disagree here. Simple actions, like adding a new class to your 
project, should be done automatically by the IDE.
If you want more power, for example adding a new class only for Windows, then 
it's ok to edit the project file.

Right now, it's a pity that we have to edit the CMakeLists.txt to add a class 
generated by the wizard in Qt Creator. I would love to see more integration 
here.

Nicolas

-- 
Nicolas Arnaud-Cormos | nicolas.arnaud-cormos at kdab.com | Senior Software 
Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions


More information about the Qt5-feedback mailing list