Subversion Repositories Projects

Rev

Rev 813 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 813 Rev 819
1
# -------------------------------------------------
1
# -------------------------------------------------
2
# Project created by QtCreator 2009-07-20T20:04:00
2
# Project created by QtCreator 2009-07-20T20:04:00
3
# -------------------------------------------------
3
# -------------------------------------------------
4
include(../Global/Widget_Connection.pri)
4
include(../Global/Widget_Connection.pri)
5
 
5
 
6
# For Mac OS X, please define $QWT_HOME in your environment as path to QWT
6
# For Mac OS X, please define $QWT_HOME in your environment as path to QWT
7
 
7
 
8
QT += network
8
QT += network
9
TARGET = QMK-Scope
9
TARGET = QMK-Scope
10
TEMPLATE = app
10
TEMPLATE = app
11
 
11
 
12
TRANSLATIONS = $${TARGET}_en.ts \
12
TRANSLATIONS = $${TARGET}_en.ts \
13
               $${TARGET}_de.ts
13
               $${TARGET}_de.ts \
-
 
14
               $${TARGET}_fr.ts
14
 
15
 
15
win32 {
16
win32 {
16
    include( C:\Qt\qwt-5.2.0\examples\examples.pri )
17
    include( C:\Qt\qwt-5.2.0\examples\examples.pri )
17
    QWT_ROOT = c:\qt\qwt-5.2.0
18
    QWT_ROOT = c:\qt\qwt-5.2.0
18
    include( $${QWT_ROOT}\qwtconfig.pri )
19
    include( $${QWT_ROOT}\qwtconfig.pri )
19
    SUFFIX_STR = $${RELEASE_SUFFIX}
20
    SUFFIX_STR = $${RELEASE_SUFFIX}
20
    INCLUDEPATH += $${QWT_ROOT}/src
21
    INCLUDEPATH += $${QWT_ROOT}/src
21
    DEPENDPATH += $${QWT_ROOT}/src
22
    DEPENDPATH += $${QWT_ROOT}/src
22
    QWTLIB = qwt$${SUFFIX_STR}
23
    QWTLIB = qwt$${SUFFIX_STR}
23
    contains(CONFIG, QwtDll)
24
    contains(CONFIG, QwtDll)
24
     { 
25
     { 
25
        DEFINES += QT_DLL \
26
        DEFINES += QT_DLL \
26
            QWT_DLL
27
            QWT_DLL
27
        QWTLIB = $${QWTLIB}$${VER_MAJ}
28
        QWTLIB = $${QWTLIB}$${VER_MAJ}
28
    }
29
    }
29
    win32-msvc:LIBS += $${QWT_ROOT}/lib/$${QWTLIB}.lib
30
    win32-msvc:LIBS += $${QWT_ROOT}/lib/$${QWTLIB}.lib
30
    win32-msvc.net:LIBS += $${QWT_ROOT}/lib/$${QWTLIB}.lib
31
    win32-msvc.net:LIBS += $${QWT_ROOT}/lib/$${QWTLIB}.lib
31
    win32-msvc2005:LIBS += $${QWT_ROOT}/lib/$${QWTLIB}.lib
32
    win32-msvc2005:LIBS += $${QWT_ROOT}/lib/$${QWTLIB}.lib
32
    win32-g++:LIBS += -L$${QWT_ROOT}/lib \
33
    win32-g++:LIBS += -L$${QWT_ROOT}/lib \
33
        -l$${QWTLIB}
34
        -l$${QWTLIB}
34
}
35
}
35
 
36
 
36
DESTDIR = ../Binary
37
DESTDIR = ../Binary
37
OBJECTS_DIR = ../Binary/.build/$${TARGET}
38
OBJECTS_DIR = ../Binary/.build/$${TARGET}
38
UI_DIR = ../Binary/.build/$${TARGET}
39
UI_DIR = ../Binary/.build/$${TARGET}
39
MOC_DIR = ../Binary/.build/$${TARGET}
40
MOC_DIR = ../Binary/.build/$${TARGET}
40
RCC_DIR = ../Binary/.build/$${TARGET}
41
RCC_DIR = ../Binary/.build/$${TARGET}
41
 
42
 
42
 
43
 
43
# Mac specific stuff
44
# Mac specific stuff
44
macx:{
45
macx:{
45
#    LIBS    += /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
46
#    LIBS    += /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
46
    ICON = ../Global/Images/Icons/$${TARGET}.icns
47
    ICON = ../Global/Images/Icons/$${TARGET}.icns
47
    QMAKE_POST_LINK = cp ../$${TARGET}/*.qm ../Binary/$${TARGET}.app/Contents/MacOS/.
48
    QMAKE_POST_LINK = cp ../$${TARGET}/*.qm ../Binary/$${TARGET}.app/Contents/MacOS/.
48
}
49
}
49
 
50
 
50
# And other
51
# And other
51
!macx:{
52
!macx:{
52
    QMAKE_POST_LINK = cp ../$${TARGET}/*.qm ../Binary/.
53
    QMAKE_POST_LINK = cp ../$${TARGET}/*.qm ../Binary/.
53
}
54
}
54
 
55
 
55
Suse { 
56
Suse { 
56
    LIBS += -lqwt
57
    LIBS += -lqwt
57
    INCLUDEPATH += $(HOME)/include \
58
    INCLUDEPATH += $(HOME)/include \
58
        /usr/include/qwt
59
        /usr/include/qwt
59
}
60
}
60
 
61
 
61
Debian { 
62
Debian { 
62
    LIBS += -lqwt-qt4
63
    LIBS += -lqwt-qt4
63
    INCLUDEPATH += $(HOME)/include \
64
    INCLUDEPATH += $(HOME)/include \
64
        /usr/include/qwt-qt4
65
        /usr/include/qwt-qt4
65
}
66
}
66
 
67
 
67
Gentoo { 
68
Gentoo { 
68
    LIBS += -lqwt
69
    LIBS += -lqwt
69
    INCLUDEPATH += $(HOME)/include \
70
    INCLUDEPATH += $(HOME)/include \
70
        /usr/include/qwt5
71
        /usr/include/qwt5
71
}
72
}
72
 
73
 
73
OSX { 
74
OSX { 
74
    LIBS += -L$(QWT_HOME)/lib -lqwt
75
    LIBS += -L$(QWT_HOME)/lib -lqwt
75
    INCLUDEPATH += $(QWT_HOME)/include
76
    INCLUDEPATH += $(QWT_HOME)/include
76
}
77
}
77
 
78
 
78
#debug {
79
#debug {
79
#    DEFINES += _BETA_
80
#    DEFINES += _BETA_
80
#   LIBS += -lqwt
81
#   LIBS += -lqwt
81
#   INCLUDEPATH += $(HOME)/include \
82
#   INCLUDEPATH += $(HOME)/include \
82
#        /usr/include/qwt
83
#        /usr/include/qwt
83
#}
84
#}
84
 
85
 
85
RESOURCES += $${TARGET}.qrc
86
RESOURCES += $${TARGET}.qrc
86
SOURCES += main.cpp \
87
SOURCES += main.cpp \
87
    Dialogs/dlg_Main.cpp \
88
    Dialogs/dlg_Main.cpp \
88
    Classes/cSettings.cpp \
89
    Classes/cSettings.cpp \
89
    Dialogs/wgt_Index.cpp
90
    Dialogs/wgt_Index.cpp
90
HEADERS += Defines.h \
91
HEADERS += Defines.h \
91
    ../Global/Global.h \
92
    ../Global/Global.h \
92
    Dialogs/dlg_Main.h \
93
    Dialogs/dlg_Main.h \
93
    Classes/cSettings.h \
94
    Classes/cSettings.h \
94
    TypeDefs.h \
95
    TypeDefs.h \
95
    Dialogs/wgt_Index.h
96
    Dialogs/wgt_Index.h
96
FORMS += Dialogs/dlg_Main.ui \
97
FORMS += Dialogs/dlg_Main.ui \
97
    Dialogs/wgt_Index.ui
98
    Dialogs/wgt_Index.ui