-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Leads to segfault for Qt6 applications #8
Comments
Not tested at all but perhaps a full implementation like here helloSystem/hello#46 (comment) that not depend on existing binary lib symbol could sort out the Qt5/6 conflict.. |
perhaps this change is the course https://codereview.qt-project.org/c/qt/qtbase/+/281289/42 I am looking into it.. |
GammaRay is inserting something into running applications; before it does that, it seems to check for the Qt version, among other things ("probe ABI"): Not sure, but maybe we can learn something from there. It also seems to use LD_PRELOAD: |
The thing is that qt5 and qt6 shares the symbol we want to override so either if the preloaded so is compiled for qt5 it works with qt5, and the same for qt6 but not at the same time . in other words because the symbol we are overriding is the same in both qt versions we cannot preload two versions. |
Preloading this leads to Qt5 being loaded in addition to Qt6, which leads to
We need to find a way to change
QKeySequence::toString()
without usingLD_PRELOAD
. Is the only way to recompile (parts of) Qt?The text was updated successfully, but these errors were encountered: