17aaaad653
If Qt is not running its own event loop (e.g. if Qt is a plugin running in a non-Qt host application with its own event loop, a call to sendPostedEvents() should process all events by default, and not depend on the flags passed to the last call to processEvents() We also modify sendPostedEvents() to call its base implementation instead of directly calling QCoreApplication::sendPostedEvents(). (The behavior of the base implementation is the same, so no behavior change there). This also adds a test for QWindow event handling without Qts event loop is running. This is a black box test, just to ensure that basic functionality is working. It can be extended later. Task-number: QTBUG-45956 Change-Id: I7d688c0c6dec5f133fb495f07526debdde5389af Reviewed-by: Jørgen Lind <jorgen.lind@theqtcompany.com>
37 lines
668 B
Prolog
37 lines
668 B
Prolog
TEMPLATE=subdirs
|
|
SUBDIRS=\
|
|
qbackingstore \
|
|
qclipboard \
|
|
qdrag \
|
|
qevent \
|
|
qfileopenevent \
|
|
qguieventdispatcher \
|
|
qguieventloop \
|
|
qguimetatype \
|
|
qguitimer \
|
|
qguivariant \
|
|
qinputmethod \
|
|
qkeysequence \
|
|
qmouseevent \
|
|
qmouseevent_modal \
|
|
qpalette \
|
|
qscreen \
|
|
qsurfaceformat \
|
|
qtouchevent \
|
|
qwindow \
|
|
qguiapplication \
|
|
qpixelformat \
|
|
qopenglwindow \
|
|
qrasterwindow
|
|
|
|
win32:!wince*:!winrt: SUBDIRS += noqteventloop
|
|
|
|
!qtHaveModule(widgets): SUBDIRS -= \
|
|
qmouseevent_modal \
|
|
qtouchevent
|
|
|
|
!qtHaveModule(network): SUBDIRS -= \
|
|
qguieventloop
|
|
|
|
!contains(QT_CONFIG, opengl(es2)?): SUBDIRS -= qopenglwindow
|