2024-11-25 11:44:21 +03:00
|
|
|
QT += core gui
|
2024-12-10 17:19:23 +03:00
|
|
|
QT += widgets serialport
|
|
|
|
QT += serialbus widgets
|
|
|
|
|
|
|
|
requires(qtConfig(combobox))
|
|
|
|
QT += serialport
|
|
|
|
qtConfig(modbus-serialport): QT += serialport
|
2024-11-25 11:44:21 +03:00
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
|
|
|
|
CONFIG += c++11
|
|
|
|
|
|
|
|
# The following define makes your compiler emit warnings if you use
|
|
|
|
# any Qt feature that has been marked deprecated (the exact warnings
|
|
|
|
# depend on your compiler). Please consult the documentation of the
|
|
|
|
# deprecated API in order to know how to port your code away from it.
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
|
2025-03-12 11:05:14 +03:00
|
|
|
TEMPLATE = lib
|
|
|
|
DEFINES += M3KTE_LIBRARY
|
|
|
|
|
2024-11-25 11:44:21 +03:00
|
|
|
# You can also make your code fail to compile if it uses deprecated APIs.
|
|
|
|
# In order to do so, uncomment the following line.
|
|
|
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
|
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
|
|
|
|
SOURCES += \
|
2024-12-10 17:19:23 +03:00
|
|
|
devicesettingsdialog.cpp \
|
2025-03-12 11:05:14 +03:00
|
|
|
lineringer.cpp \
|
2024-11-25 11:44:21 +03:00
|
|
|
main.cpp \
|
2024-12-10 17:19:23 +03:00
|
|
|
m3kte.cpp \
|
2024-12-18 14:58:33 +03:00
|
|
|
multiplesettings.cpp \
|
2025-01-23 17:05:06 +03:00
|
|
|
scanboard.cpp \
|
2024-12-10 17:19:23 +03:00
|
|
|
settingsdialog.cpp \
|
|
|
|
writeregistermodel.cpp
|
2024-11-25 11:44:21 +03:00
|
|
|
|
|
|
|
HEADERS += \
|
2024-12-10 17:19:23 +03:00
|
|
|
devicesettingsdialog.h \
|
2025-03-12 11:05:14 +03:00
|
|
|
lineringer.h \
|
2024-12-10 17:19:23 +03:00
|
|
|
m3kte.h \
|
2024-12-18 14:58:33 +03:00
|
|
|
multiplesettings.h \
|
2025-01-23 17:05:06 +03:00
|
|
|
scanboard.h \
|
2024-12-10 17:19:23 +03:00
|
|
|
settingsdialog.h \
|
|
|
|
writeregistermodel.h
|
2024-11-25 11:44:21 +03:00
|
|
|
|
|
|
|
FORMS += \
|
2024-12-10 17:19:23 +03:00
|
|
|
devicesettingsdialog.ui \
|
2025-03-12 11:05:14 +03:00
|
|
|
lineringer.ui \
|
2024-12-10 17:19:23 +03:00
|
|
|
m3kte.ui \
|
2024-12-18 14:58:33 +03:00
|
|
|
multiplesettings.ui \
|
2025-01-23 17:05:06 +03:00
|
|
|
scanboard.ui \
|
2024-12-10 17:19:23 +03:00
|
|
|
settingsdialog.ui
|
2024-11-25 11:44:21 +03:00
|
|
|
|
|
|
|
# Default rules for deployment.
|
2025-03-12 11:05:14 +03:00
|
|
|
#qnx: target.path = /tmp/$${TARGET}/bin
|
|
|
|
#else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
|
|
#!isEmpty(target.path): INSTALLS += target
|
|
|
|
|
|
|
|
unix {
|
|
|
|
target.path = /usr/lib
|
|
|
|
}
|
2024-11-25 11:44:21 +03:00
|
|
|
!isEmpty(target.path): INSTALLS += target
|