aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/quickstart.rst
diff options
context:
space:
mode:
authorAdrian Herrmann <adrian.herrmann@qt.io>2023-02-07 17:04:54 +0100
committerAdrian Herrmann <adrian.herrmann@qt.io>2023-02-14 13:13:35 +0100
commit06e7cb7d61e6ef7bbd073b85cbf8d5e324e242c6 (patch)
tree71315845d60e0dbdd5de070153e740d65d9d4014 /sources/pyside6/doc/quickstart.rst
parente74125a794511b85e1a03f1c613006c2b6439b3f (diff)
Fix broken Qt prefix for conda installs
If PySide6 is installed through Anaconda, it will conflict with Anaconda's own Qt package, which is based on Qt 5, creating a version mismatch. To work around this, if PySide runs in a conda env, register an internal qt.conf setting the prefix value to the corresponding path in site-packages. Pick-to: 6.4 Change-Id: I5639d7eeaf524a8a4aa533dc5a83bdb0c74cbd9f Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/doc/quickstart.rst')
-rw-r--r--sources/pyside6/doc/quickstart.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/sources/pyside6/doc/quickstart.rst b/sources/pyside6/doc/quickstart.rst
index 141edf94c..baf4e1c16 100644
--- a/sources/pyside6/doc/quickstart.rst
+++ b/sources/pyside6/doc/quickstart.rst
@@ -56,6 +56,13 @@ Installation
pip install --index-url=https://download.qt.io/snapshots/ci/pyside/6.0.0/latest pyside6 --trusted-host download.qt.io
+ .. note:: Starting with 6.4.3, PySide6 can be used from inside a conda
+ environment, but any manual changes you make to the qt.conf file will be
+ ignored. If you want to set custom values to the Qt configuration, set
+ them in a qt6.conf file instead. Read more about `qt.conf`_.
+
+.. _`qt.conf`: https://doc.qt.io/qt-6/qt-conf.html
+
* **Test your installation**
Now that you have |project| installed, test your setup by running the following Python