diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-03-09 13:26:39 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-03-09 23:09:29 +0100 |
commit | d71545e115f4aad125042639d8276f0e1a0fe113 (patch) | |
tree | c2fd5bf47c365900b88e6399af42755b7b3a24df | |
parent | b9a9ff99c73d96d33e572dbbca49c50cc49238e2 (diff) |
CMake: Add python version requirement note to pro2cmake
Change-Id: Iccaf61e19fb7257ed21f656c287976d7d778ed1c
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rwxr-xr-x | util/cmake/pro2cmake.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index 7eeed440f6..56d7e8d48d 100755 --- a/util/cmake/pro2cmake.py +++ b/util/cmake/pro2cmake.py @@ -28,6 +28,9 @@ ############################################################################# +# Requires Python 3.7. The import statement needs to be the first line of code +# so it's not possible to conditionally check the version and raise an +# exception. from __future__ import annotations import copy |