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: If3e2e42c6a1540cf1c7e80bc7c3f3dfc28ee40eb
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
commitfe375a0ff2302bf57f4acddfcd4b6ee9a7a239c1
parentf7b941f90faf4a2c00c3fc5d8310afe648010296
authorAlexandru Croitor <alexandru.croitor@qt.io>
committerAlexandru Croitor <alexandru.croitor@qt.io>
commit timeSat, 5 Feb 2022 01:34:55 +0100