Subversion Repositories Projects

Rev

Rev 801 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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