summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2018-10-05 15:20:21 +0200
committerLiang Qi <liang.qi@qt.io>2018-10-05 18:09:05 +0000
commit00e6ddfccec25bfb6dd3f39e8897cf9baf453b99 (patch)
tree0cd374f074b49238aa1de9437b97bdb2a59cc982 /tests
parentd3bfcfaa9ac53885066689d540590035b3bc7976 (diff)
Fix namespaced build
It is not allowed to include files within Qt namespace. See 5b99f3a3 in qtbase dev. Change-Id: Ic86986ebe5d6beafa32c7634ffb1d4631c411bf9 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/plugins/declarativetestplugin/locationtest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/plugins/declarativetestplugin/locationtest.cpp b/tests/plugins/declarativetestplugin/locationtest.cpp
index 44e74e86..f5efd423 100644
--- a/tests/plugins/declarativetestplugin/locationtest.cpp
+++ b/tests/plugins/declarativetestplugin/locationtest.cpp
@@ -62,7 +62,6 @@ public:
}
};
-#include "locationtest.moc"
-
QT_END_NAMESPACE
+#include "locationtest.moc"