Skip to content

[doc-sync] docs: clarify Qt6 is optional for core library and pyOpenMS builds - #8977

Merged
timosachsenberg merged 1 commit into
developfrom
doc-sync/qt-optional-dependency-clarification-2437e8d72521b6f2
Mar 24, 2026
Merged

timosachsenberg merged 1 commit into
developfrom
doc-sync/qt-optional-dependency-clarification-2437e8d72521b6f2

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Summary

Recent refactoring commits (#8937–#8940, #8965) removed Qt6::Core as a dependency of libOpenMS itself. Qt is now only needed when building TOPP tools or the GUI (openms_gui). The AGENTS.md dependency list was not updated to reflect this architectural change.

Source files that triggered this review

  • cmake/cmake_findExternalLibs.cmake — Qt6 is now found with QUIET (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::Core
  • src/openms/include/OpenMS/DATASTRUCTURES/StringUtils.h, String.cpp, etc. — Qt string interop removed from core

Documentation files updated

AGENTS.md

Change: Clarified that Qt6 (6.1.0+) is required only for TOPP tools and openms_gui builds, and is optional when building only libOpenMS or pyOpenMS.

Before:

- XercesC, Boost (date_time, regex, iostreams), Eigen3 (3.4.0+), libSVM (2.91+), COIN-OR or GLPK, ZLIB, BZip2, libcurl, Qt6 (6.1.0+)
```

**After:**
```
- XercesC, Boost (date_time, regex, iostreams), Eigen3 (3.4.0+), libSVM (2.91+), COIN-OR or GLPK, ZLIB, BZip2, libcurl
- Qt6 (6.1.0+) — required for TOPP tools and GUI (`openms_gui`); optional for core library (`libOpenMS`) and pyOpenMS builds

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.

Generated by Documentation Sync Agent · ◷

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
timosachsenberg merged commit 2df98e7 into develop Mar 24, 2026
3 checks passed
@timosachsenberg
timosachsenberg deleted the doc-sync/qt-optional-dependency-clarification-2437e8d72521b6f2 branch March 24, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant