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

--- Comment #12 from maderios <leoutat...@gmx.fr> ---



(In reply to Maik Qualmann from comment #11)
> You must compile digiKam Qt6 with QWebEngine, not QWebKit.
> 

In my script now:
    -DENABLE_QWEBENGINE=ON
    -DENABLE_QWEBKIT=OFF

It doesn't find 'Qt6WebEngineWidgets' but after checking, i see it's installed
on my computer. 
I think it happens because I have 2 qwebengine versions, qt6 and qt5, installed
in same time on my PC
Maybe, there's a way to choose only qt6 version before building, i don't
know...

-- The CXX compiler identification is GNU 12.1.0
-- The C compiler identification is GNU 12.1.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/ccache/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
--
----------------------------------------------------------------------------------
-- Starting CMake configuration for digikam
-- 
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Setting build type to 'Debug' as none was specified.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Application translations directory is missing. Compilation of application
translations is disabled...
-- You can use DIGIKAMSC_CHECKOUT_PO option to extract GUI i18n files from git
repositories.
-- Main one documentation directory is missing. Compilation of documentation is
disabled...
-- Documentation translations directory is missing.
-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git
repositories.
--
----------------------------------------------------------------------------------
-- Top level compilation configuration for digikam
-- 
-- digikam will be compiled....................... YES
-- Extract application translations files......... NO
-- Extract documentation translations files....... NO
-- Translations will be compiled.................. NO
-- Handbooks will be compiled..................... NO
-- Tests code will be compiled.................... NO
--
----------------------------------------------------------------------------------
-- Check dependencies for digikam version 8.0.0-git
-- 
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Suitable Qt6 >= 6.2.3 detected...
-- Found Threads: TRUE  
-- Found OpenGL: /usr/lib/libOpenGL.so   
-- Found WrapOpenGL: TRUE  
-- Found XKB: /usr/lib/libxkbcommon.so (found suitable version "1.4.1", minimum
required is "0.5.0") 
-- Found WrapVulkanHeaders: /usr/include  
[31mCMake Error at /usr/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:2092 (message):
  qt_generate_foreign_qml_types() is only available in Qt 6.
Call Stack (most recent call first):
  /usr/lib64/cmake/Qt6Qml/Qt6QmlConfig.cmake:125 (include)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/lib64/cmake/Qt6/QtPublicDependencyHelpers.cmake:14 (find_dependency)
  /usr/lib64/cmake/Qt6Quick/Qt6QuickDependencies.cmake:96
(_qt_internal_find_dependencies)
  /usr/lib64/cmake/Qt6Quick/Qt6QuickConfig.cmake:50 (include)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/lib64/cmake/Qt6/QtPublicDependencyHelpers.cmake:14 (find_dependency)
  /usr/lib64/cmake/Qt6WebEngineCore/Qt6WebEngineCoreDependencies.cmake:96
(_qt_internal_find_dependencies)
  /usr/lib64/cmake/Qt6WebEngineCore/Qt6WebEngineCoreConfig.cmake:50 (include)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/lib64/cmake/Qt6/QtPublicDependencyHelpers.cmake:14 (find_dependency)
  /usr/lib64/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsDependencies.cmake:96
(_qt_internal_find_dependencies)
  /usr/lib64/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsConfig.cmake:50
(include)
  /usr/lib64/cmake/Qt6/Qt6Config.cmake:223 (find_package)
  core/cmake/rules/RulesQtFramework.cmake:22 (find_package)
  core/CMakeLists.txt:43 (include)

[0m
[33mCMake Warning at
/usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/Qt6Quick/Qt6QuickConfig.cmake

  but it set Qt6Quick_FOUND to FALSE so package "Qt6Quick" is considered to
  be NOT FOUND.
Call Stack (most recent call first):
  /usr/lib64/cmake/Qt6/QtPublicDependencyHelpers.cmake:14 (find_dependency)
  /usr/lib64/cmake/Qt6WebEngineCore/Qt6WebEngineCoreDependencies.cmake:96
(_qt_internal_find_dependencies)
  /usr/lib64/cmake/Qt6WebEngineCore/Qt6WebEngineCoreConfig.cmake:50 (include)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/lib64/cmake/Qt6/QtPublicDependencyHelpers.cmake:14 (find_dependency)
  /usr/lib64/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsDependencies.cmake:96
(_qt_internal_find_dependencies)
  /usr/lib64/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsConfig.cmake:50
(include)
  /usr/lib64/cmake/Qt6/Qt6Config.cmake:223 (find_package)
  core/cmake/rules/RulesQtFramework.cmake:22 (find_package)
  core/CMakeLists.txt:43 (include)

[0m
[33mCMake Warning at
/usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/Qt6WebEngineCore/Qt6WebEngineCoreConfig.cmake

  but it set Qt6WebEngineCore_FOUND to FALSE so package "Qt6WebEngineCore" is
  considered to be NOT FOUND.
Call Stack (most recent call first):
  /usr/lib64/cmake/Qt6/QtPublicDependencyHelpers.cmake:14 (find_dependency)
  /usr/lib64/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsDependencies.cmake:96
(_qt_internal_find_dependencies)
  /usr/lib64/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsConfig.cmake:50
(include)
  /usr/lib64/cmake/Qt6/Qt6Config.cmake:223 (find_package)
  core/cmake/rules/RulesQtFramework.cmake:22 (find_package)
  core/CMakeLists.txt:43 (include)

CMake Warning at /usr/lib64/cmake/Qt6/Qt6Config.cmake:223 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsConfig.cmake

  but it set Qt6WebEngineWidgets_FOUND to FALSE so package
  "Qt6WebEngineWidgets" is considered to be NOT FOUND.
Call Stack (most recent call first):
  core/cmake/rules/RulesQtFramework.cmake:22 (find_package)
  core/CMakeLists.txt:43 (include)
-- Configuring incomplete, errors occurred!

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

Reply via email to