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>
Thu, 29 Jun 2023 21:07:35 +0000 (23:07 +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 42745aa9a0f709980c62895ed60b101a44981775..ba33cc3f14f3c155efd4c0488963f02417e23174 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()
@@ -517,7 +513,6 @@ target_link_libraries(nextcloudCore
   PUBLIC
   Nextcloud::sync
   Qt5::Widgets
-  Qt5::GuiPrivate
   Qt5::Svg
   Qt5::Network
   Qt5::Xml