[education/marble] src/lib/marble/declarative: Include only needed header instead of QtQml module header

Friedrich W. H. Kossebau <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 788711966d889e54a00b60510fbcdea93f6f1b1c by Friedrich W. H. Kossebau.
Committed on 16/07/2026 at 22:24.
Pushed by aacid into branch 'master'.

Include only needed header instead of QtQml module header

M  +0    -1    src/lib/marble/declarative/GeoItem.h
M  +0    -1    src/lib/marble/declarative/GeoPolyline.h
M  +1    -1    src/lib/marble/declarative/Navigation.h

https://invent.kde.org/education/marble/-/commit/788711966d889e54a00b60510fbcdea93f6f1b1c

diff --git a/src/lib/marble/declarative/GeoItem.h b/src/lib/marble/declarative/GeoItem.h
index 9bdeecd99..8e09226c5 100644
--- a/src/lib/marble/declarative/GeoItem.h
+++ b/src/lib/marble/declarative/GeoItem.h
@@ -9,7 +9,6 @@
 #include "GeoDataCoordinates.h"
 #include <QObject>
 #include <QQuickItem>
-#include <QtQml>
 
 /**
  * Binds a QML item to a specific geodetic location in screen coordinates.
diff --git a/src/lib/marble/declarative/GeoPolyline.h b/src/lib/marble/declarative/GeoPolyline.h
index 8044afc87..f8e1e1a06 100644
--- a/src/lib/marble/declarative/GeoPolyline.h
+++ b/src/lib/marble/declarative/GeoPolyline.h
@@ -10,7 +10,6 @@
 #include "GeoDataLineString.h"
 #include <QObject>
 #include <QQuickItem>
-#include <QtQml>
 
 /**
  * Represents a coordinate with the properties of a name and coordinates
diff --git a/src/lib/marble/declarative/Navigation.h b/src/lib/marble/declarative/Navigation.h
index 190af6d5b..594a4981d 100644
--- a/src/lib/marble/declarative/Navigation.h
+++ b/src/lib/marble/declarative/Navigation.h
@@ -7,7 +7,7 @@
 #define MARBLE_DECLARATIVE_NAVIGATION_H
 
 #include <QObject>
-#include <QtQml>
+#include <qqmlintegration.h>
 
 namespace Marble
 {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.