Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

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