--- CMakeLists.txt.old 2009-08-03 11:30:46.000000000 +0200 +++ CMakeLists.txt 2009-08-03 11:38:23.022023361 +0200 @@ -42,6 +42,10 @@ ${QJSON_INCLUDE_DIR} ) +link_directories( + ${QT_LIBRARY_DIR} +) + set(facebook_SRCS facebook/chatservice.cpp facebook/buddyinfo.cpp @@ -68,7 +73,7 @@ #QT4_AUTOMOC(${facebook_SRCS}) kde4_add_executable(facebooktest test.cpp ${facebook_SRCS}) -target_link_libraries(facebooktest kopete ${QJSON_LIBRARIES}) +target_link_libraries(facebooktest kopete ${QJSON_LIBRARIES} ${QT_QTNETWORK_LIBRARY} ${QT_QTGUI_LIBRARY}) if(WIN32) target_link_libraries(kopete_facebook ${KDE4_KIO_LIBS} kopete ${QJSON_LIBRARIES})