[Development] QML engine C++ class renaming

André Somers andre at familiesomers.nl
Wed Feb 15 11:44:12 CET 2012

Op 2/15/2012 11:21 AM, Mark schreef:
> On Wed, Feb 15, 2012 at 11:17 AM, Robin Burchell 
> <robin+qt at viroteck.net <mailto:robin%2Bqt at viroteck.net>> wrote:
>     2012/2/15 Mark <markg85 at gmail.com <mailto:markg85 at gmail.com>>:
>     > Why would you still support QML 1? Qt5 is going to have QML 2
>     which should
>     > be superior to QML 1 in about every single way so why not just
>     drop it for
>     > Qt5?
>     Because one of the central points of Qt 5 is maintaining compatibility
>     with Qt 4 as far as is possible. That means not breaking existing code
>     (of which there is quite a lot).
> I understand, but isn't QML 2 itself backwards compatible with QML 1? 
> All the dev has to do is change the import line and everything should 
> still work right?
No, not if you used anything beyond the standard components. If you 
subclassed QDeclarativeItem yourself, you'd be screwed.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120215/4e96c6c0/attachment.html>

More information about the Development mailing list