https://bugs.kde.org/show_bug.cgi?id=477975

            Bug ID: 477975
           Summary: do not link KF::DocTools, it is not used in the code
    Classification: Applications
           Product: Haruna
           Version: unspecified
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: task
          Priority: NOR
         Component: generic
          Assignee: georgefb...@gmail.com
          Reporter: tevut...@mail.ru
  Target Milestone: ---

Created attachment 163805
  --> https://bugs.kde.org/attachment.cgi?id=163805&action=edit
chnages to build with Qt6 and no KDocTools

SUMMARY
***
KF6::DocTools is listed in target_link_libraries() in src/CMakeLists.txt, but
it is not required - it is not used in code, only some tools from kdoctools
package are used for documentation generation.
***


STEPS TO REPRODUCE
1. remove kdoctools package
2. run cmake, everything is ok
3. build

OBSERVED RESULT
build failed, KDocTools is required to link the application

EXPECTED RESULT
successful build, as KDocTools is optional package (according to root
CMakeLists.txt)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: ArchLinux/KDE Plasma 6 Beta, Wayland
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
doc/CMakeLists.txt also needs to be updated - it checks only for KF5DocTools

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to