2020-08-20 22:36:02 +08:00
|
|
|
ADS_OUT_ROOT = $${OUT_PWD}/../..
|
|
|
|
|
2020-08-24 21:46:51 +08:00
|
|
|
QT += core gui widgets
|
2020-08-20 22:36:02 +08:00
|
|
|
|
|
|
|
TARGET = CentralWidgetExample
|
|
|
|
DESTDIR = $${ADS_OUT_ROOT}/lib
|
|
|
|
TEMPLATE = app
|
|
|
|
CONFIG += c++14
|
|
|
|
CONFIG += debug_and_release
|
2020-08-24 21:46:51 +08:00
|
|
|
adsBuildStatic {
|
|
|
|
DEFINES += ADS_STATIC
|
|
|
|
}
|
2020-08-20 22:36:02 +08:00
|
|
|
|
|
|
|
# The following define makes your compiler emit warnings if you use
|
|
|
|
# any Qt feature that has been marked deprecated (the exact warnings
|
|
|
|
# depend on your compiler). Please consult the documentation of the
|
|
|
|
# deprecated API in order to know how to port your code away from it.
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
main.cpp \
|
|
|
|
mainwindow.cpp
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
mainwindow.h
|
|
|
|
|
|
|
|
FORMS += \
|
|
|
|
mainwindow.ui
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
INCLUDEPATH += ../../src
|
|
|
|
DEPENDPATH += ../../src
|
|
|
|
|