2024-12-12 15:41:26 +00:00
|
|
|
QT += core gui
|
|
|
|
|
2024-12-30 16:44:43 +00:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets concurrent
|
2024-12-12 15:41:26 +00:00
|
|
|
|
|
|
|
CONFIG += c++17
|
|
|
|
|
2024-12-30 16:44:43 +00:00
|
|
|
msvc{
|
|
|
|
QMAKE_CFLAGS += /utf-8
|
|
|
|
QMAKE_CXXFLAGS += /utf-8
|
|
|
|
}
|
|
|
|
|
2024-12-12 15:41:26 +00:00
|
|
|
# You can make your code fail to compile if it uses deprecated APIs.
|
|
|
|
# In order to do so, uncomment the following line.
|
|
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
|
|
|
|
INCLUDEPATH += \
|
2024-12-30 16:44:43 +00:00
|
|
|
$$PWD/3rdparty/uhd/include \
|
|
|
|
$$PWD/3rdparty/
|
2024-12-12 15:41:26 +00:00
|
|
|
|
|
|
|
SOURCES += \
|
2024-12-30 16:44:43 +00:00
|
|
|
gpssim.c \
|
2024-12-12 15:41:26 +00:00
|
|
|
main.cpp \
|
2024-12-30 16:44:43 +00:00
|
|
|
mainwindow.cpp \
|
|
|
|
uhd_device.cpp \
|
|
|
|
workThread.cpp
|
2024-12-12 15:41:26 +00:00
|
|
|
|
|
|
|
HEADERS += \
|
2024-12-30 16:44:43 +00:00
|
|
|
gpssim.h \
|
|
|
|
mainwindow.h \
|
|
|
|
uhd_device.h \
|
|
|
|
workThread.h
|
2024-12-12 15:41:26 +00:00
|
|
|
|
|
|
|
FORMS += \
|
|
|
|
mainwindow.ui
|
|
|
|
|
|
|
|
win32{
|
2024-12-30 16:44:43 +00:00
|
|
|
LIBS += -L$$PWD/3rdparty/uhd/lib -luhd -L$$PWD/3rdparty/lib64-msvc-14.3 -llibboost_thread-vc143-mt-gd-x64-1_86
|
2024-12-12 15:41:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|