diff options
author | Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2019-04-01 14:43:48 +0200 |
---|---|---|
committer | Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2019-04-01 16:04:16 +0000 |
commit | 44502f016ac69620fd5d1cf6c26a02eca5cdc8cf (patch) | |
tree | 89a760300ae181f788ffc186f454ccc0f097ad4b /sources/pyside2/doc | |
parent | d165ebc219502a8ee4202622240d7358935e9d18 (diff) |
Doc: Remove pysideversion file
This is included in the gettingstarted.rst file.
Change-Id: I3c457bb9b0909c7f92bb375b5ab3ff6bd354d999
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside2/doc')
-rw-r--r-- | sources/pyside2/doc/contents.rst | 1 | ||||
-rw-r--r-- | sources/pyside2/doc/pysideversion.rst | 31 |
2 files changed, 0 insertions, 32 deletions
diff --git a/sources/pyside2/doc/contents.rst b/sources/pyside2/doc/contents.rst index d58dc9716..35dc9f5f2 100644 --- a/sources/pyside2/doc/contents.rst +++ b/sources/pyside2/doc/contents.rst @@ -7,7 +7,6 @@ gettingstarted.rst tutorials/index.rst pysideapi2.rst - pysideversion.rst licenses.rst Module Index diff --git a/sources/pyside2/doc/pysideversion.rst b/sources/pyside2/doc/pysideversion.rst deleted file mode 100644 index bde48b39e..000000000 --- a/sources/pyside2/doc/pysideversion.rst +++ /dev/null @@ -1,31 +0,0 @@ -Printing |project| and Qt version -********************************* - -|project| exports its version numbers in a pythonic way. You can print these -numbers using the following python constructs: - - :: - - import PySide2.QtCore - - # Prints PySide2 version - # e.g. 5.11.1a1 - print(PySide2.__version__) - - # Gets a tuple with each version component - # e.g. (5, 11, 1, 'a', 1) - print(PySide2.__version_info__) - - # Prints the Qt version used to compile PySide2 - # e.g. "5.11.2" - print(PySide2.QtCore.__version__) - - # Gets a tuple with each version components of Qt used to compile PySide2 - # e.g. (5, 11, 2) - print(PySide2.QtCore.__version_info__) - - -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()) |