diff --git a/src/declarativeimports/core/corebindingsplugin.cpp b/src/declarativeimports/core/corebindingsplugin.cpp index 9a7886db7..4cd4f6b30 100644 --- a/src/declarativeimports/core/corebindingsplugin.cpp +++ b/src/declarativeimports/core/corebindingsplugin.cpp @@ -96,17 +96,9 @@ void CoreBindingsPlugin::registerTypes(const char *uri) qmlRegisterRevision(uri, 2, 0); qmlRegisterType(uri, 2, 0, "ToolTipArea"); -#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0) - qmlRegisterInterface(uri, 1); -#else qmlRegisterInterface("Service"); -#endif qRegisterMetaType("Service"); -#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0) - qmlRegisterInterface(uri, 1); -#else qmlRegisterInterface("ServiceJob"); -#endif qRegisterMetaType("ServiceJob"); qmlRegisterType(uri, 2, 0, "ServiceOperationStatus"); #if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) @@ -122,11 +114,7 @@ void CoreBindingsPlugin::registerTypes(const char *uri) #endif qmlRegisterType(uri, 2, 0, "IconItem"); -#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0) - qmlRegisterInterface(uri, 1); -#else qmlRegisterInterface("DataSource"); -#endif qRegisterMetaType("DataSource"); qmlRegisterType(uri, 2, 0, "WindowThumbnail");