diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2017-10-24 15:15:41 +0200 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@qt.io> | 2017-10-25 11:06:22 +0000 |
commit | 6029bad7d1007aecd155985ba13d6c23a01015b8 (patch) | |
tree | 1ccce1c04bd6eb8b91f359da4aec99b3e411f56a | |
parent | 75126f6d12c90610b80399ea8337766791e7f62b (diff) | |
download | qtconnectivity-6029bad7d1007aecd155985ba13d6c23a01015b8.tar.gz |
winrt: Fix build using -no-pch
Task-number: QTBUG-63210
Change-Id: I98637337d8a77c8847bd0f2c567fec5e6a4ace31
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
-rw-r--r-- | src/bluetooth/qbluetoothdevicediscoveryagent_p.h | 5 | ||||
-rw-r--r-- | src/bluetooth/qbluetoothserver_p.h | 2 | ||||
-rw-r--r-- | src/bluetooth/qbluetoothservicediscoveryagent_p.h | 4 | ||||
-rw-r--r-- | src/bluetooth/qbluetoothsocket_p.h | 2 | ||||
-rw-r--r-- | src/bluetooth/qlowenergycontroller_winrt.cpp | 1 |
5 files changed, 14 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothdevicediscoveryagent_p.h b/src/bluetooth/qbluetoothdevicediscoveryagent_p.h index 44834024..c4c16bb4 100644 --- a/src/bluetooth/qbluetoothdevicediscoveryagent_p.h +++ b/src/bluetooth/qbluetoothdevicediscoveryagent_p.h @@ -78,6 +78,11 @@ class QDBusVariant; QT_END_NAMESPACE #endif +#ifdef QT_WINRT_BLUETOOTH +#include <QtCore/QPointer> +#include <QtCore/QTimer> +#endif + QT_BEGIN_NAMESPACE #ifdef QT_WINRT_BLUETOOTH diff --git a/src/bluetooth/qbluetoothserver_p.h b/src/bluetooth/qbluetoothserver_p.h index 4abadc72..9c414cdb 100644 --- a/src/bluetooth/qbluetoothserver_p.h +++ b/src/bluetooth/qbluetoothserver_p.h @@ -70,6 +70,8 @@ class ServerAcceptanceThread; #endif #ifdef QT_WINRT_BLUETOOTH +#include <QtCore/QMutex> + #include <wrl.h> // No forward declares because QBluetoothServerPrivate::listener does not work with them #include <windows.networking.sockets.h> diff --git a/src/bluetooth/qbluetoothservicediscoveryagent_p.h b/src/bluetooth/qbluetoothservicediscoveryagent_p.h index c4ea20a9..2a57c531 100644 --- a/src/bluetooth/qbluetoothservicediscoveryagent_p.h +++ b/src/bluetooth/qbluetoothservicediscoveryagent_p.h @@ -72,6 +72,10 @@ class QXmlStreamReader; QT_END_NAMESPACE #endif +#ifdef QT_WINRT_BLUETOOTH +#include <QtCore/QPointer> +#endif + QT_BEGIN_NAMESPACE class QBluetoothDeviceDiscoveryAgent; diff --git a/src/bluetooth/qbluetoothsocket_p.h b/src/bluetooth/qbluetoothsocket_p.h index 907acbe2..ae3c6182 100644 --- a/src/bluetooth/qbluetoothsocket_p.h +++ b/src/bluetooth/qbluetoothsocket_p.h @@ -62,6 +62,8 @@ class WorkerThread; #endif #ifdef QT_WINRT_BLUETOOTH +#include <QtCore/QMutex> + #include <wrl.h> namespace ABI { diff --git a/src/bluetooth/qlowenergycontroller_winrt.cpp b/src/bluetooth/qlowenergycontroller_winrt.cpp index d6fc4952..e4ae76b0 100644 --- a/src/bluetooth/qlowenergycontroller_winrt.cpp +++ b/src/bluetooth/qlowenergycontroller_winrt.cpp @@ -40,6 +40,7 @@ #include "qlowenergycontroller_p.h" #include <QtCore/qfunctions_winrt.h> +#include <QtCore/QtEndian> #include <QtCore/QLoggingCategory> #include <private/qeventdispatcher_winrt_p.h> |