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. Is it possible to build Qt 5 without gestures on OS X?
Forum Updated to NodeBB v4.3 + New Features

Is it possible to build Qt 5 without gestures on OS X?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 974 Views 1 Watching
  • 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.
  • G Offline
    G Offline
    gvanvoor
    wrote on last edited by
    #1

    Hi,

    I'm not intending to provide support for gestures in my application, yet Qt occasionally crashes (unfortunately this is not reliably reproducible) when attempting to handle gestures (I'm using a magic mouse). So I was wondering if there was some configuration option to disable gestures entirely? I've seen there's a define in the source code to achieve that but found no documentation as to how to set it when configuring Qt.

    For info, part of the crash log:
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libQt5Widgets.5.dylib        
    0x00000001115b8e78 QGestureManager::getGestureTargets(QSet<QGesture*> const&, QHash<QWidget*, QList<QGesture*> >, QHash<QWidget, QList<QGesture*> >) + 1176
    1   libQt5Widgets.5.dylib        
    0x00000001115b6dbc QGestureManager::deliverEvents(QSet<QGesture
    > const&, QSet<QGesture*>) + 972
    2   libQt5Widgets.5.dylib        
    0x00000001115b616f QGestureManager::filterEventThroughContexts(QMultiMap<QObject
    , Qt::GestureType> const&, QEvent*) + 4255
    3   libQt5Widgets.5.dylib        
    0x00000001115b83b9 QGestureManager::filterEvent(QWidget*, QEvent*) + 889
    4   libQt5Widgets.5.dylib        
    0x00000001115700e9 QApplication::notify(QObject*, QEvent*) + 457
    5   libQt5Core.5.dylib            
    0x0000000110f9f972 QCoreApplication::notifyInternal(QObject*, QEvent*) + 114
    6   libQt5Core.5.dylib            
    0x0000000110feecd6 QTimerInfoList::activateTimers() + 982
    7   libqcocoa.dylib              
    0x0000000114291725 QCocoaEventDispatcherPrivate::activateTimersSourceCallback(void*) + 21
    8   com.apple.CoreFoundation      
    0x00007fff8fe43661 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17

    Thanks in advance.

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Rondog
      wrote on last edited by
      #2

      Did you build Qt from source of use the installer?

      I have never had a Qt crash on OS X (all crashes I experienced were from something I did wrong). I always install from the source and may have removed this part without realizing it (?).

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gvanvoor
        wrote on last edited by
        #3

        I built it from source (version 5.3.1)

        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