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: I7bd1fdddfba2b87280ebe8bc0762746ade8da468
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
commit967130d6613ff2c11b35e7f8c5510cae5a03ad5e
parentf133c9fc7f32c16644f3197c4c3df1306c8d9168
authorAlexandru Croitor <alexandru.croitor@qt.io>
committerAlexandru Croitor <alexandru.croitor@qt.io>
commit timeSat, 5 Feb 2022 01:35:26 +0100