Revert "Fixed QML warnings in qtdeclarative and qtquickcontrols."

This reverts commit c203fd39965f5edc09f2073a35426da818ac6c34.