2012-05-22 13:09:48 -04:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2011-07-07T08:39:24
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
2013-07-30 16:36:14 -04:00
|
|
|
QT += core gui 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-07-29 20:51:42 -04:00
|
|
|
#DESTDIR = ../qt4_install
|
2013-04-22 20:52:51 -04:00
|
|
|
DESTDIR = ../wsjtx_install
|
2013-07-08 09:17:22 -04:00
|
|
|
VERSION = 1.1
|
2012-05-22 13:09:48 -04:00
|
|
|
TEMPLATE = app
|
2013-07-26 14:39:24 -04:00
|
|
|
#DEFINES = QT4
|
|
|
|
DEFINES = QT5
|
2013-07-31 07:29:42 -04:00
|
|
|
#DEFINES += QAUDIO_INPUT
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
SOURCES += main.cpp mainwindow.cpp plotter.cpp about.cpp \
|
2013-04-17 10:53:58 -04:00
|
|
|
soundin.cpp soundout.cpp devsetup.cpp widegraph.cpp \
|
|
|
|
getfile.cpp displaytext.cpp getdev.cpp logqso.cpp \
|
2013-07-16 17:16:57 -04:00
|
|
|
psk_reporter.cpp rigclass.cpp \
|
|
|
|
signalmeter.cpp \
|
2013-07-31 07:29:42 -04:00
|
|
|
meterwidget.cpp \
|
|
|
|
logbook/logbook.cpp \
|
|
|
|
logbook/countrydat.cpp \
|
|
|
|
logbook/countriesworked.cpp \
|
|
|
|
logbook/adif.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-07-16 17:16:57 -04:00
|
|
|
psk_reporter.h rigclass.h \
|
|
|
|
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-05-23 13:11:10 -04:00
|
|
|
# (Is the following really needed???)
|
|
|
|
#DEFINES += __cplusplus
|
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 {
|
2012-10-03 10:31:43 -04:00
|
|
|
LIBS += ../wsjtx/lib/libjt9.a
|
2013-04-28 10:47:45 -04:00
|
|
|
LIBS += -lhamlib
|
2013-07-08 09:17:22 -04:00
|
|
|
LIBS += -lportaudio -lgfortran -lfftw3f
|
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
|
2013-07-08 09:17:22 -04:00
|
|
|
#LIBS += ../QtSupport/palir-02.dll
|
|
|
|
LIBS += /users/joe/wsjt/QtSupport/palir-02.dll
|
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
|
|
|
}
|