On Samstag, 31. August 2019 00:51:28 CEST Aaron Puchert wrote:
Hi Stefan,
Am 29.08.19 um 01:50 schrieb Stefan Brüns:
On Mittwoch, 28. August 2019 23:18:29 CEST Aaron Puchert wrote:
I think that libqt5-qttools-doc only needs libclang8, the explicit dependency to clang8 should no longer be necessary. As for the other dependencies, I don't think you can break any of them, but I'm not an expert on Qt.
Thats only partially right - the comment above is still spot on: "# qdoc hardcodes clang include paths: boo#1109367, QTBUG-70687"
The headers are no longer part of the the "clang" package, but are in libclang<soverversion> now, so the requires should be updated.
The libclang dependency should be detected automatically though, so I think it can be removed entirely.
Have you read the bugreports linked above? Obviously not ... The automatic dependency only pulls in a specific major version (e.g. libclang.so.8), but binaries often compile in the path to the headers, which contains the full version (e.g. 8.0.1). A method to retrieve the path to the header files is only provided starting with with LLVM 9.
On the other hand, both libqt5-qttools and libqt-qttools-doc should not be pulled in by the devel package, as the binary tools are not required when linking to the libraries. Especially as qdoc pulls in quite some more packages.
That's quite possible. My thinking was that maybe qttools-doc uses libclang to generate some kind of documentation from C++ source code, and could thus be required for developers, but maybe that isn't it.
The devel package covers all parts of libqt5-qttools, but most packages only need the headers and libraries for compiling and linking. QDoc is only required to generate HTML help files from inline source documentation. Regards, Stefan -- Stefan Brüns / Bergstraße 21 / 52062 Aachen home: +49 241 53809034 mobile: +49 151 50412019