I updated QT yesterday and since then I am unable to launch OBS-Studio. I get the following error message:
Warning: QT_DEVICE_PIXEL_RATIO is deprecated. Instead use:
QT_AUTO_SCREEN_SCALE_FACTOR to enable platform plugin controlled per-screen factors.
QT_SCREEN_SCALE_FACTORS to set per-screen DPI.
QT_SCALE_FACTOR to set the application global scale factor.
Cannot mix incompatible Qt library (5.15.0) with this library (5.15.1)
[1] 5834 abort (core dumped) obs
I reported a bug with the arch package and my bug report was closed with the following message:
I just checked. I have the following QT packages instaled: qt5-base, qt5-declarative, qt5-svg, qt5-wayland, qt5-x11extras. All of them are on 5.15.1-1. obs-studio is 25.0.8-2. Is working without problem.
It seems like obs is expecting the previous version of the QT library and not the current one.
It’s an unintended partial upgrade - one of your Qt packages hasn’t been upgraded. Check again for updates, and e.g. make sure your mirror is up-to-date.
I haven’t used this, but since this big QT debacle and lots of people having issues with the upgrade, this has been recommended for downgrading; downgrader-git in AUR.
I am getting that error with multiple other qt applications such as qpdfview and onionshare. I tried rebuilding the qt packages and the python qt packages that were outdated have now been updated.
QT_AUTO_SCREEN_SCALE_FACTOR to enable platform plugin controlled per-screen factors.
QT_SCREEN_SCALE_FACTORS to set per-screen DPI.
QT_SCALE_FACTOR to set the application global scale factor.
Cannot mix incompatible Qt library (5.15.0) with this library (5.15.1)
[1] 6552 abort (core dumped) qpdfview
Someone posted a fix in the Arch Forums last night and it actually worked for me too which is reinstalling qt5-styleplugins . Marking as solution, thank you for helping troubleshoot this.