summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2018-04-04 10:18:15 +0200
committerOliver Wolff <oliver.wolff@qt.io>2018-04-05 06:23:37 +0000
commit4ca1d6a02cbcc5347205b231108b6bc2b351a4c7 (patch)
treeb3bccb4ce0c4cbab202172d6b940c73929901d3e /src
parent2648bb9395e9bf5df0f35d9ecac54797d84ef71a (diff)
Fix namespaced build
Change-Id: If20574e7bc182e5ee3d5adf6cc6d63cf9ee9d0ef Reviewed-by: Lubomir I. Ivanov <neolit123@gmail.com> Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/bluetooth/qlowenergycontroller_win_p.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/bluetooth/qlowenergycontroller_win_p.h b/src/bluetooth/qlowenergycontroller_win_p.h
index 829e190c..f8e3b10a 100644
--- a/src/bluetooth/qlowenergycontroller_win_p.h
+++ b/src/bluetooth/qlowenergycontroller_win_p.h
@@ -74,8 +74,6 @@ public:
QVariant data;
};
-Q_DECLARE_METATYPE(ThreadWorkerJob)
-
struct WriteCharData
{
QByteArray newValue;
@@ -86,8 +84,6 @@ struct WriteCharData
int systemErrorCode;
};
-Q_DECLARE_METATYPE(WriteCharData)
-
struct ReadCharData
{
QByteArray value;
@@ -96,8 +92,6 @@ struct ReadCharData
int systemErrorCode;
};
-Q_DECLARE_METATYPE(ReadCharData)
-
struct WriteDescData
{
QByteArray newValue;
@@ -106,8 +100,6 @@ struct WriteDescData
int systemErrorCode;
};
-Q_DECLARE_METATYPE(WriteDescData)
-
struct ReadDescData
{
QByteArray value;
@@ -116,8 +108,6 @@ struct ReadDescData
int systemErrorCode;
};
-Q_DECLARE_METATYPE(ReadDescData)
-
class ThreadWorker : public QObject
{
Q_OBJECT
@@ -186,4 +176,10 @@ private:
QT_END_NAMESPACE
+Q_DECLARE_METATYPE(ThreadWorkerJob)
+Q_DECLARE_METATYPE(WriteCharData)
+Q_DECLARE_METATYPE(ReadCharData)
+Q_DECLARE_METATYPE(WriteDescData)
+Q_DECLARE_METATYPE(ReadDescData)
+
#endif // QLOWENERGYCONTROLLERPRIVATE_WIN32__P_H