diff --git a/cmake/LogosModule.cmake b/cmake/LogosModule.cmake index 699e31b..727480e 100644 --- a/cmake/LogosModule.cmake +++ b/cmake/LogosModule.cmake @@ -543,11 +543,14 @@ function(logos_module) ) endif() # logos_ui_plugin_context.h, from logos-view-module — and FIRST, ahead of - # the logos-qt-sdk root below, which may still ship a copy of the same - # header name. + # the logos-qt-sdk root below. # - # Ordering is load-bearing here, which is exactly why this is not left to - # chance. This header and the view glue emitter are one MATCHED PAIR: the + # As of the qt-sdk pin above, logos-view-module is the ONLY repo that ships + # this header, so ordering is no longer what decides which copy wins. It + # stays BEFORE anyway: this repo pins the two independently, and an older + # qt-sdk pin — a rollback, a branch, a consumer overriding the input — brings + # the duplicate straight back. Belt-and-braces now, load-bearing again the + # moment those pins disagree. This header and the view glue emitter are one MATCHED PAIR: the # emitted `_ui_glue.cpp` calls # `_logos_codegen_::maybeUiPluginAboutToUnload(...)`, which only this header # declares. Both now ship from logos-view-module under ONE pin, so they @@ -572,8 +575,9 @@ function(logos_module) endif() # The Qt-typed headers logos-qt-sdk owns — logos_qt_lp_bridge.h / # logos_qt_wire.h (emitted by name into generated Qt consumer wrappers). - # It may still ship logos_ui_plugin_context.h too; the block above is - # ordered ahead of this one so logos-view-module's copy is the one found. + # It no longer ships logos_ui_plugin_context.h; logos-view-module is its sole + # owner, and the block above stays ordered ahead of this one so an older + # qt-sdk pin that still carries a copy cannot win. if(NOT "${LOGOS_QT_SDK_ROOT}" STREQUAL "${LOGOS_QT_HOST_ROOT}") if(LOGOS_QT_SDK_IS_SOURCE) target_include_directories(${MODULE_NAME}_module_plugin PRIVATE diff --git a/flake.lock b/flake.lock index bdc7213..00cf18f 100644 --- a/flake.lock +++ b/flake.lock @@ -4261,11 +4261,11 @@ ] }, "locked": { - "lastModified": 1787433990, - "narHash": "sha256-nUZ2qLB6sRfhHzlGkX8Trgr4tQcYVsbhbr0HR80jthc=", + "lastModified": 1787442773, + "narHash": "sha256-XBztDKox0BmrTnIVVWji8Jhgh1dVKqAEqXj1dUlWIOE=", "owner": "logos-co", "repo": "logos-qt-sdk", - "rev": "133042bffe9a9e904e2a60cba9b710f6d4582514", + "rev": "4ab78a1a42f0db1ff97cc5d8a3fb9b41753e16c9", "type": "github" }, "original": { @@ -4730,11 +4730,11 @@ ] }, "locked": { - "lastModified": 1787164758, - "narHash": "sha256-RFu9RTD4RVbwoKJN01qmt00eqF8ZwKHm3gcbYc95HyE=", + "lastModified": 1787441236, + "narHash": "sha256-dDbws6OlaOw5YTCHQfVLXqF+ssD6Fs3vCrLqOthEYOI=", "owner": "logos-co", "repo": "logos-view-module", - "rev": "1f95a75f836a7601bde3b488dc2e773c4ebb9068", + "rev": "d6c8885494524504cc5ea9dcfdad54a98ed26ea4", "type": "github" }, "original": {