2011-06-26 08:30:44 +00:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2011-06-20T22:05:30
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
2013-01-17 18:26:11 +00:00
|
|
|
QT += core gui opengl network xml
|
|
|
|
|
|
|
|
contains(QT_MAJOR_VERSION,5) {
|
|
|
|
QT += webkitwidgets
|
|
|
|
}
|
|
|
|
|
|
|
|
!contains(QT_MAJOR_VERSION,5) {
|
|
|
|
QT += webkit
|
|
|
|
}
|
2011-06-26 08:30:44 +00:00
|
|
|
|
2011-07-23 03:50:30 +00:00
|
|
|
CONFIG += rtti
|
2011-06-26 11:49:40 +00:00
|
|
|
|
|
|
|
#static {
|
|
|
|
# CONFIG += static
|
|
|
|
# QTPLUGIN += qsvg qgif
|
|
|
|
|
|
|
|
# DEFINES += STATIC // Equivalent to "#define STATIC" in source code
|
|
|
|
# message("Static build.")
|
|
|
|
#}
|
|
|
|
|
2011-06-26 08:30:44 +00:00
|
|
|
#CONFIG += link_pkgconfig
|
|
|
|
#PKGCONFIG += freetype2
|
|
|
|
|
2011-09-02 02:00:04 +00:00
|
|
|
TARGET = SleepyHead
|
2012-01-29 04:17:02 +00:00
|
|
|
unix:!macx {
|
|
|
|
TARGET.path=/usr/bin
|
|
|
|
}
|
|
|
|
|
2011-06-26 08:30:44 +00:00
|
|
|
TEMPLATE = app
|
|
|
|
|
2011-11-08 15:03:39 +00:00
|
|
|
# GIT_VERSION = $$system(git describe --tags --long --abbrev=6 --dirty="*")
|
|
|
|
|
|
|
|
|
|
|
|
#exists(.git):DEFINES += GIT_BRANCH=\\\"$$system(git rev-parse --symbolic-full-name --abbrev-ref HEAD)\\\"
|
|
|
|
exists(.git):DEFINES += GIT_BRANCH=\\\"$$system(git rev-parse --abbrev-ref HEAD)\\\"
|
2012-11-12 07:24:18 +00:00
|
|
|
else:DEFINES += GIT_BRANCH=\\\"UNKNOWN\\\"
|
2011-11-08 15:03:39 +00:00
|
|
|
|
|
|
|
exists(.git):DEFINES += GIT_REVISION=\\\"$$system(git rev-parse HEAD)\\\"
|
2012-11-12 07:24:18 +00:00
|
|
|
else:DEFINES += GIT_REVISION=\\\"UNKNOWN\\\"
|
2011-06-26 08:30:44 +00:00
|
|
|
|
|
|
|
SOURCES += main.cpp\
|
|
|
|
SleepLib/machine.cpp \
|
|
|
|
SleepLib/machine_loader.cpp \
|
|
|
|
SleepLib/preferences.cpp \
|
|
|
|
SleepLib/profiles.cpp \
|
|
|
|
SleepLib/loader_plugins/cms50_loader.cpp \
|
|
|
|
SleepLib/loader_plugins/prs1_loader.cpp \
|
|
|
|
SleepLib/loader_plugins/zeo_loader.cpp \
|
2011-07-29 14:58:44 +00:00
|
|
|
SleepLib/loader_plugins/resmed_loader.cpp \
|
2011-06-26 08:30:44 +00:00
|
|
|
daily.cpp \
|
2011-07-29 14:58:44 +00:00
|
|
|
oximetry.cpp \
|
2011-06-26 08:30:44 +00:00
|
|
|
overview.cpp \
|
|
|
|
mainwindow.cpp \
|
|
|
|
SleepLib/event.cpp \
|
|
|
|
SleepLib/session.cpp \
|
|
|
|
SleepLib/day.cpp \
|
|
|
|
Graphs/gLineChart.cpp \
|
|
|
|
Graphs/gLineOverlay.cpp \
|
|
|
|
Graphs/gFooBar.cpp \
|
|
|
|
Graphs/gXAxis.cpp \
|
|
|
|
Graphs/gYAxis.cpp \
|
|
|
|
Graphs/gFlagsLine.cpp \
|
|
|
|
Graphs/glcommon.cpp \
|
2011-07-29 14:58:44 +00:00
|
|
|
Graphs/gSegmentChart.cpp \
|
2011-08-02 09:12:10 +00:00
|
|
|
qextserialport/qextserialport.cpp \
|
2011-08-25 06:11:44 +00:00
|
|
|
preferencesdialog.cpp \
|
2011-08-30 08:46:24 +00:00
|
|
|
Graphs/gGraphView.cpp \
|
2011-09-10 14:17:45 +00:00
|
|
|
Graphs/gStatsLine.cpp \
|
2011-09-17 12:39:00 +00:00
|
|
|
Graphs/gSummaryChart.cpp \
|
2011-10-01 12:54:20 +00:00
|
|
|
SleepLib/schema.cpp \
|
|
|
|
profileselect.cpp \
|
2011-11-14 14:10:46 +00:00
|
|
|
newprofile.cpp \
|
2011-11-15 21:22:08 +00:00
|
|
|
exportcsv.cpp \
|
2011-11-20 02:59:00 +00:00
|
|
|
common_gui.cpp \
|
2011-11-28 01:39:28 +00:00
|
|
|
SleepLib/loader_plugins/intellipap_loader.cpp \
|
2011-12-16 16:31:58 +00:00
|
|
|
SleepLib/calcs.cpp \
|
|
|
|
updateparser.cpp \
|
|
|
|
quazip/zip.c \
|
|
|
|
quazip/unzip.c \
|
|
|
|
quazip/quazipnewinfo.cpp \
|
|
|
|
quazip/quazipfile.cpp \
|
|
|
|
quazip/quazip.cpp \
|
|
|
|
quazip/quacrc32.cpp \
|
|
|
|
quazip/quaadler32.cpp \
|
|
|
|
quazip/qioapi.cpp \
|
2011-12-16 18:15:57 +00:00
|
|
|
quazip/JlCompress.cpp \
|
2011-12-21 05:47:33 +00:00
|
|
|
UpdaterWindow.cpp \
|
2012-01-22 14:39:20 +00:00
|
|
|
SleepLib/common.cpp \
|
2012-01-24 15:51:11 +00:00
|
|
|
SleepLib/loader_plugins/icon_loader.cpp \
|
|
|
|
SleepLib/loader_plugins/mseries_loader.cpp
|
2011-07-12 14:53:20 +00:00
|
|
|
|
|
|
|
unix:SOURCES += qextserialport/posix_qextserialport.cpp
|
|
|
|
unix:!macx:SOURCES += qextserialport/qextserialenumerator_unix.cpp
|
2011-12-19 17:51:25 +00:00
|
|
|
unix:!macx:LIBS += -lX11 -lz -lGLU
|
2011-07-12 14:53:20 +00:00
|
|
|
|
|
|
|
macx {
|
|
|
|
SOURCES += qextserialport/qextserialenumerator_osx.cpp
|
2011-12-20 01:04:29 +00:00
|
|
|
LIBS += -framework IOKit -framework CoreFoundation -lz
|
2012-11-01 18:44:32 +00:00
|
|
|
ICON = icons/iconfile.icns
|
2011-07-12 14:53:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
win32 {
|
|
|
|
SOURCES += qextserialport/win_qextserialport.cpp qextserialport/qextserialenumerator_win.cpp
|
|
|
|
DEFINES += WINVER=0x0501 # needed for mingw to pull in appropriate dbt business...probably a better way to do this
|
2011-12-20 01:04:29 +00:00
|
|
|
LIBS += -lsetupapi
|
2011-12-17 14:38:15 +00:00
|
|
|
|
2011-12-17 15:12:35 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
if (win32-msvc2008|win32-msvc2010):!equals(TEMPLATE_PREFIX, "vc") {
|
2011-12-17 14:38:15 +00:00
|
|
|
LIBS += -ladvapi32
|
2011-12-17 15:12:35 +00:00
|
|
|
DEFINES += BUILD_WITH_MSVC=1
|
2011-07-12 14:53:20 +00:00
|
|
|
}
|
2011-06-26 08:30:44 +00:00
|
|
|
HEADERS += \
|
|
|
|
SleepLib/machine.h \
|
|
|
|
SleepLib/machine_loader.h \
|
|
|
|
SleepLib/preferences.h \
|
|
|
|
SleepLib/profiles.h \
|
|
|
|
SleepLib/loader_plugins/cms50_loader.h \
|
|
|
|
SleepLib/loader_plugins/prs1_loader.h \
|
|
|
|
SleepLib/loader_plugins/zeo_loader.h \
|
2011-07-29 14:58:44 +00:00
|
|
|
oximetry.h \
|
2011-06-26 08:30:44 +00:00
|
|
|
daily.h \
|
|
|
|
overview.h \
|
|
|
|
mainwindow.h \
|
|
|
|
SleepLib/event.h \
|
|
|
|
SleepLib/machine_common.h \
|
|
|
|
SleepLib/session.h \
|
|
|
|
SleepLib/day.h \
|
|
|
|
Graphs/gLineChart.h \
|
|
|
|
Graphs/gLineOverlay.h \
|
|
|
|
Graphs/gFooBar.h \
|
|
|
|
Graphs/gXAxis.h \
|
|
|
|
Graphs/gYAxis.h \
|
|
|
|
Graphs/gFlagsLine.h \
|
|
|
|
Graphs/glcommon.h \
|
2011-07-29 14:58:44 +00:00
|
|
|
Graphs/gSegmentChart.h\
|
2011-06-28 15:25:20 +00:00
|
|
|
SleepLib/loader_plugins/resmed_loader.h \
|
2011-07-12 14:53:20 +00:00
|
|
|
qextserialport/qextserialport_global.h \
|
|
|
|
qextserialport/qextserialport.h \
|
2011-08-02 09:12:10 +00:00
|
|
|
qextserialport/qextserialenumerator.h \
|
2011-08-25 06:11:44 +00:00
|
|
|
preferencesdialog.h \
|
2011-08-30 08:46:24 +00:00
|
|
|
Graphs/gGraphView.h \
|
2011-09-10 14:17:45 +00:00
|
|
|
Graphs/gStatsLine.h \
|
2011-09-17 12:39:00 +00:00
|
|
|
Graphs/gSummaryChart.h \
|
2011-10-01 12:54:20 +00:00
|
|
|
SleepLib/schema.h \
|
|
|
|
profileselect.h \
|
2011-11-14 14:10:46 +00:00
|
|
|
newprofile.h \
|
2011-11-15 21:22:08 +00:00
|
|
|
exportcsv.h \
|
2011-11-20 02:59:00 +00:00
|
|
|
common_gui.h \
|
2011-11-28 01:39:28 +00:00
|
|
|
SleepLib/loader_plugins/intellipap_loader.h \
|
2011-12-16 12:11:33 +00:00
|
|
|
SleepLib/calcs.h \
|
2011-12-16 16:31:58 +00:00
|
|
|
version.h \
|
|
|
|
updateparser.h \
|
|
|
|
quazip/zip.h \
|
|
|
|
quazip/unzip.h \
|
|
|
|
quazip/quazipnewinfo.h \
|
|
|
|
quazip/quazip_global.h \
|
|
|
|
quazip/quazipfileinfo.h \
|
|
|
|
quazip/quazipfile.h \
|
|
|
|
quazip/quazip.h \
|
|
|
|
quazip/quacrc32.h \
|
|
|
|
quazip/quachecksum32.h \
|
|
|
|
quazip/quaadler32.h \
|
|
|
|
quazip/JlCompress.h \
|
|
|
|
quazip/ioapi.h \
|
2011-12-16 18:15:57 +00:00
|
|
|
quazip/crypt.h \
|
2011-12-21 11:09:50 +00:00
|
|
|
UpdaterWindow.h \
|
2012-01-22 14:39:20 +00:00
|
|
|
SleepLib/common.h \
|
2012-01-24 15:51:11 +00:00
|
|
|
SleepLib/loader_plugins/icon_loader.h \
|
|
|
|
SleepLib/loader_plugins/mseries_loader.h
|
2011-07-12 14:53:20 +00:00
|
|
|
|
2011-06-26 08:30:44 +00:00
|
|
|
|
|
|
|
FORMS += \
|
|
|
|
daily.ui \
|
|
|
|
overview.ui \
|
2011-07-13 05:27:27 +00:00
|
|
|
mainwindow.ui \
|
2011-08-02 22:37:15 +00:00
|
|
|
oximetry.ui \
|
2011-09-10 14:17:45 +00:00
|
|
|
preferencesdialog.ui \
|
2011-10-01 12:54:20 +00:00
|
|
|
report.ui \
|
|
|
|
profileselect.ui \
|
2011-11-14 14:10:46 +00:00
|
|
|
newprofile.ui \
|
2011-12-16 16:31:58 +00:00
|
|
|
exportcsv.ui \
|
2011-12-16 18:15:57 +00:00
|
|
|
UpdaterWindow.ui
|
2011-06-26 08:30:44 +00:00
|
|
|
|
|
|
|
RESOURCES += \
|
2011-12-17 07:18:37 +00:00
|
|
|
Resources.qrc
|
2011-06-26 08:30:44 +00:00
|
|
|
|
|
|
|
OTHER_FILES += \
|
2011-08-05 00:12:23 +00:00
|
|
|
docs/index.html \
|
2011-09-12 12:32:47 +00:00
|
|
|
docs/usage.html \
|
2011-09-17 12:39:00 +00:00
|
|
|
docs/schema.xml \
|
|
|
|
docs/graphs.xml \
|
2011-10-30 14:01:33 +00:00
|
|
|
docs/channels.xml \
|
2011-11-14 14:10:46 +00:00
|
|
|
docs/release_notes.html \
|
2011-11-28 12:03:43 +00:00
|
|
|
docs/startup_tips.txt \
|
|
|
|
docs/countries.txt \
|
2011-12-26 05:51:53 +00:00
|
|
|
docs/tz.txt \
|
2011-12-28 23:46:45 +00:00
|
|
|
LICENSE.txt \
|
2012-01-03 08:10:13 +00:00
|
|
|
docs/tooltips.css \
|
2012-01-11 09:10:40 +00:00
|
|
|
docs/script.js \
|
2012-01-11 13:55:46 +00:00
|
|
|
update.xml \
|
2012-01-12 09:35:50 +00:00
|
|
|
docs/changelog.txt \
|
|
|
|
docs/update_notes.html
|
2011-11-28 12:03:43 +00:00
|
|
|
|
|
|
|
|
2011-11-14 14:10:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-10-30 14:01:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2011-11-15 21:22:08 +00:00
|
|
|
|
|
|
|
|
2011-11-20 02:59:00 +00:00
|
|
|
|
|
|
|
|
2011-11-28 01:39:28 +00:00
|
|
|
|
|
|
|
|