Skip to content

Instantly share code, notes, and snippets.

@oKcerG
Created February 29, 2016 13:42
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 oKcerG/895ce86d7f3a35da02bb to your computer and use it in GitHub Desktop.
Save oKcerG/895ce86d7f3a35da02bb to your computer and use it in GitHub Desktop.
system(/usr/local/bin/qpm install) {
include(vendor/vendor.pri)
} else {
QPM_URL = https://qpm.io
equals(QMAKE_HOST.os, "Darwin") : system(open $$QPM_URL)
equals(QMAKE_HOST.os, "Windows") : system(start $$QPM_URL)
error(qpm is not installed in PATH)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment