From ca1c5765628aaabf548a8f17632812f653ffb04d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Thu, 2 Jun 2022 22:08:40 +0200 Subject: [PATCH] Fixed Android build --- src/GUI/navigationwidget.cpp | 3 ++- src/GUI/navigationwidget.h | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/GUI/navigationwidget.cpp b/src/GUI/navigationwidget.cpp index 00b8aefb..b731b914 100644 --- a/src/GUI/navigationwidget.cpp +++ b/src/GUI/navigationwidget.cpp @@ -1,7 +1,8 @@ -#include "navigationwidget.h" #include #include #include +#include "mapview.h" +#include "navigationwidget.h" #define MARGIN 5 #define SIZE 40 diff --git a/src/GUI/navigationwidget.h b/src/GUI/navigationwidget.h index d890fa9c..a0921906 100644 --- a/src/GUI/navigationwidget.h +++ b/src/GUI/navigationwidget.h @@ -1,10 +1,11 @@ #ifndef NAVIGATIONWIDGET_H #define NAVIGATIONWIDGET_H -#ifdef Q_OS_ANDROID #include -#include "mapview.h" +class MapView; + +#ifdef Q_OS_ANDROID class NavigationWidget : public QWidget { Q_OBJECT