Index: trunk/GnssCenter/monitor/monitor.pro
===================================================================
--- trunk/GnssCenter/monitor/monitor.pro	(revision 5458)
+++ trunk/GnssCenter/monitor/monitor.pro	(revision 5459)
@@ -17,6 +17,6 @@
 
 thrift.target   = gen-cpp
-thrift.commands = "thrift -r -gen cpp rtnet.thrift"
-thrift.depends  = rtnet.thrift rtnet_data.thrift
+thrift.commands = "thrift -r -gen cpp $(THRIFT_DIR)/rtnet.thrift"
+thrift.depends  = $(THRIFT_DIR)/rtnet.thrift $(THRIFT_DIR)/rtnet_data.thrift
 
 QMAKE_EXTRA_TARGETS += thrift
