aboutsummaryrefslogtreecommitdiffstats
path: root/sources
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-06-10 07:35:21 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2022-06-11 22:20:39 +0200
commit38131fe2f50ba7d576d6dcde30f84d78a1009c6f (patch)
tree0718faa1fbda1af88c376ada8835399c6eb6e1ac /sources
parent8b8ebf358e42949159a815c8cc1ce1662fd15b54 (diff)
Documentation: Fix mention of the clang environment variable
Use LLVM_INSTALL_DIR instead of deprecated CLANG_INSTALL_DIR. Fixes: PYSIDE-1956 Change-Id: I69080670f28267eadd7def6b81599703c9e95fa3 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit fd6f5801117e6c3d215e9b53b8bf5a8e8506ae78)
Diffstat (limited to 'sources')
-rw-r--r--sources/pyside2/doc/gettingstarted-linux.rst6
-rw-r--r--sources/pyside2/doc/gettingstarted-macOS.rst6
-rw-r--r--sources/pyside2/doc/gettingstarted-windows.rst4
3 files changed, 8 insertions, 8 deletions
diff --git a/sources/pyside2/doc/gettingstarted-linux.rst b/sources/pyside2/doc/gettingstarted-linux.rst
index 0474d457f..6ce2d1f86 100644
--- a/sources/pyside2/doc/gettingstarted-linux.rst
+++ b/sources/pyside2/doc/gettingstarted-linux.rst
@@ -49,11 +49,11 @@ If you don't have libclang already in your system, you can download from the Qt
wget https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_100-based-linux-Rhel7.6-gcc5.3-x86_64.7z
-Extract the files, and leave it on any desired path, and then set these two required
-environment variables::
+Extract the files, and leave it on any desired path, and set the environment
+variable required::
7z x libclang-release_100-based-linux-Rhel7.6-gcc5.3-x86_64.7z
- export CLANG_INSTALL_DIR=$PWD/libclang
+ export LLVM_INSTALL_DIR=$PWD/libclang
Getting PySide2
~~~~~~~~~~~~~~~
diff --git a/sources/pyside2/doc/gettingstarted-macOS.rst b/sources/pyside2/doc/gettingstarted-macOS.rst
index fd1bf89f8..b0208ff2c 100644
--- a/sources/pyside2/doc/gettingstarted-macOS.rst
+++ b/sources/pyside2/doc/gettingstarted-macOS.rst
@@ -50,11 +50,11 @@ If you don't have libclang already in your system, you can download from the Qt
wget http://download.qt.io/development_releases/prebuilt/libclang/libclang-release_100-based-mac.7z
-Extract the files, and leave it on any desired path, and then set these two required
-environment variables::
+Extract the files, and leave it on any desired path, and set the environment
+variable required::
7z x libclang-release_100-based-mac.7z
- export CLANG_INSTALL_DIR=$PWD/libclang
+ export LLVM_INSTALL_DIR=$PWD/libclang
Getting PySide2
~~~~~~~~~~~~~~~
diff --git a/sources/pyside2/doc/gettingstarted-windows.rst b/sources/pyside2/doc/gettingstarted-windows.rst
index 069358e0f..442e6f7ed 100644
--- a/sources/pyside2/doc/gettingstarted-windows.rst
+++ b/sources/pyside2/doc/gettingstarted-windows.rst
@@ -59,8 +59,8 @@ Setting up CLANG
If you don't have libclang already in your system, you can download from the Qt servers,
e.g. ``libclang-release_100-based-windows-vs2019_64.7z``.
-Extract the files, and leave it on any desired path, e.g ``c:\``, and then set these two required
-environment variables::
+Extract the files, and leave it on any desired path, for example, ``c:``,
+and set the environment variable required::
set LLVM_INSTALL_DIR=c:\libclang
set PATH=C:\libclang\bin;%PATH%