Only build QML examples if the QtQuick module is available

Task-number: QTBUG-31255

Change-Id: If0b46400416c82858bca509903ef711b9fb250ea
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>