summaryrefslogtreecommitdiffstats
path: root/src/imports/testlib/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/testlib/main.cpp')
-rw-r--r--src/imports/testlib/main.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/imports/testlib/main.cpp b/src/imports/testlib/main.cpp
index c12b9423a9..a6fb992fed 100644
--- a/src/imports/testlib/main.cpp
+++ b/src/imports/testlib/main.cpp
@@ -48,13 +48,14 @@
#include "private/qtestoptions_p.h"
#include "QtDeclarative/qsgitem.h"
#include <QtDeclarative/private/qdeclarativeengine_p.h>
-QT_BEGIN_NAMESPACE
QML_DECLARE_TYPE(QuickTestResult)
QML_DECLARE_TYPE(QuickTestEvent)
#include <QtDebug>
+QT_BEGIN_NAMESPACE
+
class QuickTestUtil : public QObject
{
Q_OBJECT
@@ -145,8 +146,13 @@ public Q_SLOTS:
return -1;
}
};
+
+QT_END_NAMESPACE
+
QML_DECLARE_TYPE(QuickTestUtil)
+QT_BEGIN_NAMESPACE
+
class QTestQmlModule : public QDeclarativeExtensionPlugin
{
Q_OBJECT