Re: [Interest] Native event filter in QtService

2016-06-24 Thread Konstantin Shegunov
On Fri, Jun 24, 2016 at 5:56 PM, Julius Bullinger < julius.bullin...@asctec.de> wrote: > It still doesn’t work like in a QCodeApplication because I only receive > windows_dispatcher_MSG > and no windows_generic_MSG, but this may be Window’s fault. > One thing I forgot to mention, you could try

Re: [Interest] Native event filter in QtService

2016-06-24 Thread Konstantin Shegunov
On Fri, Jun 24, 2016 at 5:56 PM, Julius Bullinger < julius.bullin...@asctec.de> wrote: > Replacing QtService with your QtDaemon was relatively straight forward, > and as a result I can receive native events now! > Excellent! I'm glad it works for you and thanks for the contribution, I'll be

Re: [Interest] Native event filter in QtService

2016-06-24 Thread Julius Bullinger
rest] Native event filter in QtService Hi, If I may be so bold, I've wrapped up a (Qt 5) replacement for QtService recently. You might be interested to try it out (I've chosen the MIT license). https://bitbucket.org/nye/qtdaemon Kind regards. ___ Inte

Re: [Interest] Native event filter in QtService

2016-06-24 Thread Tony Rietwyk
2016 10:57 Uhr An: interest@qt-project.org Betreff: Re: [Interest] Native event filter in QtService Hi Julius, qtservice_win.cpp around line 830 at your reference [1] installs its own nativeEventFilter - probably displacing yours. I suspect you'll need to merge the Qt filter into yours

Re: [Interest] Native event filter in QtService

2016-06-24 Thread Konstantin Shegunov
Hi, If I may be so bold, I've wrapped up a (Qt 5) replacement for QtService recently. You might be interested to try it out (I've chosen the MIT license). https://bitbucket.org/nye/qtdaemon Kind regards. ___ Interest mailing list Interest@qt-project.org

Re: [Interest] Native event filter in QtService

2016-06-24 Thread Bo Thorsen
brittle and may not work if the solutions code is changed. *From:*Interest [mailto:interest-bounces+tony=rightsoft.com...@qt-project.org] *On Behalf Of *Julius Bullinger *Sent:* Friday, 24 June 2016 5:25 PM *To:* interest@qt-project.org Interest *Subject:* [Interest] Native event filter in QtService

Re: [Interest] Native event filter in QtService

2016-06-24 Thread Julius Bullinger
An: interest@qt-project.org Betreff: Re: [Interest] Native event filter in QtService Hi Julius, qtservice_win.cpp around line 830 at your reference [1] installs its own nativeEventFilter - probably displacing yours. I suspect you'll need to merge the Qt filter into yours, and get rid of that install

Re: [Interest] Native event filter in QtService

2016-06-24 Thread Tony Rietwyk
-bounces+tony=rightsoft.com...@qt-project.org] On Behalf Of Julius Bullinger Sent: Friday, 24 June 2016 5:25 PM To: interest@qt-project.org Interest Subject: [Interest] Native event filter in QtService I'm trying to write a small (windows only) service based on QtService [1] listening for some USB

[Interest] Native event filter in QtService

2016-06-24 Thread Julius Bullinger
I'm trying to write a small (windows only) service based on QtService [1] listening for some USB device events. For this, I created a NativeDeviceEventFilter class based on QAbstractNativeEventFilter. It works perfectly when used in a QCoreApplication. Now, when installing this event filter in