Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 801 → Rev 908

/QMK-Groundstation/trunk/QMK-Scope/QMK-Scope.pro
2,10 → 2,18
# Project created by QtCreator 2009-07-20T20:04:00
# -------------------------------------------------
include(../Global/Widget_Connection.pri)
 
# For Mac OS X, please define $QWT_HOME in your environment as path to QWT
 
QT += network
TARGET = QMK-Scope
TEMPLATE = app
win32 {
 
TRANSLATIONS = $${TARGET}_en.ts \
$${TARGET}_de.ts \
$${TARGET}_fr.ts
 
win32 {
include( C:\Qt\qwt-5.2.0\examples\examples.pri )
QWT_ROOT = c:\qt\qwt-5.2.0
include( $${QWT_ROOT}\qwtconfig.pri )
25,38 → 33,57
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
OBJECTS_DIR = ../Binary/.build/$${TARGET}
UI_DIR = ../Binary/.build/$${TARGET}
MOC_DIR = ../Binary/.build/$${TARGET}
RCC_DIR = ../Binary/.build/$${TARGET}
 
 
# Mac specific stuff
macx:{
# LIBS += /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
ICON = ../Global/Images/Icons/$${TARGET}.icns
QMAKE_POST_LINK = cp ../$${TARGET}/*.qm ../Binary/$${TARGET}.app/Contents/MacOS/.
}
 
# And other
!macx:{
QMAKE_POST_LINK = cp ../$${TARGET}/*.qm ../Binary/.
}
 
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
LIBS += -L$(QWT_HOME)/lib -lqwt
INCLUDEPATH += $(QWT_HOME)/include
}
RESOURCES += QMK-Scope.qrc
 
#debug {
# DEFINES += _BETA_
# LIBS += -lqwt
# INCLUDEPATH += $(HOME)/include \
# /usr/include/qwt
#}
 
RESOURCES += $${TARGET}.qrc
SOURCES += main.cpp \
Dialogs/dlg_Main.cpp \
Classes/cSettings.cpp \