2018-06-19 19:58:52 +00:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2018-05-26T16:57:32
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
2021-02-03 19:36:35 +00:00
|
|
|
QT += core gui serialport network multimedia
|
2018-06-19 19:58:52 +00:00
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
|
|
|
|
|
|
|
|
TARGET = wfview
|
|
|
|
TEMPLATE = app
|
|
|
|
|
|
|
|
QMAKE_CXXFLAGS += -march=native
|
|
|
|
|
2019-02-04 05:51:30 +00:00
|
|
|
CONFIG(debug, release|debug) {
|
|
|
|
# For Debug builds only:
|
|
|
|
|
|
|
|
} else {
|
|
|
|
# For Release builds only:
|
|
|
|
QMAKE_CXXFLAGS += -s
|
|
|
|
QMAKE_CXXFLAGS += -fvisibility=hidden
|
|
|
|
QMAKE_CXXFLAGS += -fvisibility-inlines-hidden
|
2019-02-04 06:26:47 +00:00
|
|
|
QMAKE_LFLAGS += -O2 -march=native -s
|
2019-02-04 05:51:30 +00:00
|
|
|
}
|
|
|
|
|
2018-06-19 19:58:52 +00:00
|
|
|
# The following define makes your compiler emit warnings if you use
|
|
|
|
# any feature of Qt which as been marked as 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
|
|
|
|
DEFINES += QCUSTOMPLOT_COMPILE_LIBRARY
|
|
|
|
|
2021-02-03 19:36:35 +00:00
|
|
|
linux:DEFINES += HOST=\\\"`hostname`\\\" UNAME=\\\"`whoami`\\\"
|
2018-11-17 06:19:44 +00:00
|
|
|
|
2021-02-03 19:36:35 +00:00
|
|
|
linux:DEFINES += GITSHORT="\\\"$(shell git -C $$PWD rev-parse --short HEAD)\\\""
|
|
|
|
|
|
|
|
win32:INCLUDEPATH += c:/qcustomplot
|
|
|
|
win32:DEFINES += HOST=1
|
|
|
|
win32:DEFINES += UNAME=1
|
|
|
|
win32:DEFINES += GITSHORT=1
|
2018-11-17 06:19:44 +00:00
|
|
|
|
|
|
|
|
2020-03-13 03:06:33 +00:00
|
|
|
RESOURCES += qdarkstyle/style.qrc \
|
|
|
|
resources/resources.qrc
|
|
|
|
|
|
|
|
# Why doesn't this seem to do anything?
|
2020-03-13 03:13:29 +00:00
|
|
|
DISTFILES += resources/wfview.png \
|
|
|
|
resources/install.sh
|
2020-03-13 03:06:33 +00:00
|
|
|
DISTFILES += resources/wfview.desktop
|
|
|
|
|
2021-02-03 19:36:35 +00:00
|
|
|
linux:QMAKE_POST_LINK += cp ../wfview/resources/wfview.png .;
|
|
|
|
linux:QMAKE_POST_LINK += cp ../wfview/resources/wfview.desktop .;
|
|
|
|
linux:QMAKE_POST_LINK += cp ../wfview/resources/install.sh .;
|
|
|
|
linux:QMAKE_POST_LINK += cp -r ../wfview/qdarkstyle .;
|
|
|
|
linux:QMAKE_POST_LINK += chmod 755 install.sh;
|
|
|
|
linux:QMAKE_POST_LINK += echo; echo; echo "Run install.sh as root from the build directory to install."; echo; echo;
|
2020-03-13 03:06:33 +00:00
|
|
|
|
2018-06-22 23:31:52 +00:00
|
|
|
|
2018-11-29 22:32:59 +00:00
|
|
|
# Do not do this, it will hang on start:
|
|
|
|
# CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
|
|
|
|
|
2018-11-07 23:54:03 +00:00
|
|
|
CONFIG(debug, release|debug) {
|
|
|
|
win32:QCPLIB = qcustomplotd1
|
|
|
|
else: QCPLIB = qcustomplotd
|
|
|
|
} else {
|
|
|
|
win32:QCPLIB = qcustomplot1
|
|
|
|
else: QCPLIB = qcustomplot
|
|
|
|
}
|
2018-06-19 19:58:52 +00:00
|
|
|
|
|
|
|
QCPLIB = qcustomplot
|
|
|
|
|
|
|
|
LIBS += -L./ -l$$QCPLIB
|
|
|
|
|
|
|
|
|
|
|
|
SOURCES += main.cpp\
|
|
|
|
wfmain.cpp \
|
|
|
|
commhandler.cpp \
|
2018-11-07 23:54:03 +00:00
|
|
|
rigcommander.cpp \
|
2018-11-24 08:10:05 +00:00
|
|
|
freqmemory.cpp \
|
2021-02-03 19:36:35 +00:00
|
|
|
rigidentities.cpp \
|
2021-02-07 20:07:26 +00:00
|
|
|
udphandler.cpp \
|
2021-02-08 08:31:48 +00:00
|
|
|
logcategories.cpp \
|
2021-02-11 20:22:40 +00:00
|
|
|
audiohandler.cpp \
|
2021-02-13 01:21:32 +00:00
|
|
|
calibrationwindow.cpp \
|
2021-02-14 18:32:58 +00:00
|
|
|
satellitesetup.cpp \
|
2021-02-16 16:16:46 +00:00
|
|
|
udpserversetup.cpp \
|
2021-02-24 08:18:19 +00:00
|
|
|
udpserver.cpp \
|
2021-03-01 16:26:59 +00:00
|
|
|
meter.cpp \
|
2021-03-04 20:19:05 +00:00
|
|
|
qledlabel.cpp \
|
|
|
|
pttyhandler.cpp
|
2018-06-19 19:58:52 +00:00
|
|
|
|
|
|
|
HEADERS += wfmain.h \
|
|
|
|
commhandler.h \
|
2018-11-07 23:54:03 +00:00
|
|
|
rigcommander.h \
|
2018-11-24 08:10:05 +00:00
|
|
|
freqmemory.h \
|
2021-02-03 19:36:35 +00:00
|
|
|
rigidentities.h \
|
2021-02-07 20:07:26 +00:00
|
|
|
udphandler.h \
|
2021-02-08 08:31:48 +00:00
|
|
|
logcategories.h \
|
2021-02-11 20:22:40 +00:00
|
|
|
audiohandler.h \
|
2021-02-13 01:21:32 +00:00
|
|
|
calibrationwindow.h \
|
2021-02-14 18:32:58 +00:00
|
|
|
satellitesetup.h \
|
2021-02-16 16:16:46 +00:00
|
|
|
udpserversetup.h \
|
2021-02-20 18:29:23 +00:00
|
|
|
udpserver.h \
|
2021-02-24 08:18:19 +00:00
|
|
|
packettypes.h \
|
2021-03-01 16:26:59 +00:00
|
|
|
meter.h \
|
2021-03-04 20:19:05 +00:00
|
|
|
qledlabel.h \
|
|
|
|
pttyhandler.h
|
2018-06-19 19:58:52 +00:00
|
|
|
|
|
|
|
|
2021-02-11 05:22:38 +00:00
|
|
|
FORMS += wfmain.ui \
|
2021-02-13 01:21:32 +00:00
|
|
|
calibrationwindow.ui \
|
2021-02-14 18:32:58 +00:00
|
|
|
satellitesetup.ui \
|
|
|
|
udpserversetup.ui
|
2020-03-13 03:06:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
|