diff --git a/components/shellprivate/config-shellprivate.h.cmake b/components/shellprivate/config-shellprivate.h.cmake index e5c4fb5ac..f4dbf74a9 100644 --- a/components/shellprivate/config-shellprivate.h.cmake +++ b/components/shellprivate/config-shellprivate.h.cmake @@ -1,2 +1 @@ -#cmakedefine01 HAVE_KF5TEXTEDITOR - +#cmakedefine01 KF5TextEditor_FOUND diff --git a/components/shellprivate/shellprivateplugin.cpp b/components/shellprivate/shellprivateplugin.cpp index 4358e28d2..4057cc579 100644 --- a/components/shellprivate/shellprivateplugin.cpp +++ b/components/shellprivate/shellprivateplugin.cpp @@ -28,7 +28,7 @@ #include "widgetexplorer/widgetexplorer.h" #include -#if HAVE_KF5TEXTEDITOR +#if KF5TextEditor_FOUND #include "interactiveconsole/interactiveconsole.h" #endif @@ -38,7 +38,7 @@ void PlasmaShellPrivatePlugin::registerTypes(const char *uri) qmlRegisterType(); qmlRegisterType(uri, 2, 0, "WidgetExplorer"); -#if HAVE_KF5TEXTEDITOR +#if KF5TextEditor_FOUND qmlRegisterType(uri, 2, 0, "InteractiveConsoleWindow"); #endif }