Fix mapviewer example build with -no-feature-library


Change-Id: I4d2d430a1315afb1b5cbbaf254b08691579d28f2
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
commiteb3812884d63ffc014f4ac76214e65a6497ae827
parente31783f9917eff6343edcd0b47298fd3e8a54edb
authorJake Petroules <jake.petroules@qt.io>
committerJake Petroules <jake.petroules@qt.io>
commit timeFri, 15 Sep 2017 08:39:28 +0000