2020-05-07 20:39:02 +08:00
|
|
|
ADS_OUT_ROOT = $${OUT_PWD}/../..
|
2018-12-20 16:15:02 +08:00
|
|
|
|
2019-01-17 00:49:59 +08:00
|
|
|
QT += core gui widgets
|
2018-12-20 16:15:02 +08:00
|
|
|
|
2020-05-07 20:39:02 +08:00
|
|
|
TARGET = SidebarExample
|
2018-12-20 16:15:02 +08:00
|
|
|
DESTDIR = $${ADS_OUT_ROOT}/lib
|
|
|
|
TEMPLATE = app
|
2019-01-26 00:28:36 +08:00
|
|
|
CONFIG += c++14
|
2019-01-18 16:33:11 +08:00
|
|
|
CONFIG += debug_and_release
|
2019-01-17 00:49:59 +08:00
|
|
|
adsBuildStatic {
|
|
|
|
DEFINES += ADS_STATIC
|
|
|
|
}
|
2018-12-20 16:15:02 +08:00
|
|
|
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
main.cpp \
|
|
|
|
MainWindow.cpp
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
MainWindow.h
|
|
|
|
|
|
|
|
FORMS += \
|
|
|
|
MainWindow.ui
|
|
|
|
|
|
|
|
|
|
|
|
LIBS += -L$${ADS_OUT_ROOT}/lib
|
|
|
|
|
|
|
|
# Dependency: AdvancedDockingSystem (shared)
|
2019-01-17 00:49:59 +08:00
|
|
|
CONFIG(debug, debug|release){
|
|
|
|
win32 {
|
|
|
|
LIBS += -lqtadvanceddockingd
|
|
|
|
}
|
|
|
|
else:mac {
|
|
|
|
LIBS += -lqtadvanceddocking_debug
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
LIBS += -lqtadvanceddocking
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else{
|
|
|
|
LIBS += -lqtadvanceddocking
|
|
|
|
}
|
2018-12-20 16:15:02 +08:00
|
|
|
|
2020-05-07 20:39:02 +08:00
|
|
|
INCLUDEPATH += ../../src
|
|
|
|
DEPENDPATH += ../../src
|
2018-12-20 16:15:02 +08:00
|
|
|
|