2020-05-20 02:26:57 +08:00
|
|
|
ADS_OUT_ROOT = $${OUT_PWD}/../..
|
|
|
|
|
|
|
|
QT += core gui widgets
|
|
|
|
|
|
|
|
TARGET = DeleteOnCloseTest
|
|
|
|
DESTDIR = $${ADS_OUT_ROOT}/lib
|
|
|
|
TEMPLATE = app
|
|
|
|
CONFIG += c++14
|
|
|
|
CONFIG += debug_and_release
|
|
|
|
adsBuildStatic {
|
|
|
|
DEFINES += ADS_STATIC
|
|
|
|
}
|
|
|
|
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
|
|
|
|
SOURCES += main.cpp
|
|
|
|
|
|
|
|
|
|
|
|
LIBS += -L$${ADS_OUT_ROOT}/lib
|
|
|
|
|
|
|
|
# Dependency: AdvancedDockingSystem (shared)
|
|
|
|
CONFIG(debug, debug|release){
|
|
|
|
win32 {
|
|
|
|
LIBS += -lqtadvanceddockingd
|
|
|
|
}
|
|
|
|
else:mac {
|
|
|
|
LIBS += -lqtadvanceddocking_debug
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
LIBS += -lqtadvanceddocking
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else{
|
|
|
|
LIBS += -lqtadvanceddocking
|
|
|
|
}
|
|
|
|
|
2020-10-31 04:49:28 +08:00
|
|
|
unix:!macx {
|
|
|
|
LIBS += -lxcb
|
|
|
|
QT += x11extras
|
|
|
|
}
|
|
|
|
|
2020-05-20 02:26:57 +08:00
|
|
|
INCLUDEPATH += ../../src
|
|
|
|
DEPENDPATH += ../../src
|
|
|
|
|