Skip to content

PySide2

Baldur Karlsson edited this page Aug 28, 2020 · 2 revisions

QRenderDoc uses PySide 2 to expose the UI of qrenderdoc itself to python scripting, to allow further customisation.

At present however, this is an optional build-time dependency that must be configured, and if not then the python scripting just treats QWidget handles as opaque.

Officially produced builds (nightly and stable) include PySide2, and for windows you can download a zip of extra 3rdparty dependencies and extract it in the root of your checkout, and it will populate PySide2 into the right place, or else you can build it yourself.

On linux you'll need to install the PySide2 packages for your platform, and then rebuild to allow RenderDoc to find it. See the Qt wiki for distro-specific details, but ensure you have the dev packages for both pyside2 and shiboken2 as well as the modules for the Qt components you watn to access if they're separated - a good starting set is QtCore, QtGui and QtWidgets.

Build instructions are outside the scope of this document but you can find more information on the Qt wiki.

Clone this wiki locally