2024-02-18 12:53:57 +00:00
|
|
|
QT += gui
|
2023-09-01 22:34:06 +00:00
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
DEFINES += LIBTEXTEDIT_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
|
|
|
|
|
|
|
|
SOURCES += \
|
2024-02-18 12:53:57 +00:00
|
|
|
libtextedit.cpp \
|
|
|
|
text_modelx.cpp \
|
|
|
|
text_present.cpp
|
2023-09-01 22:34:06 +00:00
|
|
|
|
|
|
|
HEADERS += \
|
2024-02-18 12:53:57 +00:00
|
|
|
libtextedit.h \
|
|
|
|
libtextedit_global.h \
|
|
|
|
text_modelx.h \
|
|
|
|
text_present.h
|
2023-09-01 22:34:06 +00:00
|
|
|
|
|
|
|
msvc {
|
|
|
|
QMAKE_CFLAGS += /utf-8
|
|
|
|
QMAKE_CXXFLAGS += /utf-8
|
|
|
|
}
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
unix {
|
|
|
|
target.path = /usr/lib
|
|
|
|
}
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|
2024-02-14 10:36:12 +00:00
|
|
|
|
|
|
|
DISTFILES += \
|
|
|
|
README.md
|
2024-02-18 12:53:57 +00:00
|
|
|
|
|
|
|
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
|