2017-10-22 13:31:11 -04:00
|
|
|
#--------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Pro file for Android and Windows builds with Qt Creator
|
|
|
|
#
|
|
|
|
#--------------------------------------------------------
|
|
|
|
|
|
|
|
QT += core gui multimedia opengl
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
2017-10-22 15:02:19 -04:00
|
|
|
TARGET = sdrgui
|
2017-10-22 13:31:11 -04:00
|
|
|
INCLUDEPATH += $$PWD
|
2018-03-10 14:32:46 -05:00
|
|
|
INCLUDEPATH += ../exports
|
2017-10-22 15:02:19 -04:00
|
|
|
INCLUDEPATH += ../sdrbase
|
2017-11-11 21:00:54 -05:00
|
|
|
INCLUDEPATH += ../logging
|
2017-11-17 12:40:18 -05:00
|
|
|
INCLUDEPATH += ../httpserver
|
|
|
|
INCLUDEPATH += ../swagger/sdrangel/code/qt5/client
|
2017-10-22 13:31:11 -04:00
|
|
|
|
|
|
|
DEFINES += USE_KISSFFT=1
|
|
|
|
win32 {
|
|
|
|
DEFINES += __WINDOWS__=1
|
|
|
|
}
|
|
|
|
DEFINES += USE_SSE2=1
|
|
|
|
QMAKE_CXXFLAGS += -msse2
|
|
|
|
DEFINES += USE_SSE4_1=1
|
|
|
|
QMAKE_CXXFLAGS += -msse4.1
|
|
|
|
|
|
|
|
QMAKE_CXXFLAGS += -std=c++11
|
|
|
|
|
|
|
|
CONFIG(Release):build_subdir = release
|
|
|
|
CONFIG(Debug):build_subdir = debug
|
|
|
|
|
2018-11-12 12:36:27 -05:00
|
|
|
CONFIG(MSVC):DEFINES += sdrgui_EXPORTS
|
|
|
|
|
2017-10-22 13:31:11 -04:00
|
|
|
CONFIG(ANDROID):INCLUDEPATH += /opt/softs/boost_1_60_0
|
|
|
|
|
2018-07-11 12:05:05 -04:00
|
|
|
CONFIG(MINGW32):INCLUDEPATH += "C:\softs\boost_1_66_0"
|
|
|
|
CONFIG(MINGW64):INCLUDEPATH += "C:\softs\boost_1_66_0"
|
2018-11-12 12:36:27 -05:00
|
|
|
CONFIG(MSVC):INCLUDEPATH += "C:\softs\boost_1_66_0"
|
2017-10-22 13:31:11 -04:00
|
|
|
|
2018-12-27 03:48:30 -05:00
|
|
|
CONFIG(macx):INCLUDEPATH += "../../../boost_1_69_0"
|
2017-10-22 13:31:11 -04:00
|
|
|
|
|
|
|
SOURCES += mainwindow.cpp\
|
2017-10-24 12:29:18 -04:00
|
|
|
device/deviceuiset.cpp\
|
2017-10-22 13:31:11 -04:00
|
|
|
dsp/spectrumscopecombovis.cpp\
|
|
|
|
dsp/scopevis.cpp\
|
2018-03-15 12:37:36 -04:00
|
|
|
dsp/scopevisxy.cpp\
|
2017-10-22 13:31:11 -04:00
|
|
|
dsp/spectrumvis.cpp\
|
|
|
|
gui/aboutdialog.cpp\
|
|
|
|
gui/addpresetdialog.cpp\
|
|
|
|
gui/basicchannelsettingsdialog.cpp\
|
2018-12-17 08:11:24 -05:00
|
|
|
gui/basicdevicesettingsdialog.cpp\
|
2017-10-22 13:31:11 -04:00
|
|
|
gui/buttonswitch.cpp\
|
|
|
|
gui/channelwindow.cpp\
|
|
|
|
gui/clickablelabel.cpp\
|
|
|
|
gui/colormapper.cpp\
|
2018-12-19 07:13:32 -05:00
|
|
|
gui/comboboxnoarrow.cpp\
|
2018-01-04 05:11:53 -05:00
|
|
|
gui/commanditem.cpp\
|
2018-01-06 20:33:44 -05:00
|
|
|
gui/commandkeyreceiver.cpp\
|
2018-01-04 14:15:33 -05:00
|
|
|
gui/commandoutputdialog.cpp\
|
2018-03-30 18:21:55 -04:00
|
|
|
gui/crightclickenabler.cpp\
|
2017-10-22 13:31:11 -04:00
|
|
|
gui/cwkeyergui.cpp\
|
2018-01-04 05:11:53 -05:00
|
|
|
gui/editcommanddialog.cpp\
|
2017-11-05 00:50:01 -04:00
|
|
|
gui/externalclockbutton.cpp\
|
|
|
|
gui/externalclockdialog.cpp\
|
2017-10-22 13:31:11 -04:00
|
|
|
gui/glscope.cpp\
|
|
|
|
gui/glscopegui.cpp\
|
|
|
|
gui/glshadersimple.cpp\
|
|
|
|
gui/glshadertextured.cpp\
|
2018-03-11 08:00:33 -04:00
|
|
|
gui/glshadertvarray.cpp\
|
2017-10-22 13:31:11 -04:00
|
|
|
gui/glspectrum.cpp\
|
|
|
|
gui/glspectrumgui.cpp\
|
|
|
|
gui/indicator.cpp\
|
|
|
|
gui/levelmeter.cpp\
|
2017-11-11 21:00:54 -05:00
|
|
|
gui/loggingdialog.cpp\
|
2017-10-22 13:31:11 -04:00
|
|
|
gui/pluginsdialog.cpp\
|
|
|
|
gui/audiodialog.cpp\
|
2018-03-30 18:21:55 -04:00
|
|
|
gui/audioselectdialog.cpp\
|
2017-10-22 13:31:11 -04:00
|
|
|
gui/presetitem.cpp\
|
|
|
|
gui/rollupwidget.cpp\
|
|
|
|
gui/samplingdevicecontrol.cpp\
|
2017-11-02 05:42:54 -04:00
|
|
|
gui/samplingdevicedialog.cpp\
|
2017-10-22 13:31:11 -04:00
|
|
|
gui/mypositiondialog.cpp\
|
|
|
|
gui/scaleengine.cpp\
|
|
|
|
gui/transverterbutton.cpp\
|
|
|
|
gui/transverterdialog.cpp\
|
2017-11-21 03:54:07 -05:00
|
|
|
gui/tickedslider.cpp\
|
2018-03-15 12:37:36 -04:00
|
|
|
gui/tvscreen.cpp\
|
2017-10-22 13:31:11 -04:00
|
|
|
gui/valuedial.cpp\
|
2017-11-18 13:34:47 -05:00
|
|
|
gui/valuedialz.cpp\
|
2018-11-15 13:07:15 -05:00
|
|
|
soapygui/arginfogui.cpp\
|
|
|
|
soapygui/complexfactorgui.cpp\
|
|
|
|
soapygui/discreterangegui.cpp\
|
|
|
|
soapygui/dynamicargsettinggui.cpp\
|
|
|
|
soapygui/dynamicitemsettinggui.cpp\
|
|
|
|
soapygui/intervalrangegui.cpp\
|
|
|
|
soapygui/intervalslidergui.cpp\
|
|
|
|
soapygui/itemsettinggui.cpp\
|
|
|
|
soapygui/stringrangegui.cpp\
|
2017-11-19 18:10:01 -05:00
|
|
|
webapi/webapiadaptergui.cpp
|
2017-10-22 13:31:11 -04:00
|
|
|
|
|
|
|
HEADERS += mainwindow.h\
|
2017-10-24 12:29:18 -04:00
|
|
|
device/deviceuiset.h\
|
2017-10-22 13:31:11 -04:00
|
|
|
dsp/spectrumscopecombovis.h\
|
|
|
|
dsp/scopevis.h\
|
2018-03-15 12:37:36 -04:00
|
|
|
dsp/scopevisxy.h\
|
2017-10-22 13:31:11 -04:00
|
|
|
dsp/spectrumvis.h\
|
|
|
|
gui/aboutdialog.h\
|
|
|
|
gui/addpresetdialog.h\
|
|
|
|
gui/audiodialog.h\
|
2018-03-30 18:21:55 -04:00
|
|
|
gui/audioselectdialog.h\
|
2017-10-22 13:31:11 -04:00
|
|
|
gui/basicchannelsettingsdialog.h\
|
2018-12-17 08:11:24 -05:00
|
|
|
gui/basicdevicesettingsdialog.h\
|
2017-10-22 13:31:11 -04:00
|
|
|
gui/buttonswitch.h\
|
|
|
|
gui/channelwindow.h\
|
|
|
|
gui/clickablelabel.h\
|
|
|
|
gui/colormapper.h\
|
2018-12-19 07:13:32 -05:00
|
|
|
gui/comboboxnoarrow.h\
|
2018-01-04 05:11:53 -05:00
|
|
|
gui/commanditem.h\
|
2018-01-06 20:33:44 -05:00
|
|
|
gui/commandkeyreceiver.h\
|
2018-01-04 14:15:33 -05:00
|
|
|
gui/commandoutputdialog.h\
|
2018-03-30 18:21:55 -04:00
|
|
|
gui/crightclickenabler.h\
|
2017-10-22 13:31:11 -04:00
|
|
|
gui/cwkeyergui.h\
|
2018-01-04 05:11:53 -05:00
|
|
|
gui/editcommanddialog.h\
|
2017-11-05 00:50:01 -04:00
|
|
|
gui/externalclockbutton.h\
|
|
|
|
gui/externalclockdialog.h\
|
2017-10-22 13:31:11 -04:00
|
|
|
gui/glscope.h\
|
|
|
|
gui/glscopegui.h\
|
|
|
|
gui/glshadersimple.h\
|
|
|
|
gui/glshadertextured.h\
|
2018-03-11 08:00:33 -04:00
|
|
|
gui/glshadertvarray.h\
|
2017-10-22 13:31:11 -04:00
|
|
|
gui/glspectrum.h\
|
|
|
|
gui/glspectrumgui.h\
|
|
|
|
gui/indicator.h\
|
|
|
|
gui/levelmeter.h\
|
2017-11-11 21:00:54 -05:00
|
|
|
gui/loggingdialog.h\
|
2017-10-22 13:31:11 -04:00
|
|
|
gui/physicalunit.h\
|
|
|
|
gui/pluginsdialog.h\
|
|
|
|
gui/presetitem.h\
|
|
|
|
gui/rollupwidget.h\
|
|
|
|
gui/samplingdevicecontrol.h\
|
2017-11-02 05:42:54 -04:00
|
|
|
gui/samplingdevicedialog.h\
|
2017-10-22 13:31:11 -04:00
|
|
|
gui/mypositiondialog.h\
|
|
|
|
gui/scaleengine.h\
|
2017-11-21 03:54:07 -05:00
|
|
|
gui/tickedslider.h\
|
2017-10-22 13:31:11 -04:00
|
|
|
gui/transverterbutton.h\
|
|
|
|
gui/transverterdialog.h\
|
2018-03-15 12:37:36 -04:00
|
|
|
gui/tvscreen.h\
|
2017-10-22 13:31:11 -04:00
|
|
|
gui/valuedial.h\
|
2017-11-18 13:34:47 -05:00
|
|
|
gui/valuedialz.h\
|
2018-11-15 13:07:15 -05:00
|
|
|
soapygui/arginfogui.h\
|
|
|
|
soapygui/complexfactorgui.h\
|
|
|
|
soapygui/discreterangegui.h\
|
|
|
|
soapygui/dynamicargsettinggui.h\
|
|
|
|
soapygui/dynamicitemsettinggui.h\
|
|
|
|
soapygui/intervalrangegui.h\
|
|
|
|
soapygui/intervalslidergui.h\
|
|
|
|
soapygui/itemsettinggui.h\
|
|
|
|
soapygui/stringrangegui.h\
|
2017-11-19 18:10:01 -05:00
|
|
|
webapi/webapiadaptergui.h
|
2017-10-23 02:28:54 -04:00
|
|
|
|
2017-10-22 13:31:11 -04:00
|
|
|
FORMS += mainwindow.ui\
|
|
|
|
gui/scopewindow.ui\
|
|
|
|
gui/addpresetdialog.ui\
|
|
|
|
gui/basicchannelsettingsdialog.ui\
|
2018-12-17 08:11:24 -05:00
|
|
|
gui/basicdevicesettingsdialog.ui\
|
2018-01-04 14:15:33 -05:00
|
|
|
gui/commandoutputdialog.ui\
|
2017-10-22 13:31:11 -04:00
|
|
|
gui/cwkeyergui.ui\
|
2018-01-04 05:11:53 -05:00
|
|
|
gui/editcommanddialog.ui\
|
2017-11-05 00:50:01 -04:00
|
|
|
gui/externalclockdialog.ui\
|
2017-10-22 13:31:11 -04:00
|
|
|
gui/audiodialog.ui\
|
2018-03-30 18:21:55 -04:00
|
|
|
gui/audioselectdialog.ui\
|
2017-10-22 13:31:11 -04:00
|
|
|
gui/glscopegui.ui\
|
|
|
|
gui/aboutdialog.ui\
|
|
|
|
gui/pluginsdialog.ui\
|
|
|
|
gui/samplingdevicecontrol.ui\
|
2017-11-02 05:42:54 -04:00
|
|
|
gui/samplingdevicedialog.ui\
|
2017-10-22 13:31:11 -04:00
|
|
|
gui/myposdialog.ui\
|
2017-11-11 21:00:54 -05:00
|
|
|
gui/loggingdialog.ui\
|
2017-10-22 13:31:11 -04:00
|
|
|
gui/glspectrumgui.ui\
|
|
|
|
gui/transverterdialog.ui\
|
2018-11-15 13:07:15 -05:00
|
|
|
soapygui/arginfogui.ui\
|
|
|
|
soapygui/complexfactorgui.ui\
|
|
|
|
soapygui/discreterangegui.ui\
|
|
|
|
soapygui/intervalrangegui.ui\
|
|
|
|
soapygui/intervalslidergui.ui\
|
2017-10-22 13:31:11 -04:00
|
|
|
mainwindow.ui
|
|
|
|
|
2017-10-22 15:02:19 -04:00
|
|
|
LIBS += -L../sdrbase/$${build_subdir} -lsdrbase
|
2017-11-11 21:00:54 -05:00
|
|
|
LIBS += -L../logging/$${build_subdir} -llogging
|
2017-11-19 18:10:01 -05:00
|
|
|
LIBS += -L../swagger/$${build_subdir} -lswagger
|
2017-10-22 15:02:19 -04:00
|
|
|
|
2018-12-27 03:48:30 -05:00
|
|
|
macx {
|
|
|
|
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@rpath/
|
|
|
|
}
|
|
|
|
|
2017-10-22 13:31:11 -04:00
|
|
|
RESOURCES = resources/res.qrc
|
|
|
|
|
|
|
|
CONFIG(ANDROID):CONFIG += mobility
|
|
|
|
CONFIG(ANDROID):MOBILITY =
|