Created
February 18, 2018 16:01
-
-
Save derchrisuk/cf45099b5d98b8f9f6a311e4fcc95ec2 to your computer and use it in GitHub Desktop.
Qt5 version check
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import inspect | |
from PyQt5 import Qt | |
vers = ['%s = %s' % (k,v) for k,v in vars(Qt).items() if k.lower().find('version') >= 0 and not inspect.isbuiltin(v)] | |
print('\n'.join(sorted(vers))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment