@@ -31,6 +31,9 @@
31#include "../ApplicationArguments.h"
31#include "../ApplicationArguments.h"
32#include "../CachingNetworkManagerFactory.h"
32#include "../CachingNetworkManagerFactory.h"
35+#include <TouchRegistry.h>
34int main(int argc, const char *argv[])
37int main(int argc, const char *argv[])
36 QGuiApplication *application = new QGuiApplication(argc, (char**)argv);
39 QGuiApplication *application = new QGuiApplication(argc, (char**)argv);
@@ -88,6 +91,9 @@ int main(int argc, const char *argv[])
88 view->setTitle("Scopes");
91 view->setTitle("Scopes");
89 view->rootContext()->setContextProperty("applicationArguments", &qmlArgs);
92 view->rootContext()->setContextProperty("applicationArguments", &qmlArgs);
94+ TouchRegistry touchRegistry;
95+ view->installEventFilter(&touchRegistry);
91 // You will need this if you want to interact with touch-only components using a mouse
97 // You will need this if you want to interact with touch-only components using a mouse
92 // Needed only when manually testing on a desktop.
98 // Needed only when manually testing on a desktop.
93 MouseTouchAdaptor *mouseTouchAdaptor = 0;
99 MouseTouchAdaptor *mouseTouchAdaptor = 0;