Differences in QtQuick module versions
-
I'm just curious, but all of my 200 qml files have the following statement:
import QtQuick 2.0
But there are newer versions to import like
import QtQuick 2.4
Where can I see the actual changes in those versions?
I assume they are all backwards compatible, but what I
want to now is what they change or improve.Is there anything I can read up?
-
Qt documentation has "since" tags, so you can scan it for them. New versions of QML module imports add new features.
However, you will benefit from all bug fixes to existing features rgardless of which import you use. So, if you are using this:
import QtQuick 2.0 Rectangle {}
and you run this using Qt 5.4 (which allows you to import QtQuick 2.4), you are still running the newest code, and benefit from all the bug fixes to rectangle. It's just that you can't use features that were added after Qt 5.0 until you bump the import version number.