Public bug reported:

The QML module is, as per meson.build, appending a "2" to the resulting
directory and file names, which breaks QMLs ability to look up the
expected qmldir.

Renaming "Snapd2" to "Snapd" for both the directory and the library
fixes the issue.

Upstream bug: https://github.com/canonical/snapd-glib/issues/216

Attached is a diff from an apt-sourced snapd-glib from the noble archive
tackling this issue.

** Affects: snapd-glib (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "qml-module-fixup.diff"
   
https://bugs.launchpad.net/bugs/2130316/+attachment/5922467/+files/qml-module-fixup.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2130316

Title:
  Qt5 QML module built against libsoup3 fails to load

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd-glib/+bug/2130316/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to