aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml')
-rw-r--r--src/qml/qml/qqmlapplicationengine.cpp11
-rw-r--r--src/qml/qml/qqmlapplicationengine.h3
2 files changed, 0 insertions, 14 deletions
diff --git a/src/qml/qml/qqmlapplicationengine.cpp b/src/qml/qml/qqmlapplicationengine.cpp
index 01670b91d3..f7b8750d76 100644
--- a/src/qml/qml/qqmlapplicationengine.cpp
+++ b/src/qml/qml/qqmlapplicationengine.cpp
@@ -373,17 +373,6 @@ QList<QObject *> QQmlApplicationEngine::rootObjects() const
return d->objects;
}
-#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
-/*!
- \overload
- \internal
-*/
-QList<QObject *> QQmlApplicationEngine::rootObjects()
-{
- return qAsConst(*this).rootObjects();
-}
-#endif // < Qt 6
-
QT_END_NAMESPACE
#include "moc_qqmlapplicationengine.cpp"
diff --git a/src/qml/qml/qqmlapplicationengine.h b/src/qml/qml/qqmlapplicationengine.h
index 7faa51892e..dc8a0c9100 100644
--- a/src/qml/qml/qqmlapplicationengine.h
+++ b/src/qml/qml/qqmlapplicationengine.h
@@ -58,9 +58,6 @@ public:
QQmlApplicationEngine(const QString &filePath, QObject *parent = nullptr);
~QQmlApplicationEngine() override;
-#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
- QList<QObject*> rootObjects(); // ### Qt 6: remove
-#endif
QList<QObject*> rootObjects() const;
public Q_SLOTS: