From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 39996@debbugs.gnu.org
Subject: bug#39996: foreign distro: QT5 loads/searchs plugins from wrong location
Date: Mon, 9 Mar 2020 10:31:32 +0100 [thread overview]
Message-ID: <3007053b-6378-a6c0-45b1-874bc1d4d6e1@crazy-compilers.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1404 bytes --]
I just packages a simple GUI application using pythonqt5 and
python-poppler-qt. When running it fails with:
Could not load the Qt platform plugin "xcb" in "" even though it was
found.
When running with QT_DEBUG_PLUGINS=1 it reveals the cause:
QFactoryLoader::QFactoryLoader() checking directory path
"/usr/lib64/qt5/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at
"/usr/lib64/qt5/plugins/platforms/KWinQpaPlugin.so"
Found metadata in lib
/usr/lib64/qt5/plugins/platforms/KWinQpaPlugin.so, metadata=
[… many lines skipped …]
Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path
"/gnu/store/608bvypsh90c58apvd2cgg3m9l2pwjqn-python-3.7.4/bin/platforms"
...
Cannot load library /usr/lib64/qt5/plugins/platforms/libqxcb.so:
(libQt5XcbQpa.so.5: cannot open shared object file: No such file or
directory)
QLibraryPrivate::loadPlugin failed on
"/usr/lib64/qt5/plugins/platforms/libqxcb.so" : "Cannot load library
/usr/lib64/qt5/plugins/platforms/libqxcb.so: (libQt5XcbQpa.so.5:
cannot open shared object file: No such file or directory)"
Looks like the plugin is search in the wrong location and also the list
of plgins.
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next reply other threads:[~2020-03-09 9:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-09 9:31 Hartmut Goebel [this message]
2020-03-10 19:24 ` bug#39996: foreign distro: QT5 loads/searchs plugins from wrong location Marius Bakke
2020-03-11 8:55 ` Hartmut Goebel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3007053b-6378-a6c0-45b1-874bc1d4d6e1@crazy-compilers.com \
--to=h.goebel@crazy-compilers.com \
--cc=39996@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).