-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathqvnamax.pro
101 lines (76 loc) · 1.97 KB
/
qvnamax.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#-------------------------------------------------
#
# Project created by QtCreator 2012-12-01T22:06:53
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport serialport
TARGET = qvnamax
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp \
settingsdialog.cpp \
colordialog.cpp \
commentdialog.cpp \
vna_serial.cpp
HEADERS += mainwindow.h \
vna.h \
settingsdialog.h \
colordialog.h \
commentdialog.h \
vna_serial.h
FORMS += mainwindow.ui \
settingsdialog.ui \
colordialog.ui \
commentdialog.ui
TRANSLATIONS = qvnamax_pl.ts
RESOURCES += icon.qrc
ad9851 {
SOURCES += vna_ad9851.cpp
HEADERS += vna_ad9851.h
DEFINES += HAVE_AD9851
}
ad9951 {
SOURCES += vna_ad9951.cpp
HEADERS += vna_ad9951.h
DEFINES += HAVE_AD9951
}
test {
SOURCES += vna_test.cpp
HEADERS += vna_test.h
DEFINES += HAVE_TEST
}
qwt-rmb {
DEFINES += HAVE_RMB
unix: LIBS += -lqwt-rmb
}
greaterThan(QT_MAJOR_VERSION, 4) {
unix:INCLUDEPATH += /usr/include/qwt
unix:LIBS += -lqwt
} else {
unix:INCLUDEPATH += /usr/include/qwt /usr/include/QtAddOnSerialPort
unix:LIBS += -lqwt -lSerialPort
}
DISTFILES += qvnamax_pl.qm
# Install
isEmpty(PREFIX) {
PREFIX = /usr/local
}
BINDIR = $$PREFIX/bin
DATADIR = $$PREFIX/share
DEFINES += APP_DATA_DIR=\"$$PREFIX/share/qvnamax\"
bin.files = qvnamax
bin.path = $$PREFIX/bin
desktop.files = qvnamax.desktop
desktop.path = $$DATADIR/applications
language.files = qvnamax_pl.qm
language.path = $$DATADIR/qvnamax
icon16.files = icons/i16/qvnamax.png
icon16.path = $$DATADIR/icons/hicolor/16x16/apps
icon32.files = icons/i32/qvnamax.png
icon32.path = $$DATADIR/icons/hicolor/32x32/apps
icon48.files = icons/i48/qvnamax.png
icon48.path = $$DATADIR/icons/hicolor/48x48/apps
icon64.files = icons/i64/qvnamax.png
icon64.path = $$DATADIR/icons/hicolor/64x64/apps
INSTALLS += bin desktop icon16 icon32 icon48 icon64 language