From 553c6416bb7219d7ab1b40579895bc3ebaeb87c7 Mon Sep 17 00:00:00 2001 From: Oliver Wolff Date: Thu, 13 Feb 2014 11:32:38 +0100 Subject: WinRT: Added socket engine implementation Added basic functionality to socket for WinRT. Even though not all auto tests pass yet, this patch can be seen as a foundation for upcoming work in this area. Reading from and writing to TCP socket works and one can listen for tcp connections. Change-Id: Id4c25ba1c7187ed92b6368c785c4f62837faded7 Reviewed-by: Andrew Knight --- tests/auto/corelib/kernel/qsocketnotifier/tst_qsocketnotifier.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/auto/corelib/kernel/qsocketnotifier/tst_qsocketnotifier.cpp b/tests/auto/corelib/kernel/qsocketnotifier/tst_qsocketnotifier.cpp index 439594b661..5632bcacc4 100644 --- a/tests/auto/corelib/kernel/qsocketnotifier/tst_qsocketnotifier.cpp +++ b/tests/auto/corelib/kernel/qsocketnotifier/tst_qsocketnotifier.cpp @@ -48,7 +48,11 @@ #include #include #include +#ifndef Q_OS_WINRT #include +#else +#include +#endif #define NATIVESOCKETENGINE QNativeSocketEngine #ifdef Q_OS_UNIX #include -- cgit v1.2.3