Skip to content

Instantly share code, notes, and snippets.

@pjrobertson
Last active December 18, 2015 14:29
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 pjrobertson/5797755 to your computer and use it in GitHub Desktop.
Save pjrobertson/5797755 to your computer and use it in GitHub Desktop.
## Plugins built against commit bb8ec2ef2588e818e062af467d4d49945e102777 or later are 64 bit only. Set the QSVersion to ensure these plugins don't show up in the plugin updater
qsversion = info.get('QSRequirements',{}).get('version','')
if qsversion == '' or hex(qsversion) < 0x4001:
qsversion.setdefault('QSRequirements',{})['version'] = '4001'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment