Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-78646

web_engine_library_info is very limiting

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • 6.4.0 RC1, 6.5.0 Beta1
    • 5.9
    • WebEngine
    • None
    • macOS, Windows
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qt_webengine_team Qt WebEngine Team
              ajpatterson Andrew Patterson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes