This will fail if the package is relocated to a different location from that which it is build for. The change causes QLibraryInfo to use paths known at build time instead of trying to dynamically establish the paths. The setting was lost on the transition from the Qt5 qmake build to the Qt6 cmake build. The change in 6.2.4+dfsg-8 restores the configuration settings that were used to build qtbase- opensource- src (5.14.2+dfsg-3) through qtbase- opensource- src (5.15.3+dfsg-2). In particular note the failure to find resources at /share: Build the Qt supplied simplebrowser example, and verify it launches without errorī) cd qt6-webengine- 6.2.4+dfsg/ examples/ webenginewidget s/simplebrowserĪn example of output from a failure is attached as faillog.txt. Check the output of qtdiag from qt6-tools- dev-tools, and verify the paths exist.Ī) Run "qtdiag -no-vulkan -no-rhi -no-gl | grep Path"ī) verify that the paths actually exist, in particular DataPath: /share/qt6 does not exist on jammy.Ģ. This results in Qt6 QWebEngine being unusable.ġ. QLibraryInfo can return non-existent paths.Ģ. Please accept qt6-base 6.2.4+dfsg-8 into jammy.ġ. UpgradeStatus: No upgrade log present (probably fresh install) It is not clear to me if this is because of the difference in package versions, or some issue with ubuntu packaging. TranslationsPath: /usr/share/ qt6/translation sĮxamplesPath: /usr/lib/ x86_64- linux-gnu/ qt6/examples QmlImportsPath: /usr/lib/ x86_64- linux-gnu/ qt6/qmlĪrchDataPath: /usr/lib/ x86_64- linux-gnu/ qt6 PluginsPath: /usr/lib/ x86_64- linux-gnu/ qt6/plugins LibraryExecut ablesPath: /usr/lib/ qt6/libexec LibrariesPath: /usr/lib/ x86_64- linux-gnu HeadersPath: /usr/include/ x86_64- linux-gnu/ qt6 I note that qtdiag reports the correct paths on debian sid and qt6-base-dev (6.2.4+dfsg-4): GPSBabel/ qtwebengine_ resources_ 200p.pak GPSBabel/ qtwebengine_ resources_ 100p.pak Path override failed for key ui::DIR_LOCALES and path '/home/ tsteven4/. Qt WebEngine locales directory not found at location /app/gpsbabel/ gui/GPSBabelFE/ qtwebengine_ locales. Installed Qt WebEngine locales directory not found at location /share/ qt6/translation s/qtwebengine_ locales. Path override failed for key base::DIR_ QT_LIBRARY_ DATA and path '/home/ tsteven4/. Qt WebEngine resources not found at /app/gpsbabel/ gui/GPSBabelFE. Qt WebEngine resources not found at /share/qt6. Qt WebEngine resources not found at /share/ qt6/resources. For example a Qt application using the Qt WebEngine might report: For example, the DataPath /share/qt6 does not exist. TranslationsPath: /share/ qt6/translation sĮxamplesPath: /lib/x86_ 64-linux- gnu/qt6/ examples QmlImportsPath: /lib/x86_ 64-linux- gnu/qt6/ qmlĪrchDataPath: /lib/x86_ 64-linux- gnu/qt6 PluginsPath: /lib/x86_ 64-linux- gnu/qt6/ plugins LibraryExecut ablesPath: /lib/qt6/libexec HeadersPath: /include/ x86_64- linux-gnu/ qt6 In this output on jammy (22.04) with qt6-base-dev (6.2.4+ dfsg-2ubuntu1) I see: The qtdiag program can be used to find the paths returned by QLibraryInfo:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |