Fix compilation when declarative sources are not present.
Fix compilation when declarative sources are not present.

Change-Id: I85db742e8147123ed803dbd25ff0b6d8d5d2bd43
Reviewed-on: http://codereview.qt-project.org/5195
Reviewed-by: Rohan McGovern <d75463945f40a9669160a73cef2843e56b22c602@nokia.com>
Reviewed-by: Qt Sanity Bot <5581206bb7e0307f0d99eb71898ae6b694149ca5@ovi.com>

kobolabs/qtdoc,kobolabs/qtdoc,kobolabs/qtdoc,kobolabs/qtdoc