[Qt5-feedback] Build system requirements for Qt5
Thiago Macieira
thiago at kde.org
Tue Jun 7 19:51:41 CEST 2011
Em Tuesday, 7 de June de 2011, às 19:01:35, Nicolas Arnaud-Cormos escreveu:
> > 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.
I think that's a needed use-case, yes, but only for simple CMakeLists.txt. If
you have something as complex as a KDE CMakeLists.txt, where the
"add_executable" default macro is replaced with something else, then you'll
need to hand-edit.
--
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/9df0d7e2/attachment.bin
More information about the Qt5-feedback
mailing list