I developed a Windows x64
Qt 5.14.2 widgets
based application that uses QtWebEngine
to render JavaScript google maps
in one of the tabs. I asked a detailed question here, however, the answer and comments did not help me resolve the problem. It seems that the resolution was to launch the application locally but I really need to be able to launch the application from a network share. Earlier versions of Qt (5.13 & 5.12 for ex.) did not seem to have this deployment problem restricting launching it from a network share.
With Qt 5.14.x
, Launching (double clicking) the application works well from a local folder on my hard drive, however, If I launch the application from a folder on my NAS server \\QNAP\MyShare\MyApp.exe (using the SMB protocol), the multi tabbed application launches, however it pops up a message box indicating that it cannot find Qt5Core.dll. If instead I open up a command window and start the application from the directory containing the application (and also the Qt5Core.dll), the application launches and displays an error code 0xc0000022 indicating that the QtWebEngineProcess could not start. After I developed the app, I deployed it via windeployqt and I saved that folder on my NAS share. The deployed files also include QtWebEngineProcess.exe and all the other relevant Qt5*.dlls.
I suspect that the issue may be permission related, but I am not sure. I have read through and experimented with various tips in the Qt documentaton on Deploying Qt WebEngine Processes but I cannot find an obvious solution there. My application dependencies are as follows:
Dump of file app739.exe
File Type: EXECUTABLE IMAGE
Image has the following dependencies:
BTI42964.dll
Qt5WebEngineWidgets.dll
Qt5Widgets.dll
Qt5Gui.dll
Qt5WebChannel.dll
Qt5SerialPort.dll
Qt5Core.dll
KERNEL32.dll
MSVCP140.dll
WS2_32.dll
BTICard64.dll
VCRUNTIME140.dll
VCRUNTIME140_1.dll
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-string-l1-1-0.dll
api-ms-win-crt-math-l1-1-0.dll
api-ms-win-crt-convert-l1-1-0.dll
api-ms-win-crt-stdio-l1-1-0.dll
api-ms-win-crt-locale-l1-1-0.dll
api-ms-win-crt-filesystem-l1-1-0.dll
api-ms-win-crt-time-l1-1-0.dll
api-ms-win-crt-utility-l1-1-0.dll
SHELL32.dll
Summary
B000 .data
13000 .pdata
FC000 .rdata
3000 .reloc
4C000 .rsrc
1B2000 .text
User contributions licensed under CC BY-SA 3.0