Subversion Repositories Projects

Rev

Rev 227 | Rev 250 | Go to most recent revision | Details | Compare with Previous | 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 \
227 KeyOz 61
    Forms/dlg_LCD.cpp
62
 
63
win32:SOURCES += SerialPort/win_qextserialport.cpp
64
unix:SOURCES  += SerialPort/posix_qextserialport.cpp
65
 
66
HEADERS = \
67
    global.h \
68
    Parameter_Positions.h \
69
    SerialPort/qextserialbase.h \
70
    SerialPort/qextserialport.h \
71
    SerialPort/ManageSerialPort.h \
72
    Forms/mktool.h \
73
    Forms/dlg_Config.h \
74
    Forms/dlg_Motortest.h \
75
    Forms/dlg_Preferences.h \
76
    Forms/wdg_Settings.h \
77
    Classes/cSettings.h \
78
    Classes/cServer.h \
79
    Classes/ToolBox.h \
80
    Classes/cAttitude.h \
81
    Classes/cSpeedMeter.h \
82
    Classes/cQMK_Server.h \
239 Brean 83
    Logger/Logger.h \
84
    Logger/CSVLogger.h \
85
    Logger/DefaultLogger.h \
227 KeyOz 86
    Forms/dlg_LCD.h
87
 
88
win32:HEADERS += SerialPort/win_qextserialport.h
89
unix:HEADERS  += SerialPort/posix_qextserialport.h
90
 
91
FORMS += \
92
    Forms/mktool.ui \
93
    Forms/dlg_Config.ui \
94
    Forms/dlg_Preferences.ui \
95
    Forms/dlg_Motortest.ui \
96
    Forms/wdg_Settings.ui \
97
    Forms/dlg_LCD.ui