Switch examples to build as isolated sub-builds part 2


qt_examples_build_begin needs the EXTERNAL_BUILD flag
to know that it's safe to build examples as ExternalProjects.

It still won't do it in CI until we enable building
examples as ExternalProjects for prefix builds.

This is preparation for that.

Pick-to: 6.2 6.3
Task-number: QTBUG-90820
Change-Id: I19712719eb9fe73b451d852571aea2263ce0962b
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
commitb9abfbd76d7f5c749bd6531fa55a272728e01a7a
parent5bd40a48433fd93c583c9dd62db1d4b9b36dc278
authorAlexandru Croitor <alexandru.croitor@qt.io>
committerAlexandru Croitor <alexandru.croitor@qt.io>
commit timeTue, 8 Feb 2022 11:06:22 +0100