mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
qtlottie: fix example build
Add temporary fix for building examples. Pick-to: 6.10 Change-Id: Ib205f2793894322e957f806531086b6730a63569 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This commit is contained in:
parent
b5de66d6c3
commit
a4a8751d3b
28
recipes-qt/qt6/qtlottie/0001-CMake-find-QuickControls2.patch
Normal file
28
recipes-qt/qt6/qtlottie/0001-CMake-find-QuickControls2.patch
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
From 97e1ec9fcad94d88613d78d2a9394a644de4bf91 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 | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index a99147f..d941c66 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -18,7 +18,8 @@ find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals)
|
||||
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)
|
||||
+find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Gui Qml Quick QuickTest
|
||||
+QuickControls2)
|
||||
|
||||
if(NOT TARGET Qt6::Gui)
|
||||
message(NOTICE "Skipping the build as Qt6::Gui cannot be found.")
|
||||
|
|
@ -10,6 +10,8 @@ inherit qt6-cmake
|
|||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
SRC_URI += "file://0001-CMake-find-QuickControls2.patch"
|
||||
|
||||
DEPENDS += "\
|
||||
qtbase \
|
||||
qtdeclarative \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user