lirios/browser

QML import versions

timsueberkrueb opened this issue · 6 comments

QML import versions change frequently. Would it make sense to ...

  • create a script to update versions easily
  • use QtQuick 2.0 everywhere instead of QtQuick 2.X
    I'm not sure about this. What do you think?

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).

Moving this to TODO.

Will be done right after merging feature/qtwebengine.

feature/qtwebengine was merged. Is there a script I can use to easily change QML import versions?

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.