mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 21:25:44 +08:00
58 lines
2.2 KiB
Prolog
58 lines
2.2 KiB
Prolog
include($$(cetoni_repository)/build/qt/qtprojectsettings/common.pri)
|
|
|
|
TARGET = AdvancedDockingSystemDemo
|
|
|
|
QT += core gui
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
greaterThan(QT_MAJOR_VERSION, 4): DEFINES += ADS_NAMESPACE_ENABLED
|
|
|
|
windows {
|
|
# MinGW
|
|
*-g++* {
|
|
QMAKE_CXXFLAGS += -std=c++11
|
|
}
|
|
# MSVC
|
|
*-msvc* {
|
|
}
|
|
}
|
|
|
|
SOURCES += \
|
|
src/main.cpp \
|
|
src/mainwindow.cpp \
|
|
src/icontitlewidget.cpp \
|
|
src/dialogs/SectionContentListModel.cpp \
|
|
src/dialogs/SectionContentListWidget.cpp
|
|
|
|
HEADERS += \
|
|
src/mainwindow.h \
|
|
src/icontitlewidget.h \
|
|
src/dialogs/SectionContentListModel.h \
|
|
src/dialogs/SectionContentListWidget.h
|
|
|
|
FORMS += \
|
|
src/mainwindow.ui \
|
|
src/dialogs/SectionContentListWidget.ui
|
|
|
|
|
|
# Dependency: AdvancedDockingSystem (staticlib)
|
|
#win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../AdvancedDockingSystem/release/ -lAdvancedDockingSystem
|
|
#else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../AdvancedDockingSystem/debug/ -lAdvancedDockingSystem
|
|
#else:unix: LIBS += -L$$OUT_PWD/../AdvancedDockingSystem/ -lAdvancedDockingSystem
|
|
|
|
#INCLUDEPATH += $$PWD/../AdvancedDockingSystem/include
|
|
#DEPENDPATH += $$PWD/../AdvancedDockingSystem/include
|
|
|
|
#win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../AdvancedDockingSystem/release/libAdvancedDockingSystem.a
|
|
#else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../AdvancedDockingSystem/debug/libAdvancedDockingSystem.a
|
|
#else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../AdvancedDockingSystem/release/AdvancedDockingSystem.lib
|
|
#else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../AdvancedDockingSystem/debug/AdvancedDockingSystem.lib
|
|
#else:unix: PRE_TARGETDEPS += $$OUT_PWD/../AdvancedDockingSystem/libAdvancedDockingSystem.a
|
|
|
|
# Dependency: AdvancedDockingSystem (shared)
|
|
win32:CONFIG(release, debug|release): LIBS += -l$$qtLinkLibrary(AdvancedDockingSystem)
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -l$$qtLinkLibrary(AdvancedDockingSystem)
|
|
else:unix: LIBS += -L$$OUT_PWD/../AdvancedDockingSystem/ -lAdvancedDockingSystem
|
|
|
|
INCLUDEPATH += $$PWD/../AdvancedDockingSystem/src
|
|
DEPENDPATH += $$PWD/../AdvancedDockingSystem/src
|