Adding pkgconfig dependency for protobuf and libsync
diff --git a/sync-demo.pro b/sync-demo.pro
index d1161bd..7eb99d0 100644
--- a/sync-demo.pro
+++ b/sync-demo.pro
@@ -18,10 +18,11 @@
 QMAKE_CXXFLAGS *= -g 
 QMAKE_CFLAGS *= -g 
 
-QMAKE_LIBDIR *= /opt/local/lib /usr/local/lib /usr/lib sync/build
-INCLUDEPATH *= /opt/local/include /usr/local/include sync/include
-LIBS *= -lccn -lssl -lcrypto -lpthread -lprotobuf -lsync
 CONFIG += console 
 
 PROTOS = chatbuf.proto
 include (sync-demo.pri)
+
+CONFIG += link_pkgconfig 
+PKGCONFIG += libsync
+PKGCONFIG += protobuf