File qtcoreapplication-iland.patch of Package 3d-forest

diff --git a/src/apps/tools/iland/CMakeLists.txt b/src/apps/tools/iland/CMakeLists.txt
index 0422bce4..ab5be5bb 100644
--- a/src/apps/tools/iland/CMakeLists.txt
+++ b/src/apps/tools/iland/CMakeLists.txt
@@ -25,6 +25,8 @@ endif()
 set(CMAKE_AUTOMOC ON)
 set(CMAKE_AUTORCC ON)
 
+find_package(Qt6 COMPONENTS Core REQUIRED)
+
 add_executable(
     ${SUB_PROJECT_NAME}
     iland.cpp
@@ -38,9 +40,11 @@ target_include_directories(
 
 target_link_libraries(
     ${SUB_PROJECT_NAME}
+    PRIVATE
+    Qt6::Core
     PUBLIC
     3DForestCore
     ILandModel
 )
 
-install(TARGETS ${SUB_PROJECT_NAME} DESTINATION bin)
\ No newline at end of file
+install(TARGETS ${SUB_PROJECT_NAME} DESTINATION bin)
openSUSE Build Service is sponsored by