WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
312064
Configure with ENABLE_WPE_QT_API=ON fails without finding Qt::QuickPrivate
https://bugs.webkit.org/show_bug.cgi?id=312064
Summary
Configure with ENABLE_WPE_QT_API=ON fails without finding Qt::QuickPrivate
tusooa
Reported
2026-04-11 16:51:56 PDT
Created
attachment 479026
[details]
cmake output The following configure command fails: ] CC=/usr/lib/ccache/bin/gcc CXX=/usr/lib/ccache/bin/g++ cmake -DPORT=WPE -DCMAKE_INSTALL_PREFIX=/home/user/Install/packages/wpewebkit -DENABLE_WPE_QT_API=ON -DENABLE_JOURNALD_LOG=OFF .. -GNinja -DCMAKE_BUILD_TYPE=Release -DUSE_LIBBACKTRACE=OFF -DENABLE_WPE_PLATFORM=ON -DENABLE_WPE_1_1_API=OFF (see attachment for output) I am on Gentoo GNU/Linux with qtdeclarative 6.10.2 . In my /usr/lib64/cmake/Qt6Quick/Qt6QuickConfig.cmake there is relevant code for finding Qt6QuickPrivate, but obviously it is not enabled: # Find the private module counterpart. set(__qt_Quick_always_load_private_module OFF) # <------------------- (1) include("${CMAKE_CURRENT_LIST_DIR}/Qt6Quick-build.cmake" OPTIONAL) if (Qt6Quick_FOUND AND NOT Qt6QuickPrivate_FOUND AND NOT FALSE AND ( __qt_Quick_always_load_private_module # <------------- (1) OR DEFINED QT_REPO_MODULE_VERSION # <------------ other comments indicate this is only for building Qt OR QT_FIND_PRIVATE_MODULES # <------------ (2) ) ) if("${_qt_cmake_dir}" STREQUAL "") set(_qt_cmake_dir "${QT_TOOLCHAIN_RELOCATABLE_CMAKE_DIR}") endif() set(__qt_use_no_default_path_for_qt_packages "NO_DEFAULT_PATH") if(QT_DISABLE_NO_DEFAULT_PATH_IN_QT_PACKAGES) set(__qt_use_no_default_path_for_qt_packages "") endif() find_package(Qt6QuickPrivate "6.10.2" EXACT QUIET CONFIG PATHS ${QT_BUILD_CMAKE_PREFIX_PATH} "${CMAKE_CURRENT_LIST_DIR}/.." "${_qt_cmake_dir}" ${_qt_additional_packages_prefix_paths} ${__qt_use_no_default_path_for_qt_packages} ) if(NOT Qt6QuickPrivate_FOUND) get_property(Qt6QuickPrivate_warning_shown GLOBAL PROPERTY Qt6QuickPrivate_warning_shown ) if(NOT Qt6QuickPrivate_warning_shown) message(VERBOSE "The private module package 'Qt6QuickPrivate' " "could not be found. It possibly needs to be installed separately with your " "package manager." ) set_property(GLOBAL PROPERTY Qt6QuickPrivate_warning_shown ON ) endif() endif() endif() unset(__qt_Quick_always_load_private_module) ------ (1) is always false (maybe it is different on other distributions?), and (2) is not defined anywhere in WebKit repo, so finding Qt6Quick does not find Qt6QuickPrivate on my system.
Attachments
cmake output
(6.91 KB, text/plain)
2026-04-11 16:51 PDT
,
tusooa
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
tusooa
Comment 1
2026-04-11 17:05:08 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/62564
EWS
Comment 2
2026-04-13 07:19:57 PDT
Committed
311087@main
(6998260b3fe9): <
https://commits.webkit.org/311087@main
> Reviewed commits have been landed. Closing PR #62564 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug