2023-08-20 17:22:48 +00:00
|
|
|
QT += gui widgets
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
DEFINES += SPLITVIEW_LIBRARY
|
|
|
|
|
|
|
|
CONFIG += c++11
|
|
|
|
|
|
|
|
# You can make your code fail to compile if it uses deprecated APIs.
|
|
|
|
# In order to do so, uncomment the following line.
|
|
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
|
|
|
|
msvc{
|
|
|
|
QMAKE_CFLAGS += /utf-8
|
|
|
|
QMAKE_CXXFLAGS += /utf-8
|
|
|
|
}
|
|
|
|
|
|
|
|
SOURCES += \
|
2023-08-26 12:40:57 +00:00
|
|
|
baseview.cpp \
|
|
|
|
splitpanel.cpp \
|
2023-08-20 17:22:48 +00:00
|
|
|
splitview.cpp
|
|
|
|
|
|
|
|
HEADERS += \
|
2023-08-26 12:40:57 +00:00
|
|
|
baseview.h \
|
|
|
|
splitpanel.h \
|
|
|
|
splitpanel_global.h \
|
2023-08-20 17:22:48 +00:00
|
|
|
splitview.h
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
unix {
|
|
|
|
target.path = /usr/lib
|
|
|
|
}
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|
|
|
|
|
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../libConfig/release/ -llibConfig
|
|
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../libConfig/debug/ -llibConfig
|
|
|
|
else:unix: LIBS += -L$$OUT_PWD/../libConfig/ -llibConfig
|
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD/../libConfig
|
|
|
|
DEPENDPATH += $$PWD/../libConfig
|