2012-05-22 13:09:48 -04:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2011-07-07T08:39:24
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
2013-08-05 09:57:55 -04:00
|
|
|
QT += network multimedia
|
2013-05-23 15:35:37 -04:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
2013-07-08 09:17:22 -04:00
|
|
|
CONFIG += thread
|
2012-11-21 12:42:53 -05:00
|
|
|
#CONFIG += console
|
2012-05-22 13:09:48 -04:00
|
|
|
|
2012-09-24 11:20:48 -04:00
|
|
|
TARGET = wsjtx
|
2013-08-02 15:52:25 -04:00
|
|
|
#DESTDIR = ../qt4_install
|
|
|
|
DESTDIR = ../wsjtx_install
|
2013-08-05 11:22:59 -04:00
|
|
|
VERSION = 1.2
|
2012-05-22 13:09:48 -04:00
|
|
|
TEMPLATE = app
|
2013-08-02 15:52:25 -04:00
|
|
|
DEFINES = QT5
|
2012-05-22 13:09:48 -04:00
|
|
|
|
|
|
|
win32 {
|
2013-05-23 16:21:47 -04:00
|
|
|
DEFINES += WIN32
|
2012-05-22 13:09:48 -04:00
|
|
|
F90 = g95
|
|
|
|
g95.output = ${QMAKE_FILE_BASE}.o
|
|
|
|
g95.commands = $$F90 -c -O2 -o ${QMAKE_FILE_OUT} ${QMAKE_FILE_NAME}
|
|
|
|
g95.input = F90_SOURCES
|
|
|
|
QMAKE_EXTRA_COMPILERS += g95
|
|
|
|
}
|
|
|
|
|
|
|
|
unix {
|
2013-05-23 16:21:47 -04:00
|
|
|
DEFINES += UNIX
|
2012-05-22 13:09:48 -04:00
|
|
|
F90 = gfortran
|
|
|
|
gfortran.output = ${QMAKE_FILE_BASE}.o
|
|
|
|
gfortran.commands = $$F90 -c -O2 -o ${QMAKE_FILE_OUT} ${QMAKE_FILE_NAME}
|
|
|
|
gfortran.input = F90_SOURCES
|
|
|
|
QMAKE_EXTRA_COMPILERS += gfortran
|
|
|
|
}
|
|
|
|
|
2013-08-05 09:57:55 -04:00
|
|
|
#
|
|
|
|
# Order matters here as the link is in this order so referrers need to be after referred
|
|
|
|
#
|
|
|
|
SOURCES += \
|
|
|
|
logbook/adif.cpp \
|
|
|
|
logbook/countrydat.cpp \
|
|
|
|
logbook/countriesworked.cpp \
|
|
|
|
logbook/logbook.cpp \
|
|
|
|
rigclass.cpp \
|
|
|
|
psk_reporter.cpp \
|
|
|
|
Modulator.cpp \
|
|
|
|
Detector.cpp \
|
|
|
|
logqso.cpp \
|
|
|
|
displaytext.cpp \
|
|
|
|
getfile.cpp \
|
|
|
|
soundout.cpp \
|
|
|
|
soundin.cpp \
|
|
|
|
meterwidget.cpp \
|
|
|
|
signalmeter.cpp \
|
|
|
|
plotter.cpp \
|
|
|
|
widegraph.cpp \
|
|
|
|
devsetup.cpp \
|
|
|
|
about.cpp \
|
|
|
|
mainwindow.cpp \
|
|
|
|
main.cpp
|
2012-05-22 13:09:48 -04:00
|
|
|
|
|
|
|
win32 {
|
2012-11-21 12:42:53 -05:00
|
|
|
SOURCES += killbyname.cpp
|
2012-05-22 13:09:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
HEADERS += mainwindow.h plotter.h soundin.h soundout.h \
|
2012-07-02 11:33:33 -04:00
|
|
|
about.h devsetup.h widegraph.h getfile.h \
|
2013-04-17 10:53:58 -04:00
|
|
|
commons.h sleep.h displaytext.h logqso.h \
|
2013-08-10 11:29:55 -04:00
|
|
|
AudioDevice.hpp Detector.hpp Modulator.hpp psk_reporter.h rigclass.h \
|
2013-07-16 17:16:57 -04:00
|
|
|
signalmeter.h \
|
2013-07-31 07:29:42 -04:00
|
|
|
meterwidget.h \
|
|
|
|
logbook/logbook.h \
|
|
|
|
logbook/countrydat.h \
|
|
|
|
logbook/countriesworked.h \
|
|
|
|
logbook/adif.h
|
2012-05-22 13:09:48 -04:00
|
|
|
|
2013-03-21 13:22:32 -04:00
|
|
|
FORMS += mainwindow.ui about.ui devsetup.ui widegraph.ui \
|
|
|
|
logqso.ui
|
2012-05-22 13:09:48 -04:00
|
|
|
|
2012-09-24 11:20:48 -04:00
|
|
|
RC_FILE = wsjtx.rc
|
2012-05-22 13:09:48 -04:00
|
|
|
|
|
|
|
unix {
|
2013-08-07 19:09:13 -04:00
|
|
|
LIBS += -L lib -ljt9
|
2013-04-28 10:47:45 -04:00
|
|
|
LIBS += -lhamlib
|
2013-08-07 19:09:13 -04:00
|
|
|
LIBS += -lfftw3f `$$F90 -print-file-name=libgfortran.so`
|
2012-05-22 13:09:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
win32 {
|
2013-04-22 20:52:51 -04:00
|
|
|
INCLUDEPATH += ../../hamlib-1.2.15.3/include
|
|
|
|
LIBS += ../../hamlib-1.2.15.3/src/.libs/libhamlib.dll.a
|
2013-07-08 09:17:22 -04:00
|
|
|
#LIBS += ../../hamlib-1.2.15.3/lib/gcc/libhamlib.dll.a
|
2012-10-03 10:31:43 -04:00
|
|
|
LIBS += ../wsjtx/lib/libjt9.a
|
2012-09-24 11:20:48 -04:00
|
|
|
LIBS += ../wsjtx/libfftw3f_win.a
|
2013-03-09 21:45:12 -05:00
|
|
|
LIBS += ../wsjtx/libpskreporter.a
|
2013-05-21 15:49:41 -04:00
|
|
|
LIBS += ../wsjtx/libHRDInterface001.a
|
2012-05-22 13:09:48 -04:00
|
|
|
LIBS += libwsock32
|
|
|
|
LIBS += C:/MinGW/lib/libf95.a
|
2013-07-08 09:17:22 -04:00
|
|
|
|
2012-05-22 13:09:48 -04:00
|
|
|
}
|