[Development] Notice: QtDeclarative compatibility module about to be removed

Kent Hansen kent.hansen at nokia.com
Fri May 11 09:50:42 CEST 2012


Hi,
See https://codereview.qt-project.org/#change,25891

In short, "QT += declarative" and the QtDeclarative headers/classnames 
will no longer work (i.e., code that use them won't compile).

I went through the qt5.git submodules and ported the last stuff 
(hopefully) over to the QtQml names. Once those changes have been 
merged, I'll stage the above change.

If you still have code using the old QtDeclarative headers/classnames, 
now would be an excellent time to port to the QtQml names. If in doubt, 
try running the qtdeclarative/bin/rename-qtdeclarative-symbols.sh script 
over your code and check the results. (Note that the script can be a bit 
eager, e.g. references to module-local paths like 
"examples/declarative/foo" and "SUBDIRS += declarative" will be replaced 
by "examples/qml/foo" and "SUBDIRS += qml", which you maybe don't want 
-- at least not without also renaming those folders. ;) )

Best regards,
Kent




More information about the Development mailing list