mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 13:15:43 +08:00
36bcbded54
fixed setting of DockAreaTabBar index to prevent showing of tab 0 when inserting a dock widget into an area with no current index tab
40 lines
653 B
Prolog
40 lines
653 B
Prolog
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
|
|
}
|
|
|
|
INCLUDEPATH += ../../src
|
|
DEPENDPATH += ../../src
|
|
|