Subversion Repositories Projects

Rev

Rev 750 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
674 KeyOz 1
# -------------------------------------------------
2
# Project created by QtCreator 2009-07-20T20:04:00
3
# -------------------------------------------------
750 KeyOz 4
include(../Global/Widget_Connection.pri)
674 KeyOz 5
QT += network
6
TARGET = QMK-Scope
7
TEMPLATE = app
801 - 8
win32 {
9
    include( C:\Qt\qwt-5.2.0\examples\examples.pri )
10
    QWT_ROOT = c:\qt\qwt-5.2.0
11
    include( $${QWT_ROOT}\qwtconfig.pri )
12
    SUFFIX_STR = $${RELEASE_SUFFIX}
13
    INCLUDEPATH += $${QWT_ROOT}/src
14
    DEPENDPATH += $${QWT_ROOT}/src
15
    QWTLIB = qwt$${SUFFIX_STR}
16
    contains(CONFIG, QwtDll)
17
     {
18
        DEFINES += QT_DLL \
19
            QWT_DLL
20
        QWTLIB = $${QWTLIB}$${VER_MAJ}
21
    }
22
    win32-msvc:LIBS += $${QWT_ROOT}/lib/$${QWTLIB}.lib
23
    win32-msvc.net:LIBS += $${QWT_ROOT}/lib/$${QWTLIB}.lib
24
    win32-msvc2005:LIBS += $${QWT_ROOT}/lib/$${QWTLIB}.lib
25
    win32-g++:LIBS += -L$${QWT_ROOT}/lib \
26
        -l$${QWTLIB}
27
}
674 KeyOz 28
DESTDIR = ../Binary
29
OBJECTS_DIR = ../Binary/.build/QMK-Scope
30
UI_DIR = ../Binary/.build/QMK-Scope
31
MOC_DIR = ../Binary/.build/QMK-Scope
32
RCC_DIR = ../Binary/.build/QMK-Scope
801 - 33
debug {
34
    DEFINES += _BETA_
35
    LIBS += -lqwt
36
    INCLUDEPATH += $(HOME)/include \
37
        /usr/include/qwt
674 KeyOz 38
}
801 - 39
Suse {
40
    LIBS += -lqwt
41
    INCLUDEPATH += $(HOME)/include \
42
        /usr/include/qwt
674 KeyOz 43
}
801 - 44
Debian {
45
    LIBS += -lqwt-qt4
46
    INCLUDEPATH += $(HOME)/include \
47
        /usr/include/qwt-qt4
674 KeyOz 48
}
801 - 49
Gentoo {
50
    LIBS += -lqwt
51
    INCLUDEPATH += $(HOME)/include \
52
        /usr/include/qwt5
674 KeyOz 53
}
801 - 54
OSX {
55
    LIBS += -L/opt/local/lib \
56
        -lqwt
57
    INCLUDEPATH += /opt/local/include
674 KeyOz 58
}
59
RESOURCES += QMK-Scope.qrc
60
SOURCES += main.cpp \
61
    Dialogs/dlg_Main.cpp \
801 - 62
    Classes/cSettings.cpp \
63
    Dialogs/wgt_Index.cpp
674 KeyOz 64
HEADERS += Defines.h \
65
    ../Global/Global.h \
66
    Dialogs/dlg_Main.h \
67
    Classes/cSettings.h \
801 - 68
    TypeDefs.h \
69
    Dialogs/wgt_Index.h
70
FORMS += Dialogs/dlg_Main.ui \
71
    Dialogs/wgt_Index.ui