Results 1 to 2 of 2

Thread: Watching a UNIX file descriptor

  1. #1
    Join Date
    Feb 2007
    Posts
    61
    Thanks
    12
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Watching a UNIX file descriptor

    Hi

    Is there any way I can integrate a UNIX file descriptor (i.e. file, pipe, socket) with the QT4 mainloop? What I want to achieve is to be notified every time there is an event (e.g. new data to read)?

    Perhaps it seems like a silly question since QT4 got a lot of IO-classes, but I am really wonder about this. Really appreciate any answers.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Watching a UNIX file descriptor

    J-P Nurmi

  3. The following user says thank you to jpn for this useful post:

    invictus (13th January 2009)

Similar Threads

  1. Set up the Qt4.3.2 with Visual Studio 2005
    By lamoda in forum Installation and Deployment
    Replies: 6
    Last Post: 30th January 2008, 06:51
  2. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.