snapped app with qtwebengine fails to run
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
I've tried to snap a simple Qt application making use of QtWebEngine (see https:/
Qt: Session management error: None of the authentication protocols specified are supported
libpng warning: iCCP: known incorrect sRGB profile
Could not find QtWebEngineProcess
Aborted (core dumped)
Manually setting
export QTWEBENGINEPROC
results in
Qt: Session management error: None of the authentication protocols specified are supported
libpng warning: iCCP: known incorrect sRGB profile
Installed Qt WebEngine locales directory not found at location /usr/share/
Qt WebEngine locales directory not found at location /snap/qtwebengi
Path override failed for key ui::DIR_LOCALES and path '/home/
Qt WebEngine resources not found at /usr/share/
Qt WebEngine resources not found at /usr/share/qt5. Trying application directory...
Qt WebEngine resources not found at /snap/qtwebengi
[0711/152354.
Some features may not be available.
[0711/152354.
Some features may not be available.
[0711/152354.
Some features may not be available.
[0711/152354.
[23311:
#0 0x7f883de2daee <unknown>
#1 0x7f883de400e2 <unknown>
#2 0x7f883de4145c <unknown>
#3 0x7f883e9b5b21 <unknown>
#4 0x7f883e9b62dd <unknown>
#5 0x7f883da4a527 <unknown>
#6 0x7f883d6f5d48 <unknown>
#7 0x7f883d6f9262 <unknown>
#8 0x7f883d4e7a9b <unknown>
#9 0x7f883d4e8bd5 <unknown>
#10 0x7f883d4d7bdd <unknown>
#11 0x7f883d4d7f0e QtWebEngineCore
#12 0x7f8845342091 <unknown>
#13 0x7f8845342c04 QWebEnginePage:
#14 0x7f8845351cfb QWebEngineView:
#15 0x7f8845352751 QWebEngineView:
#16 0x7f8844c6f038 QWidget::event()
#17 0x7f8845352609 QWebEngineView:
#18 0x7f8844c3082c QApplicationPri
#19 0x7f8844c380f4 QApplication:
#20 0x7f8843eb29a8 QCoreApplicatio
#21 0x7f8844c6bf08 QWidgetPrivate:
#22 0x7f8844c6ebdb QWidget:
#23 0x7f8844c6be30 QWidgetPrivate:
#24 0x7f8844c6bedf QWidgetPrivate:
#25 0x7f8844c6ebdb QWidget:
#26 0x7f8844c6be30 QWidgetPrivate:
#27 0x7f8844c6bedf QWidgetPrivate:
#28 0x7f8844c6ebdb QWidget:
#29 0x55ee0519d12d <unknown>
#30 0x7f88432b7b97 __libc_start_main
#31 0x55ee0519d1ea <unknown>
Installed Qt WebEngine locales directory not found at location /usr/share/
Qt WebEngine locales directory not found at location /snap/qtwebengi
Path override failed for key ui::DIR_LOCALES and path '/home/
Qt WebEngine resources not found at /usr/share/
Qt WebEngine resources not found at /usr/share/qt5. Trying application directory...
Qt WebEngine resources not found at /snap/qtwebengi
[0711/152354.
Some features may not be available.
[0711/152354.
Some features may not be available.
[0711/152354.
Some features may not be available.
[0711/152354.
[23190:
#0 0x7f883de2daee <unknown>
#1 0x7f883de400e2 <unknown>
#2 0x7f883d97d5bb <unknown>
#3 0x7f883d6f69cb <unknown>
#4 0x7f883d6f7e83 <unknown>
#5 0x7f883da0a9e9 <unknown>
#6 0x7f883d6f401b <unknown>
#7 0x7f883d6f92dc <unknown>
#8 0x7f883d4e7a9b <unknown>
#9 0x7f883d4e8bd5 <unknown>
#10 0x7f883d4d7bdd <unknown>
#11 0x7f883d4d7f0e QtWebEngineCore
#12 0x7f8845342091 <unknown>
#13 0x7f8845342c04 QWebEnginePage:
#14 0x7f8845351cfb QWebEngineView:
#15 0x7f8845352751 QWebEngineView:
#16 0x7f8844c6f038 QWidget::event()
#17 0x7f8845352609 QWebEngineView:
#18 0x7f8844c3082c QApplicationPri
#19 0x7f8844c380f4 QApplication:
#20 0x7f8843eb29a8 QCoreApplicatio
#21 0x7f8844c6bf08 QWidgetPrivate:
#22 0x7f8844c6ebdb QWidget:
#23 0x7f8844c6be30 QWidgetPrivate:
#24 0x7f8844c6bedf QWidgetPrivate:
#25 0x7f8844c6ebdb QWidget:
#26 0x7f8844c6be30 QWidgetPrivate:
#27 0x7f8844c6bedf QWidgetPrivate:
#28 0x7f8844c6ebdb QWidget:
#29 0x55ee0519d12d <unknown>
#30 0x7f88432b7b97 __libc_start_main
#31 0x55ee0519d1ea <unknown>
Aborted (core dumped)
All in all, there seems to be no (documented?) way of snapping an application using QtWebEngine.
I'm having the same problem trying to snap the new version of nextcloud-client.
I've tried to solve it with a modification of snapcraft- desktop- helpers: /github. com/pachulo/ snapcraft- desktop- helpers/ commit/ 356dc11c0f374b3 e30647d36554d4c 4089670db5
https:/
But the result is the same.