I am using qt6 with org.kde.Sdk and org.kde.Platform.
It packages successfully but then I get this error immediately when the app opens: module “QtWebEngine” plugin “qtwebenginequickplugin” not found.
The line in question is simply “import QtWebEngine” (QML).
The reason I am posting this here is because when the app is run on the host system (without flatpak) it works completely fine.
I seem to have the same problem, but with a cmake project trying to reference Qt5’s webengine in the qt5.15-24.08 version of org.Kde.Sdk. It works fine on my regular Alpine machine with their qt5-qtwebengine package with the same cmake project. Is there something weird or incomplete about QtWebengine is contained in the SDK in regards to build files and such? It seems prone for some reason to confusing other dev tools that are looking for QtWebengine.
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:13 (find_package):
By not providing "FindQt5WebEngine.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Qt5WebEngine", but CMake did not find one.
Could not find a package configuration file provided by "Qt5WebEngine" with
any of the following names:
Qt5WebEngineConfig.cmake
qt5webengine-config.cmake
Add the installation prefix of "Qt5WebEngine" to CMAKE_PREFIX_PATH or set
"Qt5WebEngine_DIR" to a directory containing one of the above files. If
"Qt5WebEngine" provides a separate development package or SDK, be sure it
has been installed.
-- Configuring incomplete, errors occurred!