QML import versions
timsueberkrueb opened this issue · 6 comments
timsueberkrueb commented
QML import versions change frequently. Would it make sense to ...
- create a script to update versions easily
- use
QtQuick 2.0
everywhere instead ofQtQuick 2.X
I'm not sure about this. What do you think?
plfiorini commented
Keep QtQuick 2.0
and bump the import version when you really need (e.g. a new API added in later version, check since
in the documentation).
timsueberkrueb commented
Moving this to TODO
.
timsueberkrueb commented
Will be done right after merging feature/qtwebengine
.
timsueberkrueb commented
feature/qtwebengine
was merged. Is there a script I can use to easily change QML import versions?
plfiorini commented
find . -type f -name "*.qml" | xargs perl -p -i -e 's@old@new@g'
replace old
with the old import and new
with the new import.
timsueberkrueb commented
Thank you, @plfiorini!