mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 13:15:43 +08:00
51 lines
1020 B
Prolog
51 lines
1020 B
Prolog
ADS_OUT_ROOT = $${OUT_PWD}/../..
|
|
|
|
QT += core gui widgets
|
|
|
|
TARGET = CentralWidgetExample
|
|
DESTDIR = $${ADS_OUT_ROOT}/lib
|
|
TEMPLATE = app
|
|
CONFIG += c++14
|
|
CONFIG += debug_and_release
|
|
adsBuildStatic {
|
|
DEFINES += ADS_STATIC
|
|
}
|
|
|
|
# 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
|
|
|