diff options
Diffstat (limited to 'src/modules/objects/libkviobjects.cpp')
| -rw-r--r-- | src/modules/objects/libkviobjects.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/objects/libkviobjects.cpp b/src/modules/objects/libkviobjects.cpp index d3e7fa28b..8a274b7d7 100644 --- a/src/modules/objects/libkviobjects.cpp +++ b/src/modules/objects/libkviobjects.cpp @@ -63,7 +63,7 @@ #include "KvsObject_treeWidget.h" #include "KvsObject_treeWidgeteItem.h" #include "KvsObject_vBox.h" -#ifdef COMPILE_WEBKIT_SUPPORT +#if defined(COMPILE_WEBKIT_SUPPORT) && (QT_VERSION >= 0x040600) #include "KvsObject_webView.h" #endif #include "KvsObject_widget.h" @@ -99,7 +99,7 @@ static bool objects_module_cleanup(KviModule *) { // Don't attempt to change the order of these calls. // Derived classes must be unregistered before the base ones. - #ifdef COMPILE_WEBKIT_SUPPORT + #if defined(COMPILE_WEBKIT_SUPPORT) && (QT_VERSION >= 0x040600) KvsObject_webView::unregisterSelf(); #endif KvsObject_memoryBuffer::unregisterSelf(); @@ -807,7 +807,7 @@ static bool objects_module_init(KviModule * m) KvsObject_trayIcon::registerSelf(); KvsObject_process::registerSelf(); KvsObject_memoryBuffer::registerSelf(); - #ifdef COMPILE_WEBKIT_SUPPORT + #if defined(COMPILE_WEBKIT_SUPPORT) && (QT_VERSION >= 0x040600) KvsObject_webView::registerSelf(); #endif return true; |
