diff options
Diffstat (limited to 'sources/pyside2/doc/pysideversion.rst')
-rw-r--r-- | sources/pyside2/doc/pysideversion.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sources/pyside2/doc/pysideversion.rst b/sources/pyside2/doc/pysideversion.rst index 5ad308c1e..24afba12d 100644 --- a/sources/pyside2/doc/pysideversion.rst +++ b/sources/pyside2/doc/pysideversion.rst @@ -1,9 +1,10 @@ -Getting PySide and Qt version -***************************** +Printing |project| and Qt version +********************************* -PySide exports their version numbers among the version of Qt used to compile PySide in a pythonic way, you can check it using the variables: +|project| exports its version numbers in a pythonic way. You can print these +numbers using the following python constructs: -:: + :: import PySide2.QtCore @@ -24,8 +25,7 @@ PySide exports their version numbers among the version of Qt used to compile PyS print(PySide2.QtCore.__version_info__) -Note that the Qt version used to compile PySide may differ from the version used to run PySide, to get the current running Qt version you can do: - -:: +Note that the Qt version used to compile |project| may differ from the version used to +run |project|. To print the current running Qt version number, you can use:: print(PySide2.QtCore.qVersion()) |