Bug 455893 - Build error with Qt5
Summary: Build error with Qt5
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (other bugs)
Version First Reported In: 8.0.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-24 17:02 UTC by maderios
Modified: 2022-06-24 17:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 8.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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