summaryrefslogtreecommitdiff
path: root/wsjtx.pro
diff options
context:
space:
mode:
Diffstat (limited to 'wsjtx.pro')
-rw-r--r--wsjtx.pro145
1 files changed, 101 insertions, 44 deletions
diff --git a/wsjtx.pro b/wsjtx.pro
index 92270a54..2ae5cb1a 100644
--- a/wsjtx.pro
+++ b/wsjtx.pro
@@ -4,78 +4,135 @@
#
#-------------------------------------------------
-QT += core gui network
+QT += network multimedia
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += thread
#CONFIG += console
TARGET = wsjtx
-DESTDIR = ../wsjtx_install
-VERSION = 1.1
+VERSION = "Not for Release"
TEMPLATE = app
-DEFINES = QT4
+DEFINES = QT5
+QMAKE_CXXFLAGS += -std=c++11
+DEFINES += PROJECT_MANUAL="'\"http://www.physics.princeton.edu/pulsar/K1JT/wsjtx-doc/wsjtx-main.html\"'"
-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
+isEmpty (DESTDIR) {
+DESTDIR = ../wsjtx_install
+}
+
+isEmpty (HAMLIB_DIR) {
+HAMLIB_DIR = ../../hamlib3/mingw32
+}
+
+isEmpty (FFTW3_DIR) {
+FFTW3_DIR = .
}
-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 \
- signalmeter.cpp \
- meterwidget.cpp
win32 {
-SOURCES += killbyname.cpp
+DEFINES += WIN32
+QT += axcontainer
+TYPELIBS = $$system(dumpcpp -getfile {4FE359C5-A58F-459D-BE95-CA559FB4F270})
+}
+
+unix {
+DEFINES += UNIX
}
-HEADERS += mainwindow.h plotter.h soundin.h soundout.h \
- about.h devsetup.h widegraph.h getfile.h \
+#
+# 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 \
+ astro.cpp \
+ Radio.cpp \
+ NetworkServerLookup.cpp \
+ revision_utils.cpp \
+ Transceiver.cpp \
+ TransceiverBase.cpp \
+ TransceiverFactory.cpp \
+ PollingTransceiver.cpp \
+ EmulateSplitTransceiver.cpp \
+ HRDTransceiver.cpp \
+ DXLabSuiteCommanderTransceiver.cpp \
+ HamlibTransceiver.cpp \
+ FrequencyLineEdit.cpp \
+ Bands.cpp \
+ FrequencyList.cpp \
+ StationList.cpp \
+ ForeignKeyDelegate.cpp \
+ FrequencyItemDelegate.cpp \
+ LiveFrequencyValidator.cpp \
+ Configuration.cpp \
+ psk_reporter.cpp \
+ AudioDevice.cpp \
+ Modulator.cpp \
+ Detector.cpp \
+ logqso.cpp \
+ displaytext.cpp \
+ getfile.cpp \
+ soundout.cpp \
+ soundin.cpp \
+ meterwidget.cpp \
+ signalmeter.cpp \
+ WFPalette.cpp \
+ plotter.cpp \
+ widegraph.cpp \
+ about.cpp \
+ mainwindow.cpp \
+ main.cpp \
+ decodedtext.cpp
+
+HEADERS += qt_helpers.hpp \
+ pimpl_h.hpp pimpl_impl.hpp \
+ Radio.hpp NetworkServerLookup.hpp revision_utils.hpp \
+ mainwindow.h plotter.h soundin.h soundout.h astro.h \
+ about.h WFPalette.hpp widegraph.h getfile.h \
commons.h sleep.h displaytext.h logqso.h \
- psk_reporter.h rigclass.h \
+ Bands.hpp FrequencyList.hpp StationList.hpp ForeignKeyDelegate.hpp FrequencyItemDelegate.hpp LiveFrequencyValidator.hpp \
+ FrequencyLineEdit.hpp AudioDevice.hpp Detector.hpp Modulator.hpp psk_reporter.h \
+ Transceiver.hpp TransceiverBase.hpp TransceiverFactory.hpp PollingTransceiver.hpp \
+ EmulateSplitTransceiver.hpp DXLabSuiteCommanderTransceiver.hpp HamlibTransceiver.hpp \
+ Configuration.hpp \
signalmeter.h \
- meterwidget.h
+ meterwidget.h \
+ logbook/logbook.h \
+ logbook/countrydat.h \
+ logbook/countriesworked.h \
+ logbook/adif.h
+
+INCLUDEPATH += qmake_only
-# (Is the following really needed???)
-#DEFINES += __cplusplus
+win32 {
+SOURCES += killbyname.cpp OmniRigTransceiver.cpp
+HEADERS += OmniRigTransceiver.hpp
+}
-FORMS += mainwindow.ui about.ui devsetup.ui widegraph.ui \
- logqso.ui
+FORMS += mainwindow.ui about.ui Configuration.ui widegraph.ui astro.ui \
+ logqso.ui wf_palette_design_dialog.ui
RC_FILE = wsjtx.rc
+RESOURCES = wsjtx.qrc
unix {
-LIBS += ../wsjtx/lib/libjt9.a
+LIBS += -L lib -ljt9
LIBS += -lhamlib
-LIBS += -lportaudio -lgfortran -lfftw3f
+LIBS += -lfftw3f $$system($$F90 -print-file-name=libgfortran.so)
}
win32 {
-INCLUDEPATH += ../../hamlib-1.2.15.3/include
-LIBS += ../../hamlib-1.2.15.3/src/.libs/libhamlib.dll.a
-#LIBS += ../../hamlib-1.2.15.3/lib/gcc/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 += /users/joe/wsjt/QtSupport/palir-02.dll
-LIBS += libwsock32
-LIBS += C:/MinGW/lib/libf95.a
-
+INCLUDEPATH += $${HAMLIB_DIR}/include
+LIBS += -L$${HAMLIB_DIR}/lib -lhamlib
+LIBS += -L./lib -lastro -ljt9
+LIBS += -L$${FFTW3_DIR} -lfftw3f-3
+LIBS += -lws2_32
+LIBS += $$system($$F90 -print-file-name=libgfortran.a)
}