Change from cmake to qmake due QTest problems with CTests