2023-03-05 14:32:20 +00:00
|
|
|
QT -= gui
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
DEFINES += GENERICCONSOLE_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 += \
|
|
|
|
commandsdispatcher.cpp
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
GenericConsole_global.h \
|
|
|
|
commandsdispatcher.h
|
|
|
|
|
|
|
|
TRANSLATIONS += \
|
2023-08-27 14:09:46 +00:00
|
|
|
libGenericConsole_zh_CN.ts
|
2023-03-05 14:32:20 +00:00
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
unix {
|
|
|
|
target.path = /usr/lib
|
|
|
|
}
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|