Destruction fixes in qt3d

Change-Id: Iaae48868d233766f755306a79c24e86053c86c05
Merge branch 'st' of https://github.com/suitabletech/qt5 into st