diff options
author | Oliver Wolff <oliver.wolff@digia.com> | 2013-12-05 13:15:11 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-06 15:06:47 +0100 |
commit | fadcb0a72b59a8c7082dc9c893b76125b8f6caf3 (patch) | |
tree | 3e81fd090371250e6579928ccbe91a4205d677e2 /src/corelib/global/qglobal.h | |
parent | fa2f92c9e95fd0114710fc2a9fe0431e16c747f5 (diff) |
WinRT: Added networkinterface and hostinfo
While QHostInfo and QNetworkInterface are implemented,
socket implementation is just a stub for now. Having
stub implementation is preferable over not having them
at all is because most applications will not build, if
sockets are not available. Even though they do not
do anything useful yet, applications can be compiled
and run to get an idea how network will work on WinRT.
Change-Id: I78ea88901a30280d4098b75ef7398c2628dd19c8
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@digia.com>
Diffstat (limited to 'src/corelib/global/qglobal.h')
-rw-r--r-- | src/corelib/global/qglobal.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index da5f65fafb..b3c2be528c 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -551,8 +551,11 @@ class QDataStream; #endif #if defined(Q_OS_WINRT) -# define QT_NO_PROCESS # define QT_NO_FILESYSTEMWATCHER +# define QT_NO_NETWORKPROXY +# define QT_NO_PROCESS +# define QT_NO_SOCKETNOTIFIER +# define QT_NO_SOCKS5 #endif inline void qt_noop(void) {} |