Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.2
-
-
e56d98cea (dev), b856d2f24 (6.8), dbf94e2d1 (6.7)
Description
Can be reproduced by any WebEngine project, e.g. nano browser example. But do the following modifications:
1. Add install script to CMakeLists.txt, e.g.
qt_generate_deploy_qml_app_script( TARGET quicknanobrowser OUTPUT_SCRIPT deploy_script MACOS_BUNDLE_POST_BUILD NO_UNSUPPORTED_PLATFORM_ERROR DEPLOY_USER_QML_MODULES_ON_UNSUPPORTED_PLATFORM ) install(SCRIPT ${deploy_script})
at the end
2. Set CMAKE_INSTALL_PREFIX to somewhere you have privilege to write to.
3. Also check "install" as target
Then inside installation, you can see QtWebEngineProcess(d).exe being installed to right under top-level directory. The correct location should be under /bin. That is where Qt looks for by default (For Qt installations, this is QTDIR/libexec (Linux) or QTDIR\bin (Windows).):
https://doc.qt.io/qt-6/qtwebengine-deploying.html#deploying-qt-webengine-processes
Workaround is simple: manually move it or set QTWEBENGINEPROCESS_PATH. But default behavior does not work out of the box is weird and needs fix.