--- qtwitter-app/qtwitter-app.pro
+++ qtwitter-app/qtwitter-app.pro
@@ -82,7 +82,8 @@
 else:unix {
     LIBS += -L$${DESTDIR} \
         -Wl,-rpath,$${DESTDIR} \
-        $$TWITTERAPI_LIB
+        $$TWITTERAPI_LIB \
+	-lX11
     target.path = $${INSTALL_PREFIX}/bin
     PLUGINS_DIR = $${INSTALL_PREFIX}/lib$${LIB_SUFFIX}/$${TARGET}/plugins
     DEFINES += PLUGINS_DIR='\\\"$${PLUGINS_DIR}\\\"'