Subversion Repositories Projects

Rev

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