diff --git a/src/gcconfig.pri.in b/src/gcconfig.pri.in index 6f50549b2..a0c24d6fe 100644 --- a/src/gcconfig.pri.in +++ b/src/gcconfig.pri.in @@ -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 diff --git a/src/src.pro b/src/src.pro index 7a6bca1a5..0dd0dbb00 100644 --- a/src/src.pro +++ b/src/src.pro @@ -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