Is it possible to build Qt 5 without gestures on OS X?
-
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 + 17Thanks in advance.