Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
5.9
-
None
-
-
f63f7903c9 (qt/qtwebengine/dev) f63f7903c9 (qt/tqtc-qtwebengine/dev) f04afb9c7a (qt/qtwebengine/6.3) f04afb9c7a (qt/tqtc-qtwebengine/6.3) 0af49e22a5 (qt/qtwebengine/6.4) f04afb9c7a (qt/qtwebengine/6.3.2)
Description
web_engine_library.info.cpp lets you specify QTWEBENGINEPROCESS_PATH but almost nothing else. The executable can be relocated to a specific location, but outside of qt.conf, there's no way to specify the locations of icudtl.dat or the *.pak files required to load it.
In my case, I'm building a plugin for Adobe Illustrator. I'm able to relocate all the Qt DLLs I need to my own plug-in directory, and I can use QTWEBENGINEPROCESS_PATH to relocate the web engine process .exe to my plug-in directory, but I'm currently forced to put the icudtl.dat & *.apk in the same directory as Illustrator.exe.
Yes, I could create a qt.conf and place it in the same folder as IIllustrator.exe, but I know for a fact that there are other plug-in developers who use Qt – I've managed to co-exist with them in all other ways for years (kudos to Qt for that!).
It's baffling to me that there is an environment variable for the web engine executable, but not for anything else. Surely it would be trivial to add them? Failing that, is there any reason why the path look-up code never tries the directory where the web engine executable is located? That one feels like an obvious candidate that was overlooked.
Attachments
Issue Links
- covers
-
QTBUG-88595 Have an environment variable indicating where the resource files can be found
- Closed
- relates to
-
QTBUG-103760 Conan: Qt WebEngine resources not found
- Closed