Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Delete] #include framework for FSEventStreamRef type in Qt
QtWS25 Last Chance

[Delete] #include framework for FSEventStreamRef type in Qt

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 556 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    unnormal
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved