[Qt5-feedback] Build system requirements for Qt5

Thiago Macieira thiago at kde.org
Tue Jun 7 15:01:54 CEST 2011


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.

Moreover, the configuration part of the build system needs not be controlled by 
the IDE. Not in its entirety. Before, this wasn't necessary at all, but with a 
modularised Qt, I think the IDE should be able to read and write for simple 
projects checks for:
 - Qt addon modules
 - pkg-config checks

Right now, the project creation wizard in Creator allows me to tell it that I 
want to use QtNetwork and QtWebKit in addition to the stock ones. But once the 
project is created, I can't go back and say, "I want QtSql too". I'd like to 
see this feature, which means the above.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt.nokia.com/pipermail/qt5-feedback/attachments/20110607/011ea87d/attachment.bin 


More information about the Qt5-feedback mailing list