Skip to content

Commit

Permalink
fix build failed
Browse files Browse the repository at this point in the history
Signed-off-by: Zhang Sheng <[email protected]>
  • Loading branch information
Johnson-zs committed Jun 12, 2024
1 parent abf6e1c commit dcc4718
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/libsync/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ IF (NOT APPLE)
)
ENDIF(NOT APPLE)

find_package(Qt${QT_MAJOR_VERSION} REQUIRED COMPONENTS WebSockets Xml Sql)
find_package(Qt${QT_MAJOR_VERSION} REQUIRED COMPONENTS WebSockets Xml Sql Gui Svg Widgets)

add_library(nextcloudsync SHARED ${libsync_SRCS})
add_library(Nextcloud::sync ALIAS nextcloudsync)
Expand All @@ -211,6 +211,9 @@ target_link_libraries(nextcloudsync
Qt::WebSockets
Qt::Xml
Qt::Sql
Qt::Gui
Qt::Svg
Qt::Widgets
KF6::Archive
Qt::Core5Compat
)
Expand Down
1 change: 1 addition & 0 deletions src/libsync/theme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#endif
#include <QSslSocket>
#include <QSvgRenderer>
#include <QPainter>

#include "nextcloudtheme.h"

Expand Down

0 comments on commit dcc4718

Please sign in to comment.