aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/gettingstarted
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-12-09 08:46:57 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2022-12-12 12:05:43 +0100
commite5f205b7272bcaa81b86d92e716cfa57a73bcb58 (patch)
tree0f1eebb1d230e4fae5efe06966d03ff5410c402e /sources/pyside6/doc/gettingstarted
parent3d036e0aab8fe1f835e18136573ffa8ad0359ff1 (diff)
Documentation: Add some hints for debug builds on Windows
Pick-to: 6.4 6.2 Change-Id: Ice4a0915cc5d53bf62d25f082318cff95c782856 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/doc/gettingstarted')
-rw-r--r--sources/pyside6/doc/gettingstarted/windows.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/sources/pyside6/doc/gettingstarted/windows.rst b/sources/pyside6/doc/gettingstarted/windows.rst
index 5fec92bca..c80d0176c 100644
--- a/sources/pyside6/doc/gettingstarted/windows.rst
+++ b/sources/pyside6/doc/gettingstarted/windows.rst
@@ -75,6 +75,21 @@ Build can take a few minutes, so it is recommended to use more than one CPU core
python setup.py build --qtpaths=c:\path\to\qtpaths.exe --openssl=c:\path\to\openssl\bin --build-tests --ignore-git --parallel=8
+.. _creating_windows_debug_builds:
+
+Creating Debug Builds
+~~~~~~~~~~~~~~~~~~~~~
+
+* Choose *Custom Installation* when installing Python and tick the options for
+ debug binaries and libraries
+
+* Use ``venv`` to create a virtual environment and pass the debug binary:
+
+ python_d.exe -m venv testenv_d
+
+* Use ``python_d.exe`` to invoke ``setup.py``
+
+
Installing PySide
~~~~~~~~~~~~~~~~~