Index: trunk/GnssCenter/monitor/monitor.pro
===================================================================
--- trunk/GnssCenter/monitor/monitor.pro	(revision 5659)
+++ trunk/GnssCenter/monitor/monitor.pro	(revision 6590)
@@ -6,8 +6,7 @@
 INCLUDEPATH         += ../qwt ../main
 DESTDIR              = ../plugins
-LIBS                 = -L../qwt -lqwt
-
-INCLUDEPATH         += /usr/local/include/thrift
-INCLUDEPATH         += /usr/include/thrift
+QMAKE_LIBDIR        += ../qwt $(HOME)/Software/thrift/lib
+LIBS                 = -lqwt -lthrift
+INCLUDEPATH         += $(HOME)/Software/thrift/include/thrift
 DEFINES             += HAVE_INTTYPES_H HAVE_NETINET_IN_H
 
@@ -17,11 +16,10 @@
 release:MOC_DIR     = .moc/release
 
-thrift.target   = gen-cpp/RtnetData.cpp
+thrift.target   = gen-cpp
 thrift.commands = "thrift -r -gen cpp $(THRIFT_DIR)/rtnet.thrift"
 thrift.depends  = $(THRIFT_DIR)/rtnet.thrift $(THRIFT_DIR)/rtnet_data.thrift
 
+PRE_TARGETDEPS      += gen-cpp
 QMAKE_EXTRA_TARGETS += thrift
-PRE_TARGETDEPS      += gen-cpp
-LIBS                += -lthrift
 
 HEADERS   = monitor.h      \
