meta-qt6/recipes-qt/qt6/qtlottie/0001-CMake-find-QuickControls2.patch
Samuli Piippo 16822fabb1 qtlottie: update patch
Update patch to apply to latest revision.

Change-Id: I28b07cb31b9b15f8379065beaec924d72efb1f52
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-07-01 04:43:35 +00:00

28 lines
913 B
Diff

From c89beb45b21d1b7baa37494a0c8ff30305c7996f Mon Sep 17 00:00:00 2001
From: Samuli Piippo <samuli.piippo@qt.io>
Date: Fri, 27 Jun 2025 06:49:13 +0300
Subject: [PATCH] CMake: find QuickControls2
Needed for qtlottieviewer example.
Pick-to: 6.10
Change-Id: I94dee8823ad53cdc2e323cfdd2a554d03f9c6d7a
Upstream-Status: Submitted
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a2e4561..e21d818 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,7 +19,7 @@ qt_internal_project_setup()
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS Core)
find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Gui Qml Quick QuickTest
-QuickVectorImageGeneratorPrivate)
+QuickVectorImageGeneratorPrivate QuickControls2)
if(NOT TARGET Qt6::Gui)
message(NOTICE "Skipping the build as Qt6::Gui cannot be found.")