mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
54 lines
1.5 KiB
Diff
54 lines
1.5 KiB
Diff
From 095b55e0e992f63af414b27e1b2ca52ff1a550fb Mon Sep 17 00:00:00 2001
|
|
From: Luca Weiss <luca@z3ntu.xyz>
|
|
Date: Wed, 15 Nov 2023 00:21:02 +0100
|
|
Subject: [PATCH 2/2] Use qmltestrunner-qt5
|
|
|
|
---
|
|
CMakeLists.txt | 2 +-
|
|
cmake/modules/QmlTest.cmake | 2 +-
|
|
test/qml/CMakeLists.txt | 2 +-
|
|
3 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index e70f8ec..6cefd26 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -82,7 +82,7 @@ if(${GENERATE_DOCUMENTATION})
|
|
endif()
|
|
|
|
|
|
-find_program(qmltestrunner_exe qmltestrunner)
|
|
+find_program(qmltestrunner_exe qmltestrunner-qt5)
|
|
|
|
if(NOT qmltestrunner_exe)
|
|
message(FATAL_ERROR "Could not locate qmltestrunner.")
|
|
diff --git a/cmake/modules/QmlTest.cmake b/cmake/modules/QmlTest.cmake
|
|
index 87fab8e..61bdc51 100644
|
|
--- a/cmake/modules/QmlTest.cmake
|
|
+++ b/cmake/modules/QmlTest.cmake
|
|
@@ -15,7 +15,7 @@
|
|
# qmltest_DEFAULT_IMPORT_PATHS
|
|
# qmltest_DEFAULT_PROPERTIES
|
|
|
|
-find_program(qmltestrunner_exe qmltestrunner)
|
|
+find_program(qmltestrunner_exe qmltestrunner-qt5)
|
|
|
|
if(NOT qmltestrunner_exe)
|
|
message(FATAL_ERROR "Could not locate qmltestrunner.")
|
|
diff --git a/test/qml/CMakeLists.txt b/test/qml/CMakeLists.txt
|
|
index e817ea0..f4fd2fa 100644
|
|
--- a/test/qml/CMakeLists.txt
|
|
+++ b/test/qml/CMakeLists.txt
|
|
@@ -1,7 +1,7 @@
|
|
add_custom_target(qmlunittests)
|
|
add_custom_target(qmlunittests_1_1)
|
|
|
|
-find_program(qmltestrunner_exe qmltestrunner)
|
|
+find_program(qmltestrunner_exe qmltestrunner-qt5)
|
|
|
|
if(NOT qmltestrunner_exe)
|
|
message(FATAL_ERROR "Could not locate qmltestrunner.")
|
|
--
|
|
2.42.1
|
|
|