summaryrefslogtreecommitdiffstats
path: root/examples/dialogs/classwizard/classwizard.cpp
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2025-12-10 17:31:03 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2025-12-11 23:42:43 +0100
commit86a5ecbc339b10301dd2c6a09c8d346ab8b97cbd (patch)
treeb077b4b6104d469ff362426982ba6086368c2108 /examples/dialogs/classwizard/classwizard.cpp
parent97b79c80e54d85a65f0070fe9851ad818985f8c6 (diff)
CMake: Fix double execution of test finalizers on iOS
An incorrect condition led to executing executable finalizers for tests on iOS twice: Once via the deprecated way: qt_internal_add_test -> qt_internal_add_test_finalizers -> qt_add_list_file_finalizer -> _qt_internal_finalize_executable And once via the new way: qt_internal_add_test -> qt_internal_add_executable -> _qt_internal_finalize_target_defer -> qt6_finalize_target -> _qt_internal_finalize_executable This caused various issues like attempting to set the bundle identifier twice. Which strangely led to it not being embedded in the Info.plist file at all, which led to not being able to launch the test in the simulator via Qt Creator. Keep only the new code path enabled by default, which is the generic way to handle it for test-like executables. Amends 25f575e8513a7e49ac73c7e1cb24dcaf3803358e Amends 6c9f4f5ebcd35dc1a68c442d9fbf3ec48f30baca Pick-to: 6.8 6.10 6.11 Task-number: QTBUG-93625 Task-number: QTBUG-112212 Change-Id: If877507670b40962dcf711cddd7dd883d7ebf1c9 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'examples/dialogs/classwizard/classwizard.cpp')
0 files changed, 0 insertions, 0 deletions