diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-11-13 10:53:59 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-11-13 13:35:40 +0000 |
commit | c219aaf4d119d7114b9f366d43d3ff2700aaf4ad (patch) | |
tree | 80f775726a2da9b89c3c7876fcd751b81f27991f /util/cmake | |
parent | 2679ae3719c9cb2fe3a9735b84c5bfe07f5d35d5 (diff) | |
download | qtbase-c219aaf4d119d7114b9f366d43d3ff2700aaf4ad.tar.gz |
pro2cmake: Reformat code with black
Change-Id: I699031d4a05dad84a0807039dcdba17fd5acf2e3
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util/cmake')
-rw-r--r-- | util/cmake/helper.py | 5 | ||||
-rwxr-xr-x | util/cmake/pro2cmake.py | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/util/cmake/helper.py b/util/cmake/helper.py index 28f5efa87a..3a48f63de2 100644 --- a/util/cmake/helper.py +++ b/util/cmake/helper.py @@ -349,7 +349,10 @@ _qt_library_map = [ "quickparticles", "Qt6", "Qt::QuickParticles", extra=["COMPONENTS", "QuickParticles"] ), LibraryMapping( - "linuxofono_support", "Qt6", "Qt::LinuxOfonoSupport", extra=["COMPONENTS", "LinuxOfonoSupport"] + "linuxofono_support", + "Qt6", + "Qt::LinuxOfonoSupport", + extra=["COMPONENTS", "LinuxOfonoSupport"], ) # qtzlib: No longer supported. ] diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index 0d1025988e..1b4df942f9 100755 --- a/util/cmake/pro2cmake.py +++ b/util/cmake/pro2cmake.py @@ -249,6 +249,7 @@ def is_benchmark_project(project_file_path: str = "") -> bool: # relative to the repo source dir, then it must be a benchmark return project_relative_path.startswith("tests/benchmarks") + def is_manual_test_project(project_file_path: str = "") -> bool: qmake_conf_path = find_qmake_conf(project_file_path) qmake_conf_dir_path = os.path.dirname(qmake_conf_path) |