Bug 449569

Summary: kdenlive requires components of qtdeclarative that are only installed when compiled with widgets flag
Product: [Applications] kdenlive Reporter: Rafael Umbelino <r.um>
Component: Setup & InstallationAssignee: Vincent PINON <vpinon>
Status: RESOLVED NOT A BUG    
Severity: normal CC: nicolas.fella
Priority: NOR    
Version First Reported In: 21.12.1   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Rafael Umbelino 2022-02-03 18:36:54 UTC
SUMMARY
***
It's impossible to compile kdenlive without qtdeclarative being compiled without widgets USE flag. I'm not sure if this is the correct place to report this issue.
***


STEPS TO REPRODUCE
1. compile qtdeclarative disabling widgets flag
2. qtdeclarative won't build and install the file: /usr/lib64/cmake/Qt5QuickWidgets/Qt5QuickWidgetsConfig.cmake
3. kdenlive will fail to compile

OBSERVED RESULT

CMake Error at /usr/lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  Could not find a package configuration file provided by "Qt5QuickWidgets"
  with any of the following names:

    Qt5QuickWidgetsConfig.cmake
    qt5quickwidgets-config.cmake

  Add the installation prefix of "Qt5QuickWidgets" to CMAKE_PREFIX_PATH or
  set "Qt5QuickWidgets_DIR" to a directory containing one of the above files.
  If "Qt5QuickWidgets" provides a separate development package or SDK, be
  sure it has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:57 (find_package)

EXPECTED RESULT

kdenlive to successfully compile/emerge

SOFTWARE/OS VERSIONS
Windows: n/a
macOS: n/a
Linux/KDE Plasma: n/a
(available in About System)
KDE Plasma Version: n/a
KDE Frameworks Version: n/a
Qt Version: 5.15.2

ADDITIONAL INFORMATION

Reddit thread where I helped the user solve this problem: https://www.reddit.com/r/Gentoo/comments/si179u/kdenlive_failed_to_compile/
Comment 1 Rafael Umbelino 2022-02-03 18:38:52 UTC
PS: sorry, english ain't my first language.
I meant that it's impossible to compile kdenlive **with** qtdeclarative being built without widgets USE flag.
As in, kdenlive needs qtdeclarative to be built with that flag.
Comment 2 Nicolas Fella 2022-02-03 22:36:09 UTC
Kdenlive uses QQuickWidget, which requires qtdeclarative to be built with widgets support