Skip to content

Commit

Permalink
Fixed static qmake build
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe authored and Uwe committed Oct 30, 2020
1 parent 3564229 commit 04aa622
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 0 deletions.
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

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 04aa622

Please sign in to comment.