fix(tests): retarget the two tests master added onto logos-qt-host

Rebasing this branch onto master replayed the qt-host retarget over a
master that had meanwhile added test_logos_qml_bridge_deferred (#20) and
test_logos_qml_bridge_calls (#21). Both link
logos-qt-sdk::logos_qt_sdk, and the retarget commit never saw them, so
the textual auto-merge left them pointing at a target this repo no
longer imports. CMake failed the generate step outright:

  Target "test_logos_qml_bridge_calls" links to:
    logos-qt-sdk::logos_qt_sdk
  but the target was not found.

Retargeted to logos-qt-host::logos_qt_host, the same rename the other
eight executables already carry. Restoring the logos-qt-sdk input was
the wrong fix in the other direction: it would put a second copy of the
Qt host runtime back in the closure, which is what the retarget exists
to prevent. Both tests only include logos_api.h (now from qt-host) and
the protocol headers qt-host links PUBLIC, so nothing qt-sdk-only is
lost.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Dario Gabriel Lipicar
2026-08-16 09:27:21 -03:00
co-authored by Claude Opus 5
parent 2a7cc2681c
commit 5510acd9eb
+2 -2
View File
@@ -155,7 +155,7 @@ target_link_libraries(test_logos_qml_bridge_deferred PRIVATE
Qt6::Test
Qt6::Qml
Qt6::RemoteObjects
logos-qt-sdk::logos_qt_sdk
logos-qt-host::logos_qt_host
logos-cpp-sdk::logos_headers
logos-protocol::logos_protocol
)
@@ -179,7 +179,7 @@ target_link_libraries(test_logos_qml_bridge_calls PRIVATE
Qt6::Test
Qt6::Qml
Qt6::RemoteObjects
logos-qt-sdk::logos_qt_sdk
logos-qt-host::logos_qt_host
logos-cpp-sdk::logos_headers
logos-protocol::logos_protocol
)