2015-05-30 12:00:32 +00:00
|
|
|
|
2015-11-30 09:25:47 +00:00
|
|
|
contains(QT_MAJOR_VERSION, 4) {
|
|
|
|
|
|
|
|
LIST = 0 1 2 3 4 5 6
|
2015-11-30 15:26:41 +00:00
|
|
|
for(a, LIST):contains(QT_MINOR_VERSION, $$a):error("This project needs Qt4 version >= 4.7.1 or Qt5 version >= 5.5.1")
|
2015-11-30 09:25:47 +00:00
|
|
|
|
|
|
|
contains(QT_MINOR_VERSION, 7) {
|
|
|
|
LIST = 0
|
2015-11-30 15:26:41 +00:00
|
|
|
for(a, LIST):contains(QT_PATCH_VERSION, $$a):error("This project needs Qt4 version >= 4.7.1 or Qt5 version >= 5.5.1")
|
2015-11-30 09:25:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
contains(QT_MAJOR_VERSION, 5) {
|
|
|
|
|
|
|
|
LIST = 0 1 2 3 4
|
2015-11-30 15:26:41 +00:00
|
|
|
for(a, LIST):contains(QT_MINOR_VERSION, $$a):error("This project needs Qt4 version >= 4.7.1 or Qt5 version >= 5.5.1")
|
2015-11-30 09:25:47 +00:00
|
|
|
|
|
|
|
contains(QT_MINOR_VERSION, 5) {
|
|
|
|
LIST = 0
|
2015-11-30 15:26:41 +00:00
|
|
|
for(a, LIST):contains(QT_PATCH_VERSION, $$a):error("This project needs Qt4 version >= 4.7.1 or Qt5 version >= 5.5.1")
|
2015-11-30 09:25:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-05-30 12:00:32 +00:00
|
|
|
|
|
|
|
TEMPLATE = app
|
|
|
|
TARGET = dsremote
|
|
|
|
DEPENDPATH += .
|
|
|
|
INCLUDEPATH += .
|
|
|
|
CONFIG += qt
|
|
|
|
CONFIG += warn_on
|
|
|
|
CONFIG += release
|
|
|
|
CONFIG += static
|
|
|
|
CONFIG += largefile
|
|
|
|
|
|
|
|
QT += widgets
|
2015-06-27 14:42:01 +00:00
|
|
|
QT += network
|
2015-05-30 12:00:32 +00:00
|
|
|
|
|
|
|
QMAKE_CXXFLAGS += -Wextra -Wshadow -Wformat-nonliteral -Wformat-security -Wtype-limits -Wfatal-errors
|
|
|
|
|
|
|
|
OBJECTS_DIR = ./objects
|
|
|
|
MOC_DIR = ./moc
|
|
|
|
|
|
|
|
HEADERS += global.h
|
|
|
|
HEADERS += mainwindow.h
|
|
|
|
HEADERS += about_dialog.h
|
|
|
|
HEADERS += utils.h
|
2015-06-27 09:04:41 +00:00
|
|
|
HEADERS += connection.h
|
2015-05-30 12:00:32 +00:00
|
|
|
HEADERS += tmc_dev.h
|
2015-06-28 09:30:25 +00:00
|
|
|
HEADERS += tmc_lan.h
|
2015-05-30 12:00:32 +00:00
|
|
|
HEADERS += tled.h
|
|
|
|
HEADERS += edflib.h
|
|
|
|
HEADERS += signalcurve.h
|
2015-06-02 14:20:56 +00:00
|
|
|
HEADERS += settings_dialog.h
|
2015-08-29 15:13:34 +00:00
|
|
|
HEADERS += screen_thread.h
|
2015-05-30 12:00:32 +00:00
|
|
|
|
|
|
|
SOURCES += main.cpp
|
|
|
|
SOURCES += mainwindow.cpp
|
2015-06-04 15:24:31 +00:00
|
|
|
SOURCES += mainwindow_constr.cpp
|
2015-05-30 12:00:32 +00:00
|
|
|
SOURCES += timer_handlers.cpp
|
|
|
|
SOURCES += save_data.cpp
|
|
|
|
SOURCES += interface.cpp
|
|
|
|
SOURCES += about_dialog.cpp
|
|
|
|
SOURCES += utils.c
|
2015-06-27 09:04:41 +00:00
|
|
|
SOURCES += connection.cpp
|
2015-05-30 12:00:32 +00:00
|
|
|
SOURCES += tmc_dev.c
|
2015-09-01 17:08:30 +00:00
|
|
|
SOURCES += tmc_lan.c
|
2015-05-30 12:00:32 +00:00
|
|
|
SOURCES += tled.cpp
|
|
|
|
SOURCES += edflib.c
|
|
|
|
SOURCES += signalcurve.cpp
|
2015-06-02 14:20:56 +00:00
|
|
|
SOURCES += settings_dialog.cpp
|
2015-08-29 15:13:34 +00:00
|
|
|
SOURCES += screen_thread.cpp
|
2015-05-30 12:00:32 +00:00
|
|
|
|
|
|
|
RESOURCES = images.qrc
|
|
|
|
|
2015-05-30 12:40:20 +00:00
|
|
|
target.path = /usr/bin
|
|
|
|
target.files = dsremote
|
|
|
|
INSTALLS += target
|
|
|
|
|
|
|
|
icon_a.path = /usr/share/icons
|
|
|
|
icon_a.files = images/r.png
|
|
|
|
INSTALLS += icon_a
|
|
|
|
|
|
|
|
icon_b.path += /usr/share/pixmaps
|
|
|
|
icon_b.files = images/r.png
|
|
|
|
INSTALLS += icon_b
|
|
|
|
|
|
|
|
icon_c.path += /usr/share/icons/hicolor/48x48/apps
|
|
|
|
icon_c.files = images/r.png
|
|
|
|
INSTALLS += icon_c
|
|
|
|
|
|
|
|
icon_d.path += /usr/share/icons/hicolor/48x48/mimetypes
|
|
|
|
icon_d.files = images/r.png
|
|
|
|
INSTALLS += icon_d
|
|
|
|
|
|
|
|
desktop_link.path += /usr/share/applications
|
|
|
|
desktop_link.files += install/dsremote.desktop
|
|
|
|
INSTALLS += desktop_link
|
|
|
|
|
2015-05-30 12:00:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
|