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

            Bug ID: 481954
           Summary: KWidgetsAddons fails to build at configure step with
                    -DBUILD_SHARED_LIBS=OFF
    Classification: Frameworks and Libraries
           Product: frameworks-kwidgetsaddons
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: cf...@kde.org
          Reporter: equ...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY
When passing -DBUILD_SHARED_LIBS=OFF argument to CMake at configuration step,
CMake fails with following error:

CMake Error: install(EXPORT "KF6WidgetsAddonsTargets" ...) includes target
"KF6WidgetsAddons" which requires target "KF6WidgetsAddons_resources_1" that is
not in any export set.

STEPS TO REPRODUCE
1. Try to build KWidgetsAddons with -DBUILD_SHARED_LIBS=OFF

OBSERVED RESULT
CMake configuration fails.

EXPECTED RESULT
CMake configuration succeeds.

SOFTWARE/OS VERSIONS
Linux: Fedora 39
KDE Frameworks Version: 6.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
It looks like the issue is triggered by qt_add_resources call:
https://invent.kde.org/frameworks/kwidgetsaddons/-/blob/v6.0.0/src/CMakeLists.txt?ref_type=tags#L324

So it could be Qt bug.

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

Reply via email to