Adapted to Qt Creator 3.3.0