chore: fix build faild cause missing dtkgui build dep

This commit is contained in:
justforlxz 2019-08-28 21:31:03 +08:00
parent 90ee436025
commit 646bbcf3e8
4 changed files with 7 additions and 1 deletions

3
debian/control vendored
View File

@ -24,7 +24,8 @@ Build-Depends: debhelper (>= 8.0.0),
cmake,
libdde-network-utils-dev,
libdbusmenu-qt5-dev,
clang [mips64el]
clang [mips64el],
libdtkgui-dev
Standards-Version: 3.9.8
Homepage: http://www.deepin.org/

View File

@ -19,6 +19,7 @@ find_package(DtkCMake REQUIRED)
pkg_check_modules(XCB_EWMH REQUIRED xcb-ewmh x11)
pkg_check_modules(DFrameworkDBus REQUIRED dframeworkdbus)
pkg_check_modules(QGSettings REQUIRED gsettings-qt)
pkg_check_modules(DtkGUI REQUIRED dtkgui)
# driver-manager
add_executable(${BIN_NAME} ${SRCS} ${INTERFACES} item/item.qrc frame.qrc)
@ -28,6 +29,7 @@ target_include_directories(${BIN_NAME} PUBLIC ${DtkWidget_INCLUDE_DIRS}
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
${PROJECT_BINARY_DIR}
${QGSettings_INCLUDE_DIRS}
${DtkGUI_INCLUDE_DIRS}
../interfaces)
target_link_libraries(${BIN_NAME} PRIVATE
${XCB_EWMH_LIBRARIES}
@ -38,6 +40,7 @@ target_link_libraries(${BIN_NAME} PRIVATE
${Qt5X11Extras_LIBRARIES}
${Qt5DBus_LIBRARIES}
${QGSettings_LIBRARIES}
${DtkGUI_LIBRARIES}
)
if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "sw_64")

View File

@ -33,6 +33,7 @@
#include <com_deepin_dde_daemon_dock_entry.h>
DWIDGET_USE_NAMESPACE
DGUI_USE_NAMESPACE
#define SNAP_WIDTH 200
#define SNAP_HEIGHT 130

View File

@ -27,6 +27,7 @@
#include <DWindowManagerHelper>
DWIDGET_USE_NAMESPACE
DGUI_USE_NAMESPACE
class DockPopupWindow : public Dtk::Widget::DArrowRectangle
{