Skip to content

Commit 04aa622

Browse files
UweUwe
authored andcommitted
Fixed static qmake build
1 parent 3564229 commit 04aa622

File tree

6 files changed

+27
-0
lines changed

6 files changed

+27
-0
lines changed

demo/demo.pro

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ RESOURCES += demo.qrc
3434

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

37+
3738
# Dependency: AdvancedDockingSystem (shared)
3839
CONFIG(debug, debug|release){
3940
win32 {
@@ -50,5 +51,10 @@ else{
5051
LIBS += -lqtadvanceddocking
5152
}
5253

54+
unix:!macx {
55+
LIBS += -lxcb
56+
QT += x11extras
57+
}
58+
5359
INCLUDEPATH += ../src
5460
DEPENDPATH += ../src

examples/centralwidget/centralwidget.pro

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ else{
4545
LIBS += -lqtadvanceddocking
4646
}
4747

48+
unix:!macx {
49+
LIBS += -lxcb
50+
QT += x11extras
51+
}
52+
4853
INCLUDEPATH += ../../src
4954
DEPENDPATH += ../../src
5055

examples/deleteonclose/deleteonclose.pro

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ else{
3434
LIBS += -lqtadvanceddocking
3535
}
3636

37+
unix:!macx {
38+
LIBS += -lxcb
39+
QT += x11extras
40+
}
41+
3742
INCLUDEPATH += ../../src
3843
DEPENDPATH += ../../src
3944

examples/sidebar/sidebar.pro

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ else{
4242
LIBS += -lqtadvanceddocking
4343
}
4444

45+
unix:!macx {
46+
LIBS += -lxcb
47+
QT += x11extras
48+
}
49+
4550
INCLUDEPATH += ../../src
4651
DEPENDPATH += ../../src
4752

examples/simple/simple.pro

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ else{
4242
LIBS += -lqtadvanceddocking
4343
}
4444

45+
unix:!macx {
46+
LIBS += -lxcb
47+
QT += x11extras
48+
}
49+
4550
INCLUDEPATH += ../../src
4651
DEPENDPATH += ../../src
4752

src/src.pro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ unix:!macx {
7373
HEADERS += linux/FloatingWidgetTitleBar.h
7474
SOURCES += linux/FloatingWidgetTitleBar.cpp
7575
QT += x11extras
76+
LIBS += -lxcb
7677
}
7778

7879
isEmpty(PREFIX){

0 commit comments

Comments
 (0)