2012-05-22 13:09:48 -04:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2011-07-07T08:39:24
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
|
|
|
QT += core gui network
|
|
|
|
CONFIG += qwt 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-04-22 20:52:51 -04:00
|
|
|
DESTDIR = ../wsjtx_install
|
2013-04-27 09:11:29 -04:00
|
|
|
VERSION = 0.95
|
2012-05-22 13:09:48 -04:00
|
|
|
TEMPLATE = app
|
|
|
|
|
|
|
|
win32 {
|
|
|
|
DEFINES = WIN32
|
|
|
|
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 {
|
|
|
|
DEFINES = UNIX
|
|
|
|
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-04-22 20:52:51 -04:00
|
|
|
psk_reporter.cpp rigclass.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 \
|
|
|
|
psk_reporter.h
|
2012-05-22 13:09:48 -04:00
|
|
|
|
|
|
|
DEFINES += __cplusplus
|
|
|
|
|
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 {
|
|
|
|
INCLUDEPATH += $$quote(/usr/include/qwt-qt4)
|
2012-10-03 10:31:43 -04:00
|
|
|
LIBS += ../wsjtx/lib/libjt9.a
|
2013-04-23 09:55:08 -04:00
|
|
|
LIBS += -lhamlib++ -lhamlib
|
2013-04-16 15:22:53 -04:00
|
|
|
LIBS += -lportaudio -lgfortran -lfftw3f -lqwt-qt4
|
2012-05-22 13:09:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
win32 {
|
|
|
|
INCLUDEPATH += c:/qwt-6.0.1/include
|
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
|
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
|
2012-05-22 13:09:48 -04:00
|
|
|
LIBS += ../QtSupport/palir-02.dll
|
|
|
|
LIBS += libwsock32
|
|
|
|
LIBS += C:/MinGW/lib/libf95.a
|
|
|
|
CONFIG(release) {
|
|
|
|
LIBS += C:/qwt-6.0.1/lib/qwt.dll
|
|
|
|
} else {
|
|
|
|
LIBS += C:/qwt-6.0.1/lib/qwtd.dll
|
|
|
|
}
|
|
|
|
LIBS += -lusb
|
|
|
|
}
|