title: How to get multitouch to work in QGraphicsView, Qt 5.0.2 in Windows 8
body: <p>I am struggling with getting multi-touch to work on a couple of QWidgets that I have added to a QGraphicsView. I have created a subclass of QWidget in which I set up a QGraphicsScene and QGraphicsView. This is my (test) subclass of QWidget:</p>
  
  <pre><code>#include "qttest1.h"
  
  #include &lt;QtWidgets&gt;
  #include &lt;QTouchEvent&gt;
  
  qttest1::qttest1(QWidget *parent)
      : QWidget(parent)
  {
      setEnabled(true);
  
      if(!QCoreApplication::testAttribute(Qt::AA_DontCreateNativeWidgetSiblings))
          setAttribute(Qt::WA_NativeWindow);
  
      setAttribute(Qt::WA_AcceptTouchEvents);
  
      scene = new QGraphicsScene(this);
      scene-&gt;setSceneRect(0, 0, 1920, 1080);
      graphicsView = new QGraphicsView(scene, this);
      graphicsView-&gt;setRenderHints(QPainter::Antialiasing);
      graphicsView-&gt;setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
      graphicsView-&gt;setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
      graphicsView-&gt;setAttribute(Qt::WA_AcceptTouchEvents);
      graphicsView-&gt;viewport()-&gt;setAttribute(Qt::WA_AcceptTouchEvents);
  
      QBoxLayout *layout = new QVBoxLayout;
      layout-&gt;addWidget(graphicsView);
  
      setLayout(layout);
  }
  
  qttest1::~qttest1() {}
  
  void qttest1::showGraphics() 
  {
      for(int i = 0; i &lt; 10; i++)
      {
          Dial *dial = new QDial();
  
          dial-&gt;move(i * 120 + 50, 200);
          dial-&gt;resize(120, 120);
          dial-&gt;setAttribute(Qt::WA_AcceptTouchEvents);
  
          QGraphicsProxyWidget *proxy = scene-&gt;addWidget(dial);
          proxy-&gt;setAcceptTouchEvents(true);
      }
  }
  </code></pre>
  
  <p>This is my main:</p>
  
  <pre><code>int main(int argc, char **argv)
  {
      QApplication app(argc, argv);
  
      app.setAttribute(Qt::AA_DontCreateNativeWidgetSiblings);
  
      QRect rect = app.desktop()-&gt;screenGeometry();
  
      qttest1 test;
      test.resize(rect.width(), rect.height());
      test.showFullScreen();
      test.showGraphics();
  
      return app.exec(); 
  }
  </code></pre>
  
  <p>I know the code isn't pretty and probably leaking a bit, but the point is to try to get multi-touch to work.</p>
  
  <p>I can see and use every kind of widget I add to the scene, but as soon as I touch a dial it swallows every touch that comes after the first. Which makes the dial jump between several positions. What I want is that every dial (or any type of widget) can be used individually and at the same time. I am using QT 5.0.2, Windows 8 with a monitor that supports up to 10 touches.</p>