mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-04 16:31:17 -05:00
c4e6f89b0b
a Qt5-compatible "thermo" widget. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3310 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
84 lines
2.0 KiB
Prolog
84 lines
2.0 KiB
Prolog
#-------------------------------------------------
|
|
#
|
|
# Project created by QtCreator 2011-07-07T08:39:24
|
|
#
|
|
#-------------------------------------------------
|
|
|
|
QT += core gui network
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
CONFIG += qwt thread
|
|
#CONFIG += console
|
|
|
|
TARGET = wsjtx
|
|
DESTDIR = ../wsjtx_install
|
|
#DESTDIR = ../qt5_install
|
|
VERSION = 0.99
|
|
TEMPLATE = app
|
|
DEFINES = QT4
|
|
|
|
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 \
|
|
soundin.cpp soundout.cpp devsetup.cpp widegraph.cpp \
|
|
getfile.cpp displaytext.cpp getdev.cpp logqso.cpp \
|
|
psk_reporter.cpp rigclass.cpp
|
|
|
|
win32 {
|
|
SOURCES += killbyname.cpp
|
|
}
|
|
|
|
HEADERS += mainwindow.h plotter.h soundin.h soundout.h \
|
|
about.h devsetup.h widegraph.h getfile.h \
|
|
commons.h sleep.h displaytext.h logqso.h \
|
|
psk_reporter.h rigclass.h
|
|
|
|
# (Is the following really needed???)
|
|
#DEFINES += __cplusplus
|
|
|
|
FORMS += mainwindow.ui about.ui devsetup.ui widegraph.ui \
|
|
logqso.ui
|
|
|
|
RC_FILE = wsjtx.rc
|
|
|
|
unix {
|
|
INCLUDEPATH += $$quote(/usr/include/qwt-qt4)
|
|
LIBS += ../wsjtx/lib/libjt9.a
|
|
LIBS += -lhamlib
|
|
LIBS += -lportaudio -lgfortran -lfftw3f -lqwt-qt4
|
|
}
|
|
|
|
win32 {
|
|
INCLUDEPATH += c:/qwt-6.0.1/include
|
|
INCLUDEPATH += ../../hamlib-1.2.15.3/include
|
|
LIBS += ../../hamlib-1.2.15.3/src/.libs/libhamlib.dll.a
|
|
LIBS += ../wsjtx/lib/libjt9.a
|
|
LIBS += ../wsjtx/libfftw3f_win.a
|
|
LIBS += ../wsjtx/libpskreporter.a
|
|
LIBS += ../wsjtx/libHRDInterface001.a
|
|
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
|
|
}
|
|
}
|