[qt-components] Fix some dependencies for clean build.