← Back to issue list

kde-neon qt5 webengine applications no longer works

View original Github issue

Metadata

Project
snapcraft
Number
#4151
Type
issue
State
closed
Author
tsteven4
Labels
—
Created
Updated
Closed

Current evaluation

Qt 5/core22 KDE neon extension fixes were merged in PR #4060 (commit bef32e264); #4151 was later closed as presumed resolved after prolonged inactivity.

Resolution: closed resolved

Reason: PR #4060 was merged as commit bef32e264 with the title "extensions: fix neon-extension issues for core22," matching the reported extension and path failures. On 2025-04-24, mr-cal closed the issue as presumed resolved after inactivity.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description applications that use qtwebengine via kde-neon no longer work on jammy with Qt 5.15.8 ### To Reproduce There are a number of interactions with the GUI application necessary to use QtWebEngine and generate the above errors. ### Environment snapcraft run on Ubuntu 22.04.2 LTS snapcraft doesn't fail, the resulting snap does. ### snapcraft.yaml ```shell name: gpsbabel # you probably want to 'snapcraft register <name>' base: core22 # the base snap is the execution environment for this snap version: '0.1' # just for humans, typically '1.2+git' or '1.3.2' summary: "Convert, manipulate and transfer GPS data" description: | Convert, manipulate and transfer data from GPS programs or GPS recievers. Open source and supported on macOS, Windows and Linux. license: GPL-2.0 title: GPSBabel source-code: https://github.com/GPSBabel/gpsbabel.git website: https://www.gpsbabel.org grade: devel # must be 'stable' to release into candidate/stable channels confinement: strict # use 'strict' once you have the right plugs and slots apps: gpsbabel: plugs: - home - raw-usb - removable-media - serial-port command: usr/bin/gpsbabel extensions: [kde-neon] gpsbabelfe: plugs: - home - removable-media - network # - opengl # - wayland # - x11 command: usr/bin/gpsbabelfe # environment: # QT_DEBUG_PLUGINS: 1 extensions: [kde-neon] # remap the ubuntu qt5 install directories to the snap. # kde-neon trys use a qt.conf file, but they put it in a place that requires # a patch to qt that is no longer used! #layout: # /usr/share/qt5: # symlink: $SNAP/kf5/usr/share/qt5 # /usr/lib/qt5: # symlink: $SNAP/kf5/usr/lib/qt5 # /usr/lib/x86_64-linux-gnu/qt5: # symlink: $SNAP/kf5/usr/lib/x86_64-linux-gnu/qt5 adopt-info: gpsbabel parts: gpsbabel: # See 'snapcraft plugins' plugin: cmake cmake-parameters: - -DCMAKE_BUILD_TYPE=Release - -DGPSBABEL_WITH_ZLIB=included - -DGPSBABEL_WITH_SHAPELIB=pkgconfig # - -DGPSBABEL_MAPPREVIEW=OFF cmake-generator: Ninja source: . override-pull: | craftctl default # add install command to CMakeLists.txt echo "install(TARGETS gpsbabel gpsbabelfe CONFIGURATIONS Release RUNTIME DESTINATION /usr/bin)" >> CMakeLists.txt # jam repo sha into GITHUB_SHA sed -i -e"/GB.SHA/i set(ENV{GITHUB_SHA} \"$(git log -1 --format=%h)\")" gbversion.cmake # set snap version # ensure version has at most 32 characters craftctl set version=$(git log -1 --format='LinuxInstaller-%ad-%h' --date=format:%Y%m%d) build-packages: - git - vim - g++ - ninja-build # - zlib1g-dev - libshp-dev - libusb-1.0-0-dev - pkg-config - libudev-dev - qtbase5-dev - qttools5-dev - qttools5-dev-tools - qttranslations5-l10n - qtwebengine5-dev - libqt5serialport5-dev # - libgl-dev # - libopengl-dev # - libvulkan-dev # - libx11-xcb-dev # - libxkbcommon-dev stage-packages: # - zlib1g - libshp2 - libusb-1.0-0 # - libgl1-mesa-dri ``` ### Relevant log output ```shell Qt WebEngine resources not found at /usr/share/qt5/resources. Trying parent directory... Qt WebEngine resources not found at /usr/share/qt5. Trying application directory... Qt WebEngine resources not found at /snap/gpsbabel/x1/usr/bin. Trying fallback directory... The application MAY NOT work. Path override failed for key base::DIR_QT_LIBRARY_DATA and path '/home/tsteven4/snap/gpsbabel/x1/.GPSBabel' Installed Qt WebEngine locales directory not found at location /usr/share/qt5/translations/qtwebengine_locales. Trying application directory... Qt WebEngine locales directory not found at location /snap/gpsbabel/x1/usr/bin/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct. Path override failed for key ui::DIR_LOCALES and path '/home/tsteven4/snap/gpsbabel/x1/.GPSBabel' [0517/162352.977986:ERROR:resource_bundle.cc(947)] Failed to load /home/tsteven4/snap/gpsbabel/x1/.GPSBabel/qtwebengine_resources_100p.pak Some features may not be available. [0517/162352.978037:ERROR:resource_bundle.cc(947)] Failed to load /home/tsteven4/snap/gpsbabel/x1/.GPSBabel/qtwebengine_resources_200p.pak Some features may not be available. [0517/162352.978052:ERROR:resource_bundle.cc(947)] Failed to load /home/tsteven4/snap/gpsbabel/x1/.GPSBabel/qtwebengine_resources.pak Some features may not be available. [0517/162352.978070:WARNING:resource_bundle_qt.cpp(119)] locale_file_path.empty() for locale Qt WebEngine resources not found at /usr/share/qt5/resources. Trying parent directory... Qt WebEngine resources not found at /usr/share/qt5/resources. Trying parent directory... Qt WebEngine resources not found at /usr/share/qt5. Trying application directory... Qt WebEngine resources not found at /usr/share/qt5. Trying application directory... Qt WebEngine resources not found at /snap/gpsbabel/x1/kf5/usr/lib/x86_64-linux-gnu/qt5/libexec. Trying fallback directory... The application MAY NOT work. Qt WebEngine resources not found at /snap/gpsbabel/x1/kf5/usr/lib/x86_64-linux-gnu/qt5/libexec. Trying fallback directory... The application MAY NOT work. Path override failed for key base::DIR_QT_LIBRARY_DATA and path '/home/tsteven4/snap/gpsbabel/x1/.QtWebEngineProcess' Installed Qt WebEngine locales directory not found at location /usr/share/qt5/translations/qtwebengine_locales. Trying application directory... Path override failed for key base::DIR_QT_LIBRARY_DATA and path '/home/tsteven4/snap/gpsbabel/x1/.QtWebEngineProcess' Qt WebEngine locales directory not found at location /snap/gpsbabel/x1/kf5/usr/lib/x86_64-linux-gnu/qt5/libexec/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct. Path override failed for key ui::DIR_LOCALES and path '/home/tsteven4/snap/gpsbabel/x1/.QtWebEngineProcess' Installed Qt WebEngine locales directory not found at location /usr/share/qt5/translations/qtwebengine_locales. Trying application directory... Qt WebEngine locales directory not found at location /snap/gpsbabel/x1/kf5/usr/lib/x86_64-linux-gnu/qt5/libexec/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct. Path override failed for key ui::DIR_LOCALES and path '/home/tsteven4/snap/gpsbabel/x1/.QtWebEngineProcess' [0517/162353.001282:ERROR:resource_bundle.cc(947)] Failed to load /home/tsteven4/snap/gpsbabel/x1/.QtWebEngineProcess/qtwebengine_resources_100p.pak Some features may not be available. [0517/162353.001282:ERROR:resource_bundle.cc(947)] Failed to load /home/tsteven4/snap/gpsbabel/x1/.QtWebEngineProcess/qtwebengine_resources_100p.pak Some features may not be available. [0517/162353.001320:ERROR:resource_bundle.cc(947)] Failed to load /home/tsteven4/snap/gpsbabel/x1/.QtWebEngineProcess/qtwebengine_resources_200p.pak Some features may not be available. [0517/162353.001320:ERROR:resource_bundle.cc(947)] Failed to load /home/tsteven4/snap/gpsbabel/x1/.QtWebEngineProcess/qtwebengine_resources_200p.pak Some features may not be available. [0517/162353.001344:ERROR:resource_bundle.cc(947)] Failed to load /home/tsteven4/snap/gpsbabel/x1/.QtWebEngineProcess/qtwebengine_resources.pak Some features may not be available. [0517/162353.001345:ERROR:resource_bundle.cc(947)] Failed to load /home/tsteven4/snap/gpsbabel/x1/.QtWebEngineProcess/qtwebengine_resources.pak Some features may not be available. [0517/162353.002145:WARNING:resource_bundle_qt.cpp(119)] locale_file_path.empty() for locale [0517/162353.002187:WARNING:resource_bundle_qt.cpp(119)] locale_file_path.empty() for locale [26688:26688:0517/162353.005833:ERROR:extension_system_qt.cpp(121)] Failed to parse extension manifest. ``` ### Additional context I think this code is problematic with jammy's version of Qt5. I don't believe the referenced patch is being used anymore. https://github.com/snapcore/snapcraft/blob/2f2d1eac63de39dbd4f9bbfab8ffa5df0ac9ca62/extensions/desktop/kde-neon/launcher-specific#L51-L61 I tried relocating qt.conf next to the application so it was found. That improved the situation, but there were still issues. Uncommenting the following lines in my yaml solved all the issues: ``` #layout: # /usr/share/qt5: # symlink: $SNAP/kf5/usr/share/qt5 # /usr/lib/qt5: # symlink: $SNAP/kf5/usr/lib/qt5 # /usr/lib/x86_64-linux-gnu/qt5: # symlink: $SNAP/kf5/usr/lib/x86_64-linux-gnu/qt5 ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Qt 5/core22 KDE neon extension fixes were merged in PR #4060 (commit bef32e264); #4151 was later closed as presumed resolved after prolonged inactivity.
stealth/space-bunny-alpha — closed stale Closed as stale after prolonged inactivity; no resolving PR, commit, or Snapcraft release was cited.
stealth/space-bunny-alpha — closed stale Closed as assumed resolved by mr-cal on 2025-04-24 after prolonged inactivity; no resolving PR, commit, or release was cited.
stealth/space-bunny-alpha — closed stale Closed as completed after prolonged inactivity, with no linked PR, commit, or fix release. Qt5 symlink and environment-variable workarounds were discussed.
qwen/qwen3.6-35b-a3b — — kde-neon extension failed to locate QtWebEngine resources on Jammy. Maintainers acknowledged the qt.conf bug and planned a fix. Users applied manual layout symlinks and env vars as a workaround. Issue closed as completed due to inactivity.
qwen/qwen3.6-35b-a3b — — The kde-neon extension's qt.conf path broke Qt WebEngine apps on Ubuntu 22.04. A maintainer acknowledged the bug and planned a fix. The issue was closed as completed due to inactivity, indicating the problem is considered resolved.
qwen/qwen3.6-35b-a3b — — Maintainer acknowledged a kde-neon extension qt.conf path bug breaking QtWebEngine on Jammy and committed to a fix. Users applied manual layout symlinks as a workaround. Issue closed as completed due to inactivity.
qwen3.6-35b-a3b-mtp-q6 — — kde-neon's qt.conf placement broke Qt WebEngine on Jammy. A layout workaround was confirmed. Issue closed as completed after the developer committed to fixing the launcher logic.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#4060 (confidence 90%)

    Merged commit addressed KDE neon extension problems for core22, although the closing comment did not explicitly link it to this issue.

Related issues

Issue Project State Summary Similarity
#5288 kde-neon-6 extension is broken for core22 snapcraft closed Fixed upstream by the KDE neon team; maintainer mr-cal confirmed the core22 kde-neon-6 extension was working again on 27 February 2025.
77%
#4060 extensions: fix neon-extension issues for core22 snapcraft merged Merged PR #4060 as commit bef32e264, fixing KDE Neon extension compatibility with core22 by restoring the command chain, removing bindtextdomain, and updating SDK matching, part names, and tests.
73%
#3547 update kde neon extension to use the newer content snap with qt-5-15-3 snapcraft merged Merged #3547 as 0ea1cb072, switching KDE Neon to the Qt 5.15.3 content snap and updating its spread test.
72%
#4148 kde-neon extension support for Qt6 snapcraft closed Qt6/KDE 6 snap support landed via merged PR #4698 (commit 3d12a68c4), adding the kde-neon-6 extension on top of KDE's Qt6 SDK/content snaps; maintainer lengau closed this as the extension now exists.
72%
#1805225 kde extension snapcraft (launchpad) closed Implemented as the kde-neon extension in commit 3529f1950; later core20 support was merged in canonical/snapcraft#3846.
72%
#3925 kde-neon-extension: New content snap for kf5 5.98 and qt 5.15.6 snapcraft merged Merged in commit 7870ff211, adding the KDE Neon content snap for KF5 5.98 and Qt 5.15.6.
71%
#5952 kde-neon extention issues snapcraft closed Meta issue noting new kde-neon6 extension build failures; closed by mr-cal with no code fix after bepri/steinbro agreed to have individual issues filed for each specific failure.
71%
#4299 Sgmoore/kde neon ext updates snapcraft merged Merged #4299, updating the KDE Neon content pack and setting XDG_CONFIG_HOME for qt.conf; it was retargeted to hotfix/7.5 for a faster release.
71%