From: Kevin Ottens Date: Mon, 5 Oct 2020 17:20:26 +0000 (+0200) Subject: Add dependency on QtGuiPrivate X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~22^2~121^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=15d294e7fb4fb7948b9837ff686118cf66be7ad1;p=nextcloud-desktop.git Add dependency on QtGuiPrivate I'm not a huge fan of using private APIs but QZip is really the API with the least hassles for our debug archive need. No external dependency and we know it is generally available and stable despite the lack of stability promise. Signed-off-by: Kevin Ottens --- diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index 2f1e99e2b..97a3c19af 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -314,7 +314,7 @@ set_target_properties( ${APPLICATION_EXECUTABLE} PROPERTIES set_target_properties( ${APPLICATION_EXECUTABLE} PROPERTIES INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${LIB_INSTALL_DIR}/${APPLICATION_EXECUTABLE};${CMAKE_INSTALL_RPATH}" ) -target_link_libraries( ${APPLICATION_EXECUTABLE} Qt5::Widgets Qt5::Svg Qt5::Network Qt5::Xml Qt5::Qml Qt5::Quick Qt5::QuickControls2 Qt5::WebEngineWidgets) +target_link_libraries( ${APPLICATION_EXECUTABLE} Qt5::Widgets Qt5::GuiPrivate Qt5::Svg Qt5::Network Qt5::Xml Qt5::Qml Qt5::Quick Qt5::QuickControls2 Qt5::WebEngineWidgets) target_link_libraries( ${APPLICATION_EXECUTABLE} ${synclib_NAME} ) IF(BUILD_UPDATER) target_link_libraries( ${APPLICATION_EXECUTABLE} updater )