diff --git a/uhd_cpp/uhd_spectrum/uhdspectrum.pro b/uhd_cpp/uhd_spectrum/uhdspectrum.pro index c1f2f2d79bdbd3ff6420c994ff219daa46053a12..cd9213ffb340b427081bef0a30c68f8f4cb56634 100644 --- a/uhd_cpp/uhd_spectrum/uhdspectrum.pro +++ b/uhd_cpp/uhd_spectrum/uhdspectrum.pro @@ -3,7 +3,6 @@ QT += core gui network greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++11 -CONFIG += console # The following define makes your compiler emit warnings if you use # any Qt feature that has been marked deprecated (the exact warnings # depend on your compiler). Please consult the documentation of the @@ -43,15 +42,16 @@ FORMS += \ qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target -LIBS += -luhd -lpthread +LIBS += -luhd win32{ mkoptions = $$find(QMAKESPEC, "vc") count(mkoptions, 1){ INCLUDEPATH +="$$PWD/3rdlibs/win32/fftw" + INCLUDEPATH +="$(UHD_PKG_PATH)/include" contains(QT_ARCH, i386) { - LIBS+=-L"$$PWD/3rdlibs/win32/fftw/x86" -llibfftw3-3 + LIBS+=-L"$$PWD/3rdlibs/win32/fftw/x86" -llibfftw3-3 -L"$(UHD_PKG_PATH)/lib" } else { - LIBS+=-L"$$PWD/3rdlibs/win32/fftw/x64" -llibfftw3-3 + LIBS+=-L"$$PWD/3rdlibs/win32/fftw/x64" -llibfftw3-3 -L"$(UHD_PKG_PATH)/lib" } } else: LIBS+=-lfftw3 -}else: LIBS+=-lfftw3 +}else: LIBS+=-lfftw3 -lpthread