watcher = new QFileSystemWatcher(); watcher->addPath(path); QObject::connect(watcher, SIGNAL(fileChanged(const QString &))), MyService, SLOT(scanfile(const QString &));
include(/usr/local/include/qt4/QtService/qtservice.pri)include(D:/Qt/2010.05/qt/include/QtService/qtservice.pri)