Don't use GuiPrivate.
authorSandro Knauß <hefee@debian.org>
Fri, 3 Feb 2023 17:09:41 +0000 (18:09 +0100)
committerBenjamin Drung <bdrung@debian.org>
Wed, 28 Feb 2024 22:52:48 +0000 (22:52 +0000)
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 1968683e23415963ac926a00abd1dc8c63101bbb..ba328c3d16e7e797f6989b95de9274bad9de0313 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()
@@ -529,7 +525,6 @@ target_link_libraries(nextcloudCore
   PUBLIC
   Nextcloud::sync
   Qt5::Widgets
-  Qt5::GuiPrivate
   Qt5::Svg
   Qt5::Network
   Qt5::Xml