On 11/12/19 1:15 PM, Benjamin TERRIER wrote:
Hi,

I am trying to rebuild libqxcb.so.
So for I am able to build the libqxcb.so (and qtbase) from source. It works and 
I can use this build to compile and run widgets applications.

What I'd like to do is to be able to take the libqxcb.so from this build and 
use it with the Qt official release package (i.e. replacing the libqxcb.so that 
comes with the official release by my version).

I was able on a previous project to do something similar on Windows with the 
sqlite plugin and it was working fine.

The issue I am facing here is that the official Qt release refuses to load my 
libqxcb.so, I guess it is because of incompatibility of GLIBC (or similar): Qt 
official releases are built with an "old" toolchain on a RHEL 7 system, while I 
am using the latest Ubuntu version and a recent toolchain.

Am I getting this right or am I missing something?

Does anyone has a tip on how to build a compatible version of libqxcb.so?
Without using RHEL, of course, I do not have a license.

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

Blue Pearl Software, Inc. will collect and process information about you that 
may be subject to data protection laws. For more information about how we use 
and disclose your personal information, how we protect your information, our 
legal basis to use your information, your rights and who you can contact, 
please refer to the relevant sections of our Privacy note at 
www.bluepearlsoftware.com/privacypolicy.
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to