On 08/10/2011 09:08, ext Girish Ramakrishnan wrote:

> Qt Quick can be default, for all I care, but right now having QT +=
> declarative in .pro file seems a bit strange to me. It's like QT +=
> imperative.  I am specifically referring to what we do in the .pro
> files and the name of the libraries (the source can still reside in
> qtdeclarative/, I don't care). If Quick is the name of the technology,
> why not just use that?

+1 from me.
Even if QML becomes the default like core and gui are default in Qt4, 
one would have to do
        QT -= declarative
to turn it off.

This is the only place where "declarative" refers to QML / Qt Quick. 
Well, apart from the library names of course.

Like Girish said, "Quick" or "QML" is the name of the technology. 
"Declarative" was just a working title when it didn't have a name yet.
After all .ui and .qrc files are purely declarative other than QML. ;)

> My suggestion to rename Gui was more practical.
[...]

Another way would be to provide a (very simple) qt4support module that 
maps the old headers to the new names.
Then you must have a Qt4/Qt5 section in your .pro file though to use 
that module.


BR,

Jörg
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to