[utilities/skanpage] src: 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 d1643a7c937a57e5b0f82c8294f074aded657621 by Friedrich W. H. Kossebau.
Committed on 20/07/2026 at 15:12.
Pushed by kossebau into branch 'master'.

Include only needed header instead of QtQml module header

Qt module headers increase build cost by all their own includes.

M  +3    -1    src/Skanpage.cpp

https://invent.kde.org/utilities/skanpage/-/commit/d1643a7c937a57e5b0f82c8294f074aded657621

diff --git a/src/Skanpage.cpp b/src/Skanpage.cpp
index ace21af..1954d57 100644
--- a/src/Skanpage.cpp
+++ b/src/Skanpage.cpp
@@ -7,12 +7,14 @@
 
 #include "Skanpage.h"
 
+#include <QDir>
 #include <QFile>
 #include <QImageReader>
 #include <QJsonDocument>
 #include <QJsonObject>
 #include <QThread>
-#include <QtQml>
+#include <QQmlContext>
+#include <QQmlEngine>
 
 #include <KConfigGroup>
 #include <KSharedConfig>
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.