We don't actually require XmlPatterns for WebKit
authorManuel Nickschas <sputnick@quassel-irc.org>
Mon, 31 Mar 2014 21:14:55 +0000 (23:14 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 31 Mar 2014 21:14:55 +0000 (23:14 +0200)
No clue why we forced linking against that one, but it doesn't seem
to be required for both Qt4 and Qt5, so let's just remove the dependency.

src/qtui/CMakeLists.txt

index 84a08b9..b66b090 100644 (file)
@@ -125,7 +125,7 @@ endif()
 
 if (QT_QTWEBKIT_FOUND OR Qt5WebKitWidgets_FOUND)
     add_definitions(-DHAVE_WEBKIT)
-    list(APPEND QT_MODULES WebKit XmlPatterns)
+    list(APPEND QT_MODULES WebKit)
     if (USE_QT5)
         list(APPEND QT_MODULES WebKitWidgets)
     endif()