[Interest] Rebuild QPA plugins

Benjamin TERRIER b.terrier at gmail.com
Wed Nov 13 11:06:16 CET 2019


Le mer. 13 nov. 2019 à 07:12, Simon Matthews <
simon.matthews at bluepearlsoftware.com> a écrit :

> You don't need RHEL, just use CentOS.
>
> Have you tried setting the environment variable:
>
> export QT_DEBUG_PLUGINS=1
>
> This might give you more information on the problem.
>
> You might have issues with the RUNPATH in the file?
>
> What does
>
> ldd -r <path to libqxcb.so>
>
> report?
>
> Simon
>

Thanks for the tips.

I did have an issue with the RUNPATH.

Now I have:

    Cannot load library /opt/Qt/5.13.2/gcc_64/plugins/platforms/libqxcb.so:
(/opt/Qt/5.13.2/gcc_64/plugins/platforms/libqxcb.so: undefined symbol:
_ZTI26QPlatformIntegrationPlugin, version Qt_5)
    QLibraryPrivate::loadPlugin failed on
"/opt/Qt/5.13.2/gcc_64/plugins/platforms/libqxcb.so" : "Cannot load library
/opt/Qt/5.13.2/gcc_64/plugins/platforms/libqxcb.so:
(/opt/Qt/5.13.2/gcc_64/plugins/platforms/libqxcb.so: undefined symbol:
_ZTI26QPlatformIntegrationPlugin, version Qt_5)"
    qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even
though it was found.

ldd has no missing libraries, but reports:

undefined symbol: _ZTI26QPlatformIntegrationPlugin, version Qt_5
 (./libqxcb.so)
undefined symbol:
_ZN26QPlatformIntegrationPlugin6createERK7QStringRK11QStringList, version
Qt_5        (./libqxcb.so)
undefined symbol: _ZN26QPlatformIntegrationPlugin16staticMetaObjectE,
version Qt_5      (./libqxcb.so)
undefined symbol: _ZN26QPlatformIntegrationPluginC2EP7QObject, version Qt_5
    (./libqxcb.so)
undefined symbol: _ZN26QPlatformIntegrationPlugin11qt_metacastEPKc, version
Qt_5        (./libqxcb.so)
undefined symbol:
_ZN26QPlatformIntegrationPlugin11qt_metacallEN11QMetaObject4CallEiPPv,
version Qt_5   (./libqxcb.so)
undefined symbol: _ZN26QPlatformIntegrationPluginD2Ev, version Qt_5
(./libqxcb.so)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20191113/a9798008/attachment.html>


More information about the Interest mailing list