diff options
| author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-09-28 16:34:28 +0200 |
|---|---|---|
| committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-10-27 16:22:34 +0200 |
| commit | 6dc98da382f0a6f2abf9cb48497f595073ad0f07 (patch) | |
| tree | 1b48e4909d8166743f225b106a51fa5d87108c7d /examples/declarative/referenceexamples/adding | |
| parent | c72947a35f80d94a08d788249773f1c32ef7a7de (diff) | |
CMake: Search for shiboken package in the PySide project earlier
When doing a pure CMake build of the PySide project (without
setup.py), configuration would fail with
CMake Error at CMakeLists.txt:49 (message):
Could not identify PySide6 version. Error
because the project expects the PYTHON_EXECUTABLE cache var to be set
to a valid value. This value is usually passed by the setup.py script.
Move the find_package(Shiboken) call before the version detection
code.
This allows not passing an explicit PYTHON_EXECUTABLE cache var
because the Shiboken package will set it.
Pick-to: 6.2
Change-Id: I97d7cae07711be17c2390ac0f9db835b8d74e771
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/declarative/referenceexamples/adding')
0 files changed, 0 insertions, 0 deletions
