aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/doc/pysideversion.rst
diff options
context:
space:
mode:
authorVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2018-03-14 14:29:19 +0100
committerVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2018-04-27 12:42:47 +0000
commit76f1ae210a14d57174c429e50df519dfe6d350d0 (patch)
tree5efe6dd8d704f7582a156d029e87620f6c46cfcc /sources/pyside2/doc/pysideversion.rst
parent4035c45e58896329e5b8b72913ff7f30d387c3dc (diff)
Doc: Add top-level index and getting started information
- Updated the copyright text in the config file - Added the copyright to the footer in the template Change-Id: Iaadc293af524abea41873d04206516caec189c53 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside2/doc/pysideversion.rst')
-rw-r--r--sources/pyside2/doc/pysideversion.rst14
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())