diff --git a/specwidget.h b/specwidget.h index 4ea79d55f96395eafca9aac018174277d25f72dc..93692a36f39af2bd91751ff70192ec5c9520a74f 100644 --- a/specwidget.h +++ b/specwidget.h @@ -28,13 +28,7 @@ #include #include #include - -#ifdef Q_OS_WINDOWS -#include "uhd_device_win32.h" -#endif -#ifdef Q_OS_LINUX #include "uhd_device.h" -#endif #include "stdout_watcher.h" namespace Ui { class specWidget; diff --git a/uhdspectrum.pro b/uhdspectrum.pro index 2af1df6a38adf2a1b039a1ab972f9ba77a0a12d0..14eb9a85e5e0704f548dee390100995fa4c2b282 100644 --- a/uhdspectrum.pro +++ b/uhdspectrum.pro @@ -23,7 +23,8 @@ SOURCES += \ qtgui/meter.cpp \ qtgui/plotter.cpp \ specwidget.cpp \ - stdout_watcher.cpp + stdout_watcher.cpp \ + uhd_device.cpp HEADERS += \ qtgui/bookmarks.h \ @@ -33,7 +34,8 @@ HEADERS += \ qtgui/meter.h \ qtgui/plotter.h \ specwidget.h \ - stdout_watcher.h + stdout_watcher.h \ + uhd_device.h FORMS += \ specwidget.ui @@ -48,13 +50,7 @@ win32{ } INCLUDEPATH +="$(UHD_PKG_PATH)/include" LIBS += -L"$(UHD_PKG_PATH)/lib" - SOURCES += - HEADERS += }else { -SOURCES += \ - uhd_device.cpp -HEADERS += \ - uhd_device.h LIBS+=-lfftw3 -lpthread -lboost_system }