CMake: Use qt_internal_add_example for bindableproperties

bindableproperties is the actual project, not a subdirectory with
separate examples. It should use qt_internal_add_example.

Pick-to: 6.6
Task-number: QTBUG-90820
Task-number: QTBUG-123096
Change-Id: I409d20e035956e6c236f84721b3c6882893cd547
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit a2e0f3dfbd9f54e20221dbc04360f838b5fa5343)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Alexandru Croitor 2024-03-07 15:21:16 +01:00 committed by Qt Cherry-pick Bot
parent 571c71407d
commit 651c0fd223

View File

@ -10,5 +10,5 @@ if(QT_FEATURE_thread)
add_subdirectory(threads)
endif()
if(QT_FEATURE_widgets)
add_subdirectory(bindableproperties)
qt_internal_add_example(bindableproperties)
endif()