standalone example: Fix non-shadow build


Only copy the index.html file from source to build directory if they
are actually different. Prevents a dependency cycle in the generated
ninja file.

Fixes: QTBUG-119303
Pick-to: 6.8
Change-Id: I1b0f8fea01cfe306297c84e00cdffa00a62e364f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
commit03b522abb61da9fa91459ff329a4a60e5059bbaa
parent50ea74648e517579e3c646c6d432941214e17212
authorArno Rehn <a.rehn@menlosystems.com>
committerArno Rehn <a.rehn@menlosystems.com>
commit timeWed, 3 Jul 2024 15:18:34 +0200