From c219aaf4d119d7114b9f366d43d3ff2700aaf4ad Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Wed, 13 Nov 2019 10:53:59 +0100 Subject: pro2cmake: Reformat code with black Change-Id: I699031d4a05dad84a0807039dcdba17fd5acf2e3 Reviewed-by: Qt CMake Build Bot Reviewed-by: Leander Beernaert Reviewed-by: Alexandru Croitor --- util/cmake/helper.py | 5 ++++- util/cmake/pro2cmake.py | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'util/cmake') 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) -- cgit v1.2.3