Don't use GuiPrivate.
authorSandro Knauß <hefee@debian.org>
Fri, 3 Feb 2023 17:09:41 +0000 (18:09 +0100)
committerSandro Knauß <hefee@debian.org>
Sat, 7 Oct 2023 22:39:51 +0000 (00:39 +0200)
It is not used anymore and it was patched out before.

Forwarded: not-needed

Gbp-Pq: Name 0004-Don-t-use-GuiPrivate.patch

src/gui/CMakeLists.txt

index fdcde5d6f32bd9251ca6ccccce446aad70af5770..26ee4e46a5d1b3a60adef241e84b71378dbb36b3 100644 (file)
@@ -10,10 +10,6 @@ if(QUICK_COMPILER)
         )
 endif()
 
-if (NOT TARGET Qt5::GuiPrivate)
-    message(FATAL_ERROR "Could not find GuiPrivate component of Qt5. It might be shipped as a separate package, please check that.")
-endif()
-
 if(CMAKE_BUILD_TYPE MATCHES Debug)
     add_definitions(-DQT_QML_DEBUG)
 endif()
@@ -532,7 +528,6 @@ target_link_libraries(nextcloudCore
   PUBLIC
   Nextcloud::sync
   Qt5::Widgets
-  Qt5::GuiPrivate
   Qt5::Svg
   Qt5::Network
   Qt5::Xml