unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* foreign distro: QT5 loads/searchs plugins from wrong location
@ 2020-03-05 14:53 Hartmut Goebel
  0 siblings, 0 replies; only message in thread
From: Hartmut Goebel @ 2020-03-05 14:53 UTC (permalink / raw)
  To: guix-devel


[-- Attachment #1.1: Type: text/plain, Size: 1560 bytes --]

Hi,

before fling a bug, I jsut want to know whether I missed some update:

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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-05 14:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-05 14:53 foreign distro: QT5 loads/searchs plugins from wrong location Hartmut Goebel

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).