disable module when gui is not available

Change-Id: I414b67d8c4fe34a41e1d96d51879138c01c6e3a5
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Merge branch 'stable' into st
Merge branch 'st' of git://github.com/suitabletech/qtmultimedia into st