2017-03-29 18:18:49 +08:00
|
|
|
ADS_OUT_ROOT = $${OUT_PWD}/..
|
2017-02-27 01:13:56 +08:00
|
|
|
|
2017-03-13 04:41:50 +08:00
|
|
|
TARGET = AdvancedDockingSystemDemo
|
2017-03-29 18:18:49 +08:00
|
|
|
DESTDIR = $${ADS_OUT_ROOT}/lib
|
2020-01-11 19:05:44 +08:00
|
|
|
QT += core gui widgets
|
|
|
|
|
|
|
|
win32 {
|
|
|
|
QT += axcontainer
|
|
|
|
}
|
|
|
|
|
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
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
2017-02-27 01:13:56 +08:00
|
|
|
|
2019-01-17 00:49:59 +08:00
|
|
|
adsBuildStatic {
|
|
|
|
DEFINES += ADS_STATIC
|
|
|
|
}
|
2017-02-27 01:13:56 +08:00
|
|
|
|
|
|
|
SOURCES += \
|
2017-03-13 04:41:50 +08:00
|
|
|
main.cpp \
|
2018-12-11 22:19:59 +08:00
|
|
|
MainWindow.cpp
|
2017-02-27 01:13:56 +08:00
|
|
|
|
|
|
|
HEADERS += \
|
2018-12-11 22:19:59 +08:00
|
|
|
MainWindow.h
|
2017-02-27 01:13:56 +08:00
|
|
|
|
|
|
|
FORMS += \
|
2017-03-13 04:41:50 +08:00
|
|
|
mainwindow.ui
|
2019-12-10 21:44:44 +08:00
|
|
|
|
|
|
|
RESOURCES += demo.qrc
|
2019-01-17 00:49:59 +08:00
|
|
|
|
2017-02-27 01:13:56 +08:00
|
|
|
|
2017-03-29 18:18:49 +08:00
|
|
|
LIBS += -L$${ADS_OUT_ROOT}/lib
|
2017-02-27 01:13:56 +08:00
|
|
|
|
|
|
|
# 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
|
|
|
|
}
|
2017-02-27 01:13:56 +08:00
|
|
|
|
2017-03-13 04:41:50 +08:00
|
|
|
INCLUDEPATH += ../src
|
|
|
|
DEPENDPATH += ../src
|