Results 1 to 6 of 6

Thread: QAbstractNativeEventFilter::nativeEventFilter not receiving DBT_DEVICEARRIVAL

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2009
    Posts
    5
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QAbstractNativeEventFilter::nativeEventFilter not receiving DBT_DEVICEARRIVAL

    if you are talking about the return value from nativeEvent, then I have tried with false. But I still don't get the usb insertion/removal events

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: QAbstractNativeEventFilter::nativeEventFilter not receiving DBT_DEVICEARRIVAL

    Hmm, then maybe it is necessary to register for these events by calling some Windows API?

    Also maybe check if libusb can deliver those notifications or if using a Qt hardware managemenSolid is a workable option.

    Cheers,
    _

Similar Threads

  1. Replies: 0
    Last Post: 27th May 2015, 16:27
  2. help with QAbstractNativeEventFilter
    By alee in forum Newbie
    Replies: 1
    Last Post: 2nd October 2013, 22:39
  3. Receiving Streaming frames
    By ^NyAw^ in forum Qt Programming
    Replies: 2
    Last Post: 25th May 2012, 09:14
  4. receiving XButtonEvent but not QMouseEvent
    By vivek.m in forum Qt Programming
    Replies: 0
    Last Post: 17th August 2010, 12:46
  5. mouseMoveEvent receiving zero's
    By JohnTh in forum Newbie
    Replies: 2
    Last Post: 11th September 2009, 17:31

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
  •  
Qt is a trademark of The Qt Company.