fix conditional build

wilder-5.14
Marco Martin 11 years ago
parent dcf1db72a2
commit b7628a8d72
  1. 3
      components/shellprivate/config-shellprivate.h.cmake
  2. 4
      components/shellprivate/shellprivateplugin.cpp

@ -1,2 +1 @@
#cmakedefine01 HAVE_KF5TEXTEDITOR
#cmakedefine01 KF5TextEditor_FOUND

@ -28,7 +28,7 @@
#include "widgetexplorer/widgetexplorer.h"
#include <plasma/containment.h>
#if HAVE_KF5TEXTEDITOR
#if KF5TextEditor_FOUND
#include "interactiveconsole/interactiveconsole.h"
#endif
@ -38,7 +38,7 @@ void PlasmaShellPrivatePlugin::registerTypes(const char *uri)
qmlRegisterType<Plasma::Containment>();
qmlRegisterType<WidgetExplorer>(uri, 2, 0, "WidgetExplorer");
#if HAVE_KF5TEXTEDITOR
#if KF5TextEditor_FOUND
qmlRegisterType<InteractiveConsoleItem>(uri, 2, 0, "InteractiveConsoleWindow");
#endif
}

Loading…
Cancel
Save