diff options
author | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2022-07-07 10:21:44 +0200 |
---|---|---|
committer | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2022-07-07 11:21:13 +0200 |
commit | 9eb09c82cbe29df18c86b4f337de3637a211e780 (patch) | |
tree | 88ad0103a3000e98ad17c227cb59d34b940723a4 | |
parent | a245ed9f6080c6a84328517b02a97cc5f895f5a2 (diff) |
Fix getting started Qt for Python
- the pip install -r requirements.txt command should come after pyside-setup is cloned
Pick-to: 6.2 6.3
Change-Id: I4ed8108bf1fb850f773d422472b603ee11d97b87
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
-rw-r--r-- | sources/pyside6/doc/gettingstarted-linux.rst | 5 | ||||
-rw-r--r-- | sources/pyside6/doc/gettingstarted-macOS.rst | 5 | ||||
-rw-r--r-- | sources/pyside6/doc/gettingstarted-windows.rst | 5 |
3 files changed, 12 insertions, 3 deletions
diff --git a/sources/pyside6/doc/gettingstarted-linux.rst b/sources/pyside6/doc/gettingstarted-linux.rst index 1f8ed9bcc..8db657dac 100644 --- a/sources/pyside6/doc/gettingstarted-linux.rst +++ b/sources/pyside6/doc/gettingstarted-linux.rst @@ -21,7 +21,6 @@ which arbitrary modules can be installed and which can be removed after use:: python -m venv testenv source testenv/bin/activate - pip install -r requirements.txt # General dependencies, documentation, and examples. will create and use a new virtual environment, which is indicated by the command prompt changing. @@ -49,6 +48,10 @@ Checking out the version that we want to build, for example 6.0:: cd pyside-setup && git checkout 6.0 +Install the general dependencies:: + + pip install -r requirements.txt + .. note:: Keep in mind you need to use the same version as your Qt installation. Additionally, :command:`git checkout -b 6.0 --track origin/6.0` could be a better option in case you want to work on it. diff --git a/sources/pyside6/doc/gettingstarted-macOS.rst b/sources/pyside6/doc/gettingstarted-macOS.rst index 4bb99f7c9..21e9af393 100644 --- a/sources/pyside6/doc/gettingstarted-macOS.rst +++ b/sources/pyside6/doc/gettingstarted-macOS.rst @@ -24,7 +24,6 @@ which arbitrary modules can be installed and which can be removed after use:: python -m venv testenv # your interpreter could be called 'python3' source testenv/bin/activate - pip install -r requirements.txt # General dependencies, documentation, and examples. will create and use a new virtual environment, which is indicated by the command prompt changing. @@ -52,6 +51,10 @@ Checking out the version that we want to build, for example, 6.0:: cd pyside-setup && git checkout 6.0 +Install the general dependencies:: + + pip install -r requirements.txt + .. note:: Keep in mind you need to use the same version as your Qt installation Building PySide diff --git a/sources/pyside6/doc/gettingstarted-windows.rst b/sources/pyside6/doc/gettingstarted-windows.rst index 63e187682..369cb95eb 100644 --- a/sources/pyside6/doc/gettingstarted-windows.rst +++ b/sources/pyside6/doc/gettingstarted-windows.rst @@ -28,7 +28,6 @@ which arbitrary modules can be installed and which can be removed after use:: python -m venv testenv call testenv\Scripts\activate - pip install -r requirements.txt # General dependencies, documentation, and examples. will create and use a new virtual environment, which is indicated by the command prompt changing. @@ -60,6 +59,10 @@ Checking out the version that we want to build, for example, 6.0:: cd pyside-setup && git checkout 6.0 +Install the general dependencies:: + + pip install -r requirements.txt + .. note:: Keep in mind you need to use the same version as your Qt installation Building PySide |