Repository navigation
[doc-sync] docs: clarify Qt6 is optional for core library and pyOpenMS builds - #8977
Merged
timosachsenberg merged 1 commit intoMar 24, 2026
Conversation
After the Qt removal refactoring (#8937-#8940, #8965), Qt6::Core is no longer a dependency of libOpenMS itself. Update AGENTS.md to reflect that Qt6 is required only for TOPP tools and GUI (openms_gui) builds, and is optional when building only the core library or pyOpenMS. Co-authored-by: Copilot <[email protected]>
timosachsenberg
deleted the
doc-sync/qt-optional-dependency-clarification-2437e8d72521b6f2
branch
March 24, 2026 08:10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Recent refactoring commits (#8937–#8940, #8965) removed Qt6::Core as a dependency of
libOpenMSitself. Qt is now only needed when building TOPP tools or the GUI (openms_gui). TheAGENTS.mddependency list was not updated to reflect this architectural change.Source files that triggered this review
cmake/cmake_findExternalLibs.cmake— Qt6 is now found withQUIET(optional for core); comments explicitly state "Qt6::Core is needed by TOPP tools and GUI, but NOT by libOpenMS itself."cmake/add_library_macros.cmake,src/openms/CMakeLists.txt— core library no longer links Qt6::Coresrc/openms/include/OpenMS/DATASTRUCTURES/StringUtils.h,String.cpp, etc. — Qt string interop removed from coreDocumentation files updated
AGENTS.mdChange: Clarified that Qt6 (6.1.0+) is required only for TOPP tools and
openms_guibuilds, and is optional when building onlylibOpenMSor pyOpenMS.Before:
Why: The previous text implied Qt6 was universally required, which is now incorrect for consumers building only the core library (e.g., pyOpenMS wheels). This is a factual error introduced by the Qt removal refactor.