Qt-Advanced-Docking-System/AdvancedDockingSystem/AdvancedDockingSystem.pro
mfreiholz 2513ab1f2b Better compatible with qt4.
* Q_PROPERTY MEMBER wasn't available, use READ and WRITE instead
* Disables namespace with qt4
* Updates default stylesheet to work with qt4 (no namespaces)

Unifies include/forward-declaration style in header files.
README status updates
2016-02-15 12:27:23 +01:00

52 lines
1.0 KiB
Prolog

TARGET = AdvancedDockingSystem
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TEMPLATE = lib
CONFIG += staticlib
INCLUDEPATH += $$PWD/src
INCLUDEPATH += $$PWD/include
greaterThan(QT_MAJOR_VERSION, 4): DEFINES += ADS_NAMESPACE_ENABLED
windows {
# MinGW
*-g++* {
QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -Wall -Wextra -pedantic
}
# MSVC
*-msvc* {
#QMAKE_CXXFLAGS += /Za
#QMAKE_CXXFLAGS += /FS
}
}
SOURCES += \
src/API.cpp \
src/ContainerWidget.cpp \
src/SectionWidget.cpp \
src/SectionContent.cpp \
src/SectionTitleWidget.cpp \
src/SectionContentWidget.cpp \
src/DropOverlay.cpp \
src/FloatingWidget.cpp \
src/Internal.cpp
HEADERS += \
include/ads/API.h \
include/ads/ContainerWidget.h \
include/ads/SectionWidget.h \
include/ads/SectionContent.h \
include/ads/SectionTitleWidget.h \
include/ads/SectionContentWidget.h \
include/ads/DropOverlay.h \
include/ads/FloatingWidget.h \
include/ads/Internal.h
RESOURCES += \
res/ads.qrc