--- a/plugins/ipfilter/CMakeLists.txt	2013-01-14 17:12:24.000000000 +0000
+++ b/plugins/ipfilter/CMakeLists.txt	2013-10-08 09:07:35.000000000 +0000
@@ -9,10 +9,11 @@
     ktcore
     ${LIBKTORRENT_LIBRARIES}
     ${KDE4_KPARTS_LIBS}
+    ${QT_QTNETWORK_LIBRARY}
     ${QT_QT3SUPPORT_LIBRARY}
     )
 install(TARGETS ktipfilterplugin  DESTINATION ${PLUGIN_INSTALL_DIR} )
 install(FILES ktipfilterplugin.desktop  DESTINATION  ${SERVICES_INSTALL_DIR} )
 
 
-add_subdirectory(tests)
\ No newline at end of file
+add_subdirectory(tests)

--- a/plugins/ipfilter/tests/CMakeLists.txt	2013-01-14 17:12:24.000000000 +0000
+++ b/plugins/ipfilter/tests/CMakeLists.txt	2013-10-08 09:15:26.000000000 +0000
@@ -1,3 +1,3 @@
 set(ipblocklisttest_SRCS ipblocklisttest.cpp ../ipblocklist.cpp)
 kde4_add_unit_test(ipblocklisttest TESTNAME ipblocklisttest ${ipblocklisttest_SRCS})
-target_link_libraries(ipblocklisttest ${QT_QTTEST_LIBRARY} ktorrent)
+target_link_libraries(ipblocklisttest ${QT_QTTEST_LIBRARY} ${QT_QTNETWORK_LIBRARY} ktorrent)
