Fixed QML warnings in qtdeclarative and qtquickcontrols.

Change-Id: Ia62286e347e2cde01f0b8d39a4fef44ebaac94ef