From b40354c7f28676d011de35e49b178d9aa789bbc7 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 8 Jan 2021 12:53:27 -0800 Subject: build-system: compile stats code on mobile OSs Android and iOS use qmake, so add the code to the .pro file. This also removes all remnants of QCharts includes and uses and all the references to QCharts in our various build systems. That was a brief but extremely useful detour. Signed-off-by: Dirk Hohndel --- stats/barseries.cpp | 1 - stats/boxseries.cpp | 1 - stats/informationbox.cpp | 1 - stats/pieseries.cpp | 1 - stats/scatterseries.cpp | 1 - stats/statsaxis.cpp | 2 -- stats/statsaxis.h | 3 --- stats/statsgrid.cpp | 1 - 8 files changed, 11 deletions(-) (limited to 'stats') diff --git a/stats/barseries.cpp b/stats/barseries.cpp index 986aa7e0d..49170bf80 100644 --- a/stats/barseries.cpp +++ b/stats/barseries.cpp @@ -7,7 +7,6 @@ #include "zvalues.h" #include // for lrint() -#include #include // Constants that control the bar layout diff --git a/stats/boxseries.cpp b/stats/boxseries.cpp index c684eff8b..08a421205 100644 --- a/stats/boxseries.cpp +++ b/stats/boxseries.cpp @@ -6,7 +6,6 @@ #include "statstranslations.h" #include "zvalues.h" -#include #include // Constants that control the bar layout diff --git a/stats/informationbox.cpp b/stats/informationbox.cpp index c11104333..189fd1ab1 100644 --- a/stats/informationbox.cpp +++ b/stats/informationbox.cpp @@ -2,7 +2,6 @@ #include "statscolors.h" #include "zvalues.h" -#include #include #include diff --git a/stats/pieseries.cpp b/stats/pieseries.cpp index ac43b6d3a..fe7de17f7 100644 --- a/stats/pieseries.cpp +++ b/stats/pieseries.cpp @@ -8,7 +8,6 @@ #include #include -#include #include #include diff --git a/stats/scatterseries.cpp b/stats/scatterseries.cpp index 67687de72..8e2399008 100644 --- a/stats/scatterseries.cpp +++ b/stats/scatterseries.cpp @@ -10,7 +10,6 @@ #include "core/divelist.h" #include "core/qthelper.h" -#include #include #include diff --git a/stats/statsaxis.cpp b/stats/statsaxis.cpp index 4d70488da..8b8694964 100644 --- a/stats/statsaxis.cpp +++ b/stats/statsaxis.cpp @@ -9,7 +9,6 @@ #include "core/subsurface-time.h" #include // for lrint #include -#include #include #include @@ -228,7 +227,6 @@ ValueAxis::ValueAxis(const QString &title, double min, double max, int decimals, void ValueAxis::updateLabels() { - using QtCharts::QValueAxis; labels.clear(); ticks.clear(); diff --git a/stats/statsaxis.h b/stats/statsaxis.h index dbcfb6fbd..72a191963 100644 --- a/stats/statsaxis.h +++ b/stats/statsaxis.h @@ -4,12 +4,9 @@ #include #include -#include -#include #include #include #include -#include class QGraphicsScene; diff --git a/stats/statsgrid.cpp b/stats/statsgrid.cpp index 11b05882b..66c720c33 100644 --- a/stats/statsgrid.cpp +++ b/stats/statsgrid.cpp @@ -5,7 +5,6 @@ #include "statshelper.h" #include "zvalues.h" -#include #include static const double gridWidth = 1.0; -- cgit v1.2.3-70-g09d2