Fix qmake file so that qmake builds still operate for those who prefer

QtCreator as a full time build environment.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3970 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2014-03-31 03:11:07 +00:00
parent 7d68ae47dd
commit 3f4bde9228
2 changed files with 22 additions and 7 deletions

4
qmake_only/svnversion.h Normal file
View File

@ -0,0 +1,4 @@
/* This is a dummy file required to make the qmake build compatible
with the CMake build. */
#define WSJTX_STRINGIZE(X)

View File

@ -43,6 +43,7 @@ SOURCES += \
logbook/countriesworked.cpp \ logbook/countriesworked.cpp \
logbook/logbook.cpp \ logbook/logbook.cpp \
astro.cpp \ astro.cpp \
Radio.cpp \
NetworkServerLookup.cpp \ NetworkServerLookup.cpp \
Transceiver.cpp \ Transceiver.cpp \
TransceiverBase.cpp \ TransceiverBase.cpp \
@ -52,9 +53,16 @@ SOURCES += \
HRDTransceiver.cpp \ HRDTransceiver.cpp \
DXLabSuiteCommanderTransceiver.cpp \ DXLabSuiteCommanderTransceiver.cpp \
HamlibTransceiver.cpp \ HamlibTransceiver.cpp \
BandData.cpp \ FrequencyLineEdit.cpp \
Bands.cpp \
FrequencyList.cpp \
StationList.cpp \
ForeignKeyDelegate.cpp \
FrequencyItemDelegate.cpp \
LiveFrequencyValidator.cpp \
Configuration.cpp \ Configuration.cpp \
psk_reporter.cpp \ psk_reporter.cpp \
AudioDevice.cpp \
Modulator.cpp \ Modulator.cpp \
Detector.cpp \ Detector.cpp \
logqso.cpp \ logqso.cpp \
@ -64,6 +72,7 @@ SOURCES += \
soundin.cpp \ soundin.cpp \
meterwidget.cpp \ meterwidget.cpp \
signalmeter.cpp \ signalmeter.cpp \
WFPalette.cpp \
plotter.cpp \ plotter.cpp \
widegraph.cpp \ widegraph.cpp \
about.cpp \ about.cpp \
@ -73,14 +82,14 @@ SOURCES += \
HEADERS += qt_helpers.hpp \ HEADERS += qt_helpers.hpp \
pimpl_h.hpp pimpl_impl.hpp \ pimpl_h.hpp pimpl_impl.hpp \
NetworkServerLookup.hpp \ Radio.hpp NetworkServerLookup.hpp \
mainwindow.h plotter.h soundin.h soundout.h astro.h \ mainwindow.h plotter.h soundin.h soundout.h astro.h \
about.h widegraph.h getfile.h \ about.h WFPalette.hpp widegraph.h getfile.h \
commons.h sleep.h displaytext.h logqso.h \ commons.h sleep.h displaytext.h logqso.h \
AudioDevice.hpp Detector.hpp Modulator.hpp psk_reporter.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 \ Transceiver.hpp TransceiverBase.hpp TransceiverFactory.hpp PollingTransceiver.hpp \
EmulateSplitTransceiver.hpp DXLabSuiteCommanderTransceiver.hpp HamlibTransceiver.hpp \ EmulateSplitTransceiver.hpp DXLabSuiteCommanderTransceiver.hpp HamlibTransceiver.hpp \
BandData.hpp \
Configuration.hpp \ Configuration.hpp \
signalmeter.h \ signalmeter.h \
meterwidget.h \ meterwidget.h \
@ -89,13 +98,15 @@ HEADERS += qt_helpers.hpp \
logbook/countriesworked.h \ logbook/countriesworked.h \
logbook/adif.h logbook/adif.h
INCLUDEPATH += qmake_only
win32 { win32 {
SOURCES += killbyname.cpp OmniRigTransceiver.cpp SOURCES += killbyname.cpp OmniRigTransceiver.cpp
HEADERS += OmniRigTransceiver.hpp HEADERS += OmniRigTransceiver.hpp
} }
FORMS += mainwindow.ui about.ui Configuration.ui widegraph.ui astro.ui \ FORMS += mainwindow.ui about.ui Configuration.ui widegraph.ui astro.ui \
logqso.ui logqso.ui wf_palette_design_dialog.ui
RC_FILE = wsjtx.rc RC_FILE = wsjtx.rc
@ -109,7 +120,7 @@ win32 {
INCLUDEPATH += ${HAMLIB_DIR}/include INCLUDEPATH += ${HAMLIB_DIR}/include
LIBS += -L${HAMLIB_DIR}/lib -lhamlib LIBS += -L${HAMLIB_DIR}/lib -lhamlib
#LIBS += -L${HAMLIB_DIR}/lib -lhamlib #LIBS += -L${HAMLIB_DIR}/lib -lhamlib
LIBS += -L./lib -ljt9 LIBS += -L./lib -lastro -ljt9
LIBS += -L. -lfftw3f_win LIBS += -L. -lfftw3f_win
LIBS += -lwsock32 LIBS += -lwsock32
LIBS += $$system($$F90 -print-file-name=libgfortran.a) LIBS += $$system($$F90 -print-file-name=libgfortran.a)