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

View File

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

View File

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

View File

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

View File

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

View File

@ -62,7 +62,7 @@ endif()
target_link_libraries(qtadvanceddocking PUBLIC Qt5::Core Qt5::Gui Qt5::Widgets) target_link_libraries(qtadvanceddocking PUBLIC Qt5::Core Qt5::Gui Qt5::Widgets)
if(UNIX AND NOT APPLE) if(UNIX AND NOT APPLE)
target_link_libraries(qtadvanceddocking PUBLIC Qt5::X11Extras) target_link_libraries(qtadvanceddocking PUBLIC Qt5::X11Extras)
target_link_libraries("${MODULE}" xcb) target_link_libraries(qtadvanceddocking PRIVATE xcb)
endif() endif()
set_target_properties(qtadvanceddocking PROPERTIES set_target_properties(qtadvanceddocking PROPERTIES
AUTOMOC ON AUTOMOC ON

View File

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