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: I4851a3d8b1b23d2aa1ef7135c08ae83c5276e737
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
commitfe3ee99e66ba4926c9251859646b722be47ae111
parentf7ed73860f73af96058044f99a4dd3771f111829
authorAlexandru Croitor <alexandru.croitor@qt.io>
committerAndreas Buhr <andreas.buhr@qt.io>
commit timeFri, 11 Feb 2022 20:28:35 +0100