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
Incompatibility with Arch Linux Qt 6 #991
Comments
Is this also happening with our development builds on your distro? Grab |
Yes, this also happens with the development build, but only QT6 |
Well, at the end, this is an ABI incompatibility between Qt that's used in our CI and Qt that's built by Arch Linux |
Can confirm, Qt6 update changed something that broke Prism, switching back to the Qt5 version of the launcher works as a temporary solution |
For now, until the qt6 client updated, you can still use qt5 client. |
@WORMSTweaker How do we use the QT5 version? |
If you're on archlinux, install prismlauncher-qt5-bin from the AUR |
Can confirm |
Happened to me as well, can confirm that the qt5-bin version works fine as a workaround |
You can use qt6. I had the same problem. I was on version 6.4.3-1. Updated to 6.5.0-1 and had the same problem. After downgrading I could launch it again. I am not sure but I think it has to do with this commit Again I could also be completely wrong. |
Seems like that's the one. |
Having this exact issue in ArchLinux. warning: direct reference to protected function `_ZNK19QStyledItemDelegate15initStyleOptionEP20QStyleOptionViewItemRK11QModelIndex' in `/usr/lib/libQt6Widgets.so.6' may break pointer equality
prismlauncher: _ZNK19QStyledItemDelegate15initStyleOptionEP20QStyleOptionViewItemRK11QModelIndex: /usr/lib/libQt6Widgets.so.6: error due to GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS Can also confirm that switching to |
I can also also also confirm that switching to |
switching to |
Your issue is not related to this package. Remove qt5-styleplugins and be sure you deleted the cache files and re compile qt5-styleplugins. |
Have the exact issue |
Updated Arch Linux today and I am experiencing this very same issue, switching back to the qt version as per @skep1337 's instructions works flawlessly |
While the Qt 5 version of Prism Launcher receives the same amount of support as the Qt 6 version, this won't be the case forever. |
Yeah, but I don't think it's prism launchers fault, since something at qt6 broke it. I will take a look today at what exactly made it break and see if there's a fix for it. Otherwise I'll open a issue at qt6. |
@Scrumplex Should we build Arch binaries in an Arch container? I can set it up. |
Dunno if we wanna do that. We could also download binary packages from chaotic aur and repackage those as the -bin package |
Using a downstream build as an official source seems a little roundabout 😅 What's wrong with building it ourselves? GHA lets us do containers without invoking docker/podman etc. |
Well, why just Arch? I mean, our binaries only work on other systems because of luck. The proper way to deal with this in the future would be to also ship our own Qt libraries with Prism Launcher. We might be able to bring back what MultiMC called a full bundle here. Not sure how feasible it is, though. People should just use packages that were built for their distro. |
The full bundle thing was packaging Qt and required plugins into the deployed directory structure. We could statically link Qt instead. Less of a hassle if it's just one executable instead of couple of directories for runtime and plugins. EDIT: Downside is bloated build sizes either way. Arch container seems like the best solution atm. |
Not really feasible with themes and with openssl versions. I think the problem here is just arch, it works everywhere else fine |
When I used the offical binaries it didnt work but when I compiled it myself it ran. |
qt5 already works btw |
Manjaro updated and PrismLauncher no longer works with the same GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS error posted above. I'm using the prismlauncher-qt5-bin package as a workaround for now. |
I've always used the |
This comment was marked as abuse.
This comment was marked as abuse.
Another workaround if you are too lazy to build it yourself: use the Flatpak'ed version |
This comment was marked as abuse.
This comment was marked as abuse.
Possible solutions:
Just look how many binary distributions of Prism Launcher exist out there: https://repology.org/project/prismlauncher/versions Edit: I am also just going to block you from this organization for your comment about "mental issue banners" |
Its an issue with the build. Will Fix in AUR |
Operating System
Linux
Version of Prism Launcher
Prism Launcher 6.3-1
Version of Qt
Qt 6.5.0-3
Description of bug
I cannot open Prism Launcher at all.
When started in the terminal, I get the following output:
warning: direct reference to protected function
_ZNK19QStyledItemDelegate15initStyleOptionEP20QStyleOptionViewItemRK11QModelIndex' in
/usr/lib/libQt6Widgets.so.6' may break pointer equalityprismlauncher: _ZNK19QStyledItemDelegate15initStyleOptionEP20QStyleOptionViewItemRK11QModelIndex: /usr/lib/libQt6Widgets.so.6: error due to GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS
Steps to reproduce
Try to start the launcher.
Suspected cause
There was a qt6 update yesterday that might have caused it
This issue is unique
The text was updated successfully, but these errors were encountered: