Subversion Repositories Projects

Rev

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

# -------------------------------------------------
# Project created by QtCreator 2009-07-20T20:04:00
# -------------------------------------------------
include(../Global/Widget_Connection.pri)
QT += network
TARGET = QMK-Scope
TEMPLATE = app
win32 { 
    include( C:\Qt\qwt-5.2.0\examples\examples.pri )
    QWT_ROOT = c:\qt\qwt-5.2.0
    include( $${QWT_ROOT}\qwtconfig.pri )
    SUFFIX_STR = $${RELEASE_SUFFIX}
    INCLUDEPATH += $${QWT_ROOT}/src
    DEPENDPATH += $${QWT_ROOT}/src
    QWTLIB = qwt$${SUFFIX_STR}
    contains(CONFIG, QwtDll)
     { 
        DEFINES += QT_DLL \
            QWT_DLL
        QWTLIB = $${QWTLIB}$${VER_MAJ}
    }
    win32-msvc:LIBS += $${QWT_ROOT}/lib/$${QWTLIB}.lib
    win32-msvc.net:LIBS += $${QWT_ROOT}/lib/$${QWTLIB}.lib
    win32-msvc2005:LIBS += $${QWT_ROOT}/lib/$${QWTLIB}.lib
    win32-g++:LIBS += -L$${QWT_ROOT}/lib \
        -l$${QWTLIB}
}
DESTDIR = ../Binary
OBJECTS_DIR = ../Binary/.build/QMK-Scope
UI_DIR = ../Binary/.build/QMK-Scope
MOC_DIR = ../Binary/.build/QMK-Scope
RCC_DIR = ../Binary/.build/QMK-Scope
debug { 
    DEFINES += _BETA_
    LIBS += -lqwt
    INCLUDEPATH += $(HOME)/include \
        /usr/include/qwt
}
Suse { 
    LIBS += -lqwt
    INCLUDEPATH += $(HOME)/include \
        /usr/include/qwt
}
Debian { 
    LIBS += -lqwt-qt4
    INCLUDEPATH += $(HOME)/include \
        /usr/include/qwt-qt4
}
Gentoo { 
    LIBS += -lqwt
    INCLUDEPATH += $(HOME)/include \
        /usr/include/qwt5
}
OSX { 
    LIBS += -L/opt/local/lib \
        -lqwt
    INCLUDEPATH += /opt/local/include
}
RESOURCES += QMK-Scope.qrc
SOURCES += main.cpp \
    Dialogs/dlg_Main.cpp \
    Classes/cSettings.cpp \
    Dialogs/wgt_Index.cpp
HEADERS += Defines.h \
    ../Global/Global.h \
    Dialogs/dlg_Main.h \
    Classes/cSettings.h \
    TypeDefs.h \
    Dialogs/wgt_Index.h
FORMS += Dialogs/dlg_Main.ui \
    Dialogs/wgt_Index.ui