2018-12-20 16:15:02 +08:00
|
|
|
ADS_OUT_ROOT = $${OUT_PWD}/..
|
|
|
|
|
2019-01-17 00:49:59 +08:00
|
|
|
QT += core gui widgets
|
2018-12-20 16:15:02 +08:00
|
|
|
|
|
|
|
TARGET = Example1
|
|
|
|
DESTDIR = $${ADS_OUT_ROOT}/lib
|
|
|
|
TEMPLATE = app
|
2019-01-17 00:49:59 +08:00
|
|
|
CONFIG += c++11
|
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
|
|
|
|
|
|
|
|
#RESOURCES += main.qrc
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
INCLUDEPATH += ../src
|
|
|
|
DEPENDPATH += ../src
|
|
|
|
|