compile QDeclarativeSettings

* fixes linker errors when trying to run gallery application