Wahoo Fitness API Framework

gcconfig.pri.in and src.pro updates to
add WFConnector framework for BTLE and
Kickr APIs on Mac only.
This commit is contained in:
Mark Liversedge
2013-01-18 18:58:38 +00:00
parent cb7e8ee5a6
commit 94850107c5
2 changed files with 9 additions and 0 deletions

View File

@@ -207,6 +207,9 @@ macx {
# Uncomment this line if you have SDK 10.7 or higher
#DEFINES += GC_HAVE_LION
# Uncomment this line if you have the Mac OSX Wahoo API installed (Kickr)
#HAVE_WFAPI = true
}
#if you want a 'robot' to test realtime code without having

View File

@@ -153,6 +153,12 @@ macx {
SOURCES += GcScopeBar.cpp
# on a mac we may install the Wahoo API for BTLE/Kickr support
!isEmpty(HAVE_WFAPI) {
DEFINES += GC_HAVE_WFAPI
LIBS += -framework WFConnector
}
} else {
# not a mac? then F12 to toggle full screen using
# standard QT showFullScreen / showNormal