diff options
author | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2016-06-10 14:40:30 +0200 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2016-06-10 12:42:02 +0000 |
commit | 83b3ef2c76c7f8d0feee83c25b065913e35072f2 (patch) | |
tree | f387c59b5284f0a1aec939347554f9f467d86189 /src/plugins | |
parent | 439847b4f2ed31386d98802398fa7e8ad0ebf54e (diff) | |
download | qtlocation-83b3ef2c76c7f8d0feee83c25b065913e35072f2.tar.gz |
Fix namespaced build of Qt
Change-Id: I38dda74ec97a0172c1127d7c1758d100aeb849d1
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/position/winrt/qgeopositioninfosource_winrt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/position/winrt/qgeopositioninfosource_winrt.cpp b/src/plugins/position/winrt/qgeopositioninfosource_winrt.cpp index 245d855e..bc3ce6e7 100644 --- a/src/plugins/position/winrt/qgeopositioninfosource_winrt.cpp +++ b/src/plugins/position/winrt/qgeopositioninfosource_winrt.cpp @@ -62,10 +62,10 @@ typedef IAsyncOperationCompletedHandler<Geoposition*> PositionHandler; typedef IAsyncOperationCompletedHandler<GeolocationAccessStatus> AccessHandler; #endif -QT_BEGIN_NAMESPACE - Q_DECLARE_METATYPE(QGeoPositionInfo) +QT_BEGIN_NAMESPACE + #ifndef Q_OS_WINRT namespace QEventDispatcherWinRT { HRESULT runOnXamlThread(const std::function<HRESULT ()> &delegate, bool waitForRun = true) |