Deprecate WebKit Support

.. The NOWEBKIT define is no longer required to build.
   We now only support building with Chromium QWebEngine
This commit is contained in:
Mark Liversedge
2020-05-25 09:00:04 +01:00
parent e8b1f69d63
commit f4fcc93693
19 changed files with 13 additions and 454 deletions

View File

@@ -223,14 +223,9 @@ GcWindowRegistry::newGcWindow(GcWinID id, Context *context)
case GcWindowTypes::RealtimePlot: returning = new RealtimePlotWindow(context); break;
case GcWindowTypes::SpinScanPlot: returning = new SpinScanPlotWindow(context); break;
case GcWindowTypes::WorkoutPlot: returning = new WorkoutPlotWindow(context); break;
#ifdef NOWEBKIT
case GcWindowTypes::MapWindow:
case GcWindowTypes::StreetViewWindow:
returning = new GcChartWindow(context); break;
#else
case GcWindowTypes::MapWindow: returning = new MapWindow(context); break;
case GcWindowTypes::StreetViewWindow: returning = new StreetViewWindow(context); break;
#endif
// old maps (GoogleMap and BingMap) replaced by RideMapWindow
case GcWindowTypes::GoogleMap: id=GcWindowTypes::RideMapWindow; returning = new RideMapWindow(context, RideMapWindow::GOOGLE); break; // new GoogleMapControl(context);
case GcWindowTypes::BingMap: id=GcWindowTypes::RideMapWindow; returning = new RideMapWindow(context, RideMapWindow::OSM); break; //returning = new BingMap(context);