Skip to content

Instantly share code, notes, and snippets.

@lauromoura
Created February 15, 2012 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lauromoura/1836339 to your computer and use it in GitHub Desktop.
Save lauromoura/1836339 to your computer and use it in GitHub Desktop.
equals(QT_MAJOR_VERSION, 5):if(!debug_and_release|CONFIG(release, debug|release)) {
bump_qml_version_installed.CONFIG += no_path
bump_qml_version_installed.commands = test -d $$[QT_INSTALL_IMPORTS]
for(install, INSTALLS) {
isEmpty($${install}.files): next()
bump_qml_version_installed.depends += install_$${install}
bump_qml_version_installed.commands += && $$bumpQmlVersion($$eval($${install}.path), 2.0)
}
INSTALLS += bump_qml_version_installed
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment