提交 c278a17f 编写于 作者: 丁劲犇's avatar 丁劲犇 😸

ok

上级 b466b424
...@@ -3,7 +3,6 @@ QT += core gui network ...@@ -3,7 +3,6 @@ QT += core gui network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11 CONFIG += c++11
CONFIG += console
# The following define makes your compiler emit warnings if you use # The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings # any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the # depend on your compiler). Please consult the documentation of the
...@@ -43,15 +42,16 @@ FORMS += \ ...@@ -43,15 +42,16 @@ FORMS += \
qnx: target.path = /tmp/$${TARGET}/bin qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target !isEmpty(target.path): INSTALLS += target
LIBS += -luhd -lpthread LIBS += -luhd
win32{ win32{
mkoptions = $$find(QMAKESPEC, "vc") mkoptions = $$find(QMAKESPEC, "vc")
count(mkoptions, 1){ count(mkoptions, 1){
INCLUDEPATH +="$$PWD/3rdlibs/win32/fftw" INCLUDEPATH +="$$PWD/3rdlibs/win32/fftw"
INCLUDEPATH +="$(UHD_PKG_PATH)/include"
contains(QT_ARCH, i386) { 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 { } 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 }else: LIBS+=-lfftw3 -lpthread
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册