Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find the latest versions of all QML modules

Tags:

qt

qt5

qml

qtquick2

Usually my QML files start with import QtQuick 2.4 and other imports. How can I know which is the latest version of the imported modules without having to guess by type and build?

like image 275
Uga Buga Avatar asked Aug 14 '15 12:08

Uga Buga


1 Answers

You basically don't have to know. By importing a particular version, you merely declare that you don't need the additional functionality of any potentially newer version. That doesn't mean that you won't use a newer version if one is available - it simply means that your code will refuse to run if only an older version than the one you need is present.

So, you should only change the imported module version if you happen to use the functionality (members, classes, etc.) from a newer version. That's all. And you will know exactly what version you need, since you're using the functionality you read about in the documentation. The documentation will state what module version it applies to.

The documentation for a given Qt Quick module from the Qt that you're using will state this - no need for release notes.

like image 186
Kuba hasn't forgotten Monica Avatar answered Oct 31 '22 19:10

Kuba hasn't forgotten Monica