Modified code to work with Qt 5.2.1
Merge https://github.com/acknapp/qt-tetrix