Results 1 to 4 of 4

Thread: qtlogging.ini, QT_LOGGING_RULES and qt.widgets.gestures output

  1. #1
    Join Date
    Jun 2011
    Posts
    23
    Thanks
    2
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default qtlogging.ini, QT_LOGGING_RULES and qt.widgets.gestures output

    Hi,

    I'm running the QT5 example basiclayout and when I do gestures (move mouse etc) I get the following output on my konsole and I don't like it. how can I turn this off?

    Also where are all the rules options that can be put in the qtlogging.ini?

    cheers,
    Tara

    qt.widgets.gestures: QGestureManager:Recognizer: ignored the event: QPanGesture(state=NoGesture,lastOffset=0,0QPointF( 0,0),offset=0,0,acceleration=0,delta=0,0) QEvent(Leave, 0x7ffdf7ab0870)
    qt.widgets.gestures: QGestureManager:Recognizer: ignored the event: QPanGesture(state=NoGesture,lastOffset=0,0QPointF( 0,0),offset=0,0,acceleration=0,delta=0,0) QEvent(WindowDeactivate, 0x7ffdf7ab0810)
    qt.widgets.gestures: QGestureManager:Recognizer: ignored the event: QPanGesture(state=NoGesture,lastOffset=0,0QPointF( 0,0),offset=0,0,acceleration=0,delta=0,0) QEvent(WindowDeactivate, 0x7ffdf7ab0810)
    qt.widgets.gestures: QGestureManager:Recognizer: ignored the event: QPanGesture(state=NoGesture,lastOffset=0,0QPointF( 0,0),offset=0,0,acceleration=0,delta=0,0) QEvent(WindowDeactivate, 0x7ffdf7ab0810)
    qt.widgets.gestures: QGestureManager:Recognizer: ignored the event: QPanGesture(state=NoGesture,lastOffset=0,0QPointF( 0,0),offset=0,0,acceleration=0,delta=0,0) QHideEvent(Hide, 0x7ffdf7ab0790)
    qt.widgets.gestures: QGestureManager:Recognizer: ignored the event: QPanGesture(state=NoGesture,lastOffset=0,0QPointF( 0,0),offset=0,0,acceleration=0,delta=0,0) QHideEvent(Hide, 0x7ffdf7ab06f0)
    qt.widgets.gestures: QGestureManager:Recognizer: ignored the event: QPanGesture(state=NoGesture,lastOffset=0,0QPointF( 0,0),offset=0,0,acceleration=0,delta=0,0) QHideEvent(Hide, 0x7ffdf7ab06f0)

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: qtlogging.ini, QT_LOGGING_RULES and qt.widgets.gestures output

    You could install a message handler and suppress the output
    http://doc.qt.io/qt-5/qtglobal.html#...MessageHandler
    Or define QT_NO_WARNING_OUTPUT

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

    Default Re: qtlogging.ini, QT_LOGGING_RULES and qt.widgets.gestures output

    You could also try to switch off logging for debug/info/warning of "qt.widgets.gestures"

    According to http://doc.qt.io/qt-5/qloggingcatego...ing-categories that would be something like
    Qt Code:
    1. qt.widgets.gestures.debug=false
    2. qt.widgets.gestures.info=false
    3. qt.widgets.gestures.warning=false
    To copy to clipboard, switch view to plain text mode 
    Might even be possible to use the wildcard for the type.

    Cheers,
    _

  4. #4
    Join Date
    Jun 2011
    Posts
    23
    Thanks
    2
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: qtlogging.ini, QT_LOGGING_RULES and qt.widgets.gestures output

    Excellent! thank you that worked nicely

Similar Threads

  1. Gestures and QGraphicsScene
    By estel in forum Qt Programming
    Replies: 21
    Last Post: 13th January 2011, 08:52
  2. Qt gestures on PC
    By pingwinek in forum Qt Programming
    Replies: 10
    Last Post: 1st December 2010, 02:30
  3. Scrolling with gestures
    By woodtluk in forum Qt Programming
    Replies: 4
    Last Post: 30th September 2010, 16:47
  4. Image Gestures example on OSX 10.5.8
    By jhndnn in forum Qt Programming
    Replies: 2
    Last Post: 17th September 2010, 12:55
  5. Gestures
    By emrares in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 20th December 2009, 09:30

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.