diff options
author | Kai Köhne <kai.koehne@qt.io> | 2022-01-06 16:03:21 +0100 |
---|---|---|
committer | Kai Köhne <kai.koehne@qt.io> | 2022-02-14 12:50:59 +0100 |
commit | 8275611766bceecf045c75a59487d46c8f8a8d4b (patch) | |
tree | 3f26b881fea9f19acd540d5aa5a2dc67dcdc9547 /src/gui/kernel/qguiapplication.cpp | |
parent | b99fdae5f520dbd10b94a2124ea950723c162efb (diff) |
Core: Remove 'properties' feature
Even QtCore alone cannot be built without the properties feature since
Qt 5.5. While fixing this is easy, other modules like dbus,
networking are also using QObject::property() and friends liberally.
All in all I doubt that anybody will miss the feature (otherwise it
would have been fixed in the last decade).
Change-Id: Iaf3cc20bda54ee2ff3b809fac8fa82b94ecc88c0
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/gui/kernel/qguiapplication.cpp')
-rw-r--r-- | src/gui/kernel/qguiapplication.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/kernel/qguiapplication.cpp b/src/gui/kernel/qguiapplication.cpp index 30c0a5fc86..6b9c122074 100644 --- a/src/gui/kernel/qguiapplication.cpp +++ b/src/gui/kernel/qguiapplication.cpp @@ -1281,7 +1281,6 @@ static void init_platform(const QString &pluginNamesWithArguments, const QString if (!QGuiApplicationPrivate::platform_theme) QGuiApplicationPrivate::platform_theme = new QPlatformTheme; -#ifndef QT_NO_PROPERTIES // Set arguments as dynamic properties on the native interface as // boolean 'foo' or strings: 'foo=bar' if (!platformArguments.isEmpty()) { @@ -1296,7 +1295,6 @@ static void init_platform(const QString &pluginNamesWithArguments, const QString } } } -#endif const auto platformIntegration = QGuiApplicationPrivate::platformIntegration(); fontSmoothingGamma = platformIntegration->styleHint(QPlatformIntegration::FontSmoothingGamma).toReal(); |