Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
githubuser0xFFFF committed Oct 31, 2020
2 parents aedbaec + 04aa622 commit 44dc76b
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 1 deletion.
6 changes: 6 additions & 0 deletions demo/demo.pro
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ RESOURCES += demo.qrc

LIBS += -L$${ADS_OUT_ROOT}/lib


# Dependency: AdvancedDockingSystem (shared)
CONFIG(debug, debug|release){
win32 {
Expand All @@ -50,5 +51,10 @@ else{
LIBS += -lqtadvanceddocking
}

unix:!macx {
LIBS += -lxcb
QT += x11extras
}

INCLUDEPATH += ../src
DEPENDPATH += ../src
5 changes: 5 additions & 0 deletions examples/centralwidget/centralwidget.pro
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ else{
LIBS += -lqtadvanceddocking
}

unix:!macx {
LIBS += -lxcb
QT += x11extras
}

INCLUDEPATH += ../../src
DEPENDPATH += ../../src

5 changes: 5 additions & 0 deletions examples/deleteonclose/deleteonclose.pro
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ else{
LIBS += -lqtadvanceddocking
}

unix:!macx {
LIBS += -lxcb
QT += x11extras
}

INCLUDEPATH += ../../src
DEPENDPATH += ../../src

5 changes: 5 additions & 0 deletions examples/sidebar/sidebar.pro
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ else{
LIBS += -lqtadvanceddocking
}

unix:!macx {
LIBS += -lxcb
QT += x11extras
}

INCLUDEPATH += ../../src
DEPENDPATH += ../../src

5 changes: 5 additions & 0 deletions examples/simple/simple.pro
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ else{
LIBS += -lqtadvanceddocking
}

unix:!macx {
LIBS += -lxcb
QT += x11extras
}

INCLUDEPATH += ../../src
DEPENDPATH += ../../src

2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ endif()
target_link_libraries(qtadvanceddocking PUBLIC Qt5::Core Qt5::Gui Qt5::Widgets)
if(UNIX AND NOT APPLE)
target_link_libraries(qtadvanceddocking PUBLIC Qt5::X11Extras)
target_link_libraries("${MODULE}" xcb)
target_link_libraries(qtadvanceddocking PRIVATE xcb)
endif()
set_target_properties(qtadvanceddocking PROPERTIES
AUTOMOC ON
Expand Down
1 change: 1 addition & 0 deletions src/src.pro
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ unix:!macx {
HEADERS += linux/FloatingWidgetTitleBar.h
SOURCES += linux/FloatingWidgetTitleBar.cpp
QT += x11extras
LIBS += -lxcb
}

isEmpty(PREFIX){
Expand Down

0 comments on commit 44dc76b

Please sign in to comment.