From: Sandro Knauß Date: Fri, 3 Feb 2023 17:09:41 +0000 (+0100) Subject: Don't use GuiPrivate. X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2^2~1^2^2^2^2^2^2^2~1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ef2c44a7bf93e5cd32cd42a634958d081e87cef2;p=nextcloud-desktop.git Don't use GuiPrivate. It is not used anymore and it was patched out before. Forwarded: not-needed Gbp-Pq: Name 0004-Don-t-use-GuiPrivate.patch --- diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index fdcde5d6f..26ee4e46a 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -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