This commit is contained in:
Uwe Kindler 2020-10-31 13:56:30 +01:00
commit 44dc76bd19
7 changed files with 28 additions and 1 deletions

View File

@ -34,6 +34,7 @@ RESOURCES += demo.qrc
LIBS += -L$${ADS_OUT_ROOT}/lib
# Dependency: AdvancedDockingSystem (shared)
CONFIG(debug, debug|release){
win32 {
@ -50,5 +51,10 @@ else{
LIBS += -lqtadvanceddocking
}
unix:!macx {
LIBS += -lxcb
QT += x11extras
}
INCLUDEPATH += ../src
DEPENDPATH += ../src

View File

@ -45,6 +45,11 @@ else{
LIBS += -lqtadvanceddocking
}
unix:!macx {
LIBS += -lxcb
QT += x11extras
}
INCLUDEPATH += ../../src
DEPENDPATH += ../../src

View File

@ -34,6 +34,11 @@ else{
LIBS += -lqtadvanceddocking
}
unix:!macx {
LIBS += -lxcb
QT += x11extras
}
INCLUDEPATH += ../../src
DEPENDPATH += ../../src

View File

@ -42,6 +42,11 @@ else{
LIBS += -lqtadvanceddocking
}
unix:!macx {
LIBS += -lxcb
QT += x11extras
}
INCLUDEPATH += ../../src
DEPENDPATH += ../../src

View File

@ -42,6 +42,11 @@ else{
LIBS += -lqtadvanceddocking
}
unix:!macx {
LIBS += -lxcb
QT += x11extras
}
INCLUDEPATH += ../../src
DEPENDPATH += ../../src

View File

@ -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

View File

@ -73,6 +73,7 @@ unix:!macx {
HEADERS += linux/FloatingWidgetTitleBar.h
SOURCES += linux/FloatingWidgetTitleBar.cpp
QT += x11extras
LIBS += -lxcb
}
isEmpty(PREFIX){