Bug 455893

Summary: Build error with Qt5
Product: [Applications] digikam Reporter: maderios <leoutation>
Component: Portability-CompilationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version First Reported In: 8.0.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 8.0.0
Sentry Crash Report:

Description maderios 2022-06-24 17:02:34 UTC
-- Check dependencies for digikam version 8.0.0-git
--
-- Suitable Qt5 >= 5.14.0 detected...
CMake Error at /usr/lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  Could not find a package configuration file provided by "Qt5NetworkAuth"
  with any of the following names:

    Qt5NetworkAuthConfig.cmake
    qt5networkauth-config.cmake

  Add the installation prefix of "Qt5NetworkAuth" to CMAKE_PREFIX_PATH or set
  "Qt5NetworkAuth_DIR" to a directory containing one of the above files.  If
  "Qt5NetworkAuth" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  core/cmake/rules/RulesQtFramework.cmake:7 (find_package)
  core/CMakeLists.txt:43 (include)


-- Configuring incomplete, errors occurred!
Comment 1 caulier.gilles 2022-06-24 17:12:06 UTC
This is not an error, it's a new dependency add to 8.0.0 code : Qt5::NetworkAuth.

this component is a standard Qt5/Qt6 module. Fix the dependency to solve the problem.

Best

Gilles Caulier
Comment 2 maderios 2022-06-24 17:25:06 UTC
I added qt5-networkauth (Arch package) dependency. It builds now :)
Thanks