Rev 239 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 239 | Rev 248 | ||
---|---|---|---|
1 | include( ../examples.pri ) |
1 | include( ../examples.pri ) |
2 | 2 | ||
3 | QWT_ROOT = ../qwt-5.1.1 |
3 | QWT_ROOT = ../qwt-5.1.1 |
4 | 4 | ||
5 | include( $${QWT_ROOT}/qwtconfig.pri ) |
5 | include( $${QWT_ROOT}/qwtconfig.pri ) |
6 | 6 | ||
7 | SUFFIX_STR = $${RELEASE_SUFFIX} |
7 | SUFFIX_STR = $${RELEASE_SUFFIX} |
8 | 8 | ||
9 | INCLUDEPATH += $${QWT_ROOT}/src |
9 | INCLUDEPATH += $${QWT_ROOT}/src |
10 | DEPENDPATH += $${QWT_ROOT}/src |
10 | DEPENDPATH += $${QWT_ROOT}/src |
11 | 11 | ||
12 | QWTLIB = qwt$${SUFFIX_STR} |
12 | QWTLIB = qwt$${SUFFIX_STR} |
13 | 13 | ||
14 | contains(CONFIG, QwtDll) |
14 | contains(CONFIG, QwtDll) |
15 | { |
15 | { |
16 | DEFINES += QT_DLL QWT_DLL |
16 | DEFINES += QT_DLL QWT_DLL |
17 | QWTLIB = $${QWTLIB}$${VER_MAJ} |
17 | QWTLIB = $${QWTLIB}$${VER_MAJ} |
18 | } |
18 | } |
19 | 19 | ||
20 | win32-msvc:LIBS += $${QWT_ROOT}/lib/$${QWTLIB}.lib |
20 | win32-msvc:LIBS += $${QWT_ROOT}/lib/$${QWTLIB}.lib |
21 | win32-msvc.net:LIBS += $${QWT_ROOT}/lib/$${QWTLIB}.lib |
21 | win32-msvc.net:LIBS += $${QWT_ROOT}/lib/$${QWTLIB}.lib |
22 | win32-msvc2005:LIBS += $${QWT_ROOT}/lib/$${QWTLIB}.lib |
22 | win32-msvc2005:LIBS += $${QWT_ROOT}/lib/$${QWTLIB}.lib |
23 | win32-g++:LIBS += -L$${QWT_ROOT}/lib -l$${QWTLIB} |
23 | win32-g++:LIBS += -L$${QWT_ROOT}/lib -l$${QWTLIB} |
24 | 24 | ||
25 | TEMPLATE = app |
25 | TEMPLATE = app |
26 | 26 | ||
27 | OBJECTS_DIR = build/.o_win32 |
27 | OBJECTS_DIR = build/.o_win32 |
28 | UI_DIR = build/.ui |
28 | UI_DIR = build/.ui |
29 | MOC_DIR = build/.moc |
29 | MOC_DIR = build/.moc |
30 | RCC_DIR = build/.rcc |
30 | RCC_DIR = build/.rcc |
31 | DESTDIR = build/bin |
31 | DESTDIR = build/bin |
32 | 32 | ||
33 | DEFINES += _TTY_WIN_ QWT_DLL QT_DLL _WIN32_ |
33 | DEFINES += _TTY_WIN_ QWT_DLL QT_DLL _WIN32_ |
34 | 34 | ||
35 | QT *= gui core network |
35 | QT *= gui core network |
36 | 36 | ||
37 | CONFIG += warn_on thread qt |
37 | CONFIG += warn_on thread qt |
38 | 38 | ||
39 | TARGET = QMK-Groundstation |
39 | TARGET = QMK-Groundstation |
40 | 40 | ||
41 | RESOURCES += MKTool.qrc |
41 | RESOURCES += MKTool.qrc |
42 | 42 | ||
43 | SOURCES = \ |
43 | SOURCES = \ |
44 | main.cpp \ |
44 | main.cpp \ |
- | 45 | waypoint.h \ |
|
45 | SerialPort/qextserialbase.cpp \ |
46 | SerialPort/qextserialbase.cpp \ |
46 | SerialPort/qextserialport.cpp \ |
47 | SerialPort/qextserialport.cpp \ |
47 | SerialPort/ManageSerialPort.cpp \ |
48 | SerialPort/ManageSerialPort.cpp \ |
48 | Forms/mktool.cpp \ |
49 | Forms/mktool.cpp \ |
49 | Forms/dlg_Config.cpp \ |
50 | Forms/dlg_Config.cpp \ |
50 | Forms/dlg_Motortest.cpp \ |
51 | Forms/dlg_Motortest.cpp \ |
51 | Forms/dlg_Preferences.cpp \ |
52 | Forms/dlg_Preferences.cpp \ |
52 | Forms/wdg_Settings.cpp \ |
53 | Forms/wdg_Settings.cpp \ |
53 | Classes/cSettings.cpp \ |
54 | Classes/cSettings.cpp \ |
54 | Classes/cServer.cpp \ |
55 | Classes/cServer.cpp \ |
55 | Classes/ToolBox.cpp \ |
56 | Classes/ToolBox.cpp \ |
56 | Classes/cAttitude.cpp \ |
57 | Classes/cAttitude.cpp \ |
57 | Classes/cSpeedMeter.cpp \ |
58 | Classes/cSpeedMeter.cpp \ |
58 | Classes/cQMK_Server.cpp \ |
59 | Classes/cQMK_Server.cpp \ |
59 | Logger/Logger.cpp \ |
60 | Logger/Logger.cpp \ |
60 | Logger/CSVLogger.cpp \ |
61 | Logger/CSVLogger.cpp \ |
61 | Forms/dlg_LCD.cpp |
62 | Forms/dlg_LCD.cpp |
62 | 63 | ||
63 | win32:SOURCES += SerialPort/win_qextserialport.cpp |
64 | win32:SOURCES += SerialPort/win_qextserialport.cpp |
64 | unix:SOURCES += SerialPort/posix_qextserialport.cpp |
65 | unix:SOURCES += SerialPort/posix_qextserialport.cpp |
65 | 66 | ||
66 | HEADERS = \ |
67 | HEADERS = \ |
67 | global.h \ |
68 | global.h \ |
68 | Parameter_Positions.h \ |
69 | Parameter_Positions.h \ |
69 | SerialPort/qextserialbase.h \ |
70 | SerialPort/qextserialbase.h \ |
70 | SerialPort/qextserialport.h \ |
71 | SerialPort/qextserialport.h \ |
71 | SerialPort/ManageSerialPort.h \ |
72 | SerialPort/ManageSerialPort.h \ |
72 | Forms/mktool.h \ |
73 | Forms/mktool.h \ |
73 | Forms/dlg_Config.h \ |
74 | Forms/dlg_Config.h \ |
74 | Forms/dlg_Motortest.h \ |
75 | Forms/dlg_Motortest.h \ |
75 | Forms/dlg_Preferences.h \ |
76 | Forms/dlg_Preferences.h \ |
76 | Forms/wdg_Settings.h \ |
77 | Forms/wdg_Settings.h \ |
77 | Classes/cSettings.h \ |
78 | Classes/cSettings.h \ |
78 | Classes/cServer.h \ |
79 | Classes/cServer.h \ |
79 | Classes/ToolBox.h \ |
80 | Classes/ToolBox.h \ |
80 | Classes/cAttitude.h \ |
81 | Classes/cAttitude.h \ |
81 | Classes/cSpeedMeter.h \ |
82 | Classes/cSpeedMeter.h \ |
82 | Classes/cQMK_Server.h \ |
83 | Classes/cQMK_Server.h \ |
83 | Logger/Logger.h \ |
84 | Logger/Logger.h \ |
84 | Logger/CSVLogger.h \ |
85 | Logger/CSVLogger.h \ |
85 | Logger/DefaultLogger.h \ |
86 | Logger/DefaultLogger.h \ |
86 | Forms/dlg_LCD.h |
87 | Forms/dlg_LCD.h |
87 | 88 | ||
88 | win32:HEADERS += SerialPort/win_qextserialport.h |
89 | win32:HEADERS += SerialPort/win_qextserialport.h |
89 | unix:HEADERS += SerialPort/posix_qextserialport.h |
90 | unix:HEADERS += SerialPort/posix_qextserialport.h |
90 | 91 | ||
91 | FORMS += \ |
92 | FORMS += \ |
92 | Forms/mktool.ui \ |
93 | Forms/mktool.ui \ |
93 | Forms/dlg_Config.ui \ |
94 | Forms/dlg_Config.ui \ |
94 | Forms/dlg_Preferences.ui \ |
95 | Forms/dlg_Preferences.ui \ |
95 | Forms/dlg_Motortest.ui \ |
96 | Forms/dlg_Motortest.ui \ |
96 | Forms/wdg_Settings.ui \ |
97 | Forms/wdg_Settings.ui \ |
97 | Forms/dlg_LCD.ui |
98 | Forms/dlg_LCD.ui |