[Delete] #include framework for FSEventStreamRef type in Qt
-
I'm building a Application on mac use Qt5.0.2, mac version 10.7.4. I want to use xcode in the project, detail is FSEventStreamRef type but the error display :"FSEventStreamRef does not name a type" . Here is my code
Watcher.pro
@
OTHER_FILES += FileWatcher.mm
OBJECTIVE_SOURCES += FileWatcher.mm
LIBS += -framework CoreServices
@FileWatcher.h
@
class FileWatcher
{
public:
FileWatcher();
~FileWatcher();
Private:
FSEventStreamRef stream;
}
@Can you help me ?
Thanks.