qt5base-lts/tests/auto/gui/kernel/noqteventloop/noqteventloop.pro
Alex Trotsenko 02f70004c2 Allow socket events processing with a foreign event loop on Windows
While a native dialog is open, the application message queue is
handled by the native event loop which is external to Qt. In this
case, QEventDispatcherWin32::processEvents() does not run and socket
notifiers will not be activated. So, this patch moves the notifier
activation code into the window procedure, which enables socket
event processing with native dialogs.

Task-number: QTBUG-49782
Task-number: QTBUG-48901
Change-Id: Icbdd96b2e80c50b73505f4fe74957575b83d6cf1
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2016-01-05 13:05:35 +00:00

9 lines
199 B
Prolog

CONFIG += testcase
TARGET = tst_noqteventloop
QT += core-private network gui-private testlib
SOURCES += tst_noqteventloop.cpp
contains(QT_CONFIG,dynamicgl):win32:!wince*:!winrt: LIBS += -luser32