1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 03:35:53 +01:00

Fixed Android build

This commit is contained in:
Martin Tůma 2022-06-02 22:08:40 +02:00
parent feb1650ed0
commit ca1c576562
2 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,8 @@
#include "navigationwidget.h"
#include <QEvent> #include <QEvent>
#include <QResizeEvent> #include <QResizeEvent>
#include <QPainter> #include <QPainter>
#include "mapview.h"
#include "navigationwidget.h"
#define MARGIN 5 #define MARGIN 5
#define SIZE 40 #define SIZE 40

View File

@ -1,10 +1,11 @@
#ifndef NAVIGATIONWIDGET_H #ifndef NAVIGATIONWIDGET_H
#define NAVIGATIONWIDGET_H #define NAVIGATIONWIDGET_H
#ifdef Q_OS_ANDROID
#include <QWidget> #include <QWidget>
#include "mapview.h"
class MapView;
#ifdef Q_OS_ANDROID
class NavigationWidget : public QWidget class NavigationWidget : public QWidget
{ {
Q_OBJECT Q_OBJECT