AutoGen: Fix moc and uic dependencies when building Qt itself
Fixes only the first part of referenced issue.
Issue: #21118 (closed)
Backport: release
Edited by Brad King
Fixes only the first part of referenced issue.
Issue: #21118 (closed)
Backport: release