CMake: Make qtactiveqt tests standalone projects


Add the boilerplate standalone test prelude to each test, so that they
can be opened with an IDE without the qt-cmake-standalone-test script,
but directly with qt-cmake or cmake.

Boilerplate was added using the following scripts:
https://git.qt.io/alcroito/cmake_refactor

Manual adjustments were made where the code was inserted in the wrong
location.

Task-number: QTBUG-93020
Change-Id: I6ff64c5e1fbb848228cc5e78454171fef8d139cb
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
commitee262be94f404b8013d5c48f2b401da8517e19de
parentc1385639e45d67c7ea3b462b746c5f5a1fb54671
authorAlexandru Croitor <alexandru.croitor@qt.io>
committerAlexandru Croitor <alexandru.croitor@qt.io>
commit timeTue, 11 Jul 2023 17:27:34 +0200