When launching KeePassXC 2.5.4, I get the following error: Cannot mix incompatible Qt library (version 0x50d02) with this library (version 0x50e02) Abort trap (core dumped) uname -a: FreeBSD insanity 12.1-RELEASE-p3 FreeBSD 12.1-RELEASE-p3 GENERIC amd64 involved packages: keepassxc-2.5.4 KeePass Cross-platform Community Edition qt5-concurrent-5.14.2 Qt multi-threading module qt5-core-5.14.2_2 Qt core non-graphical module qt5-dbus-5.14.2 Qt D-Bus inter-process communication module qt5-declarative-5.14.2 Qt declarative framework for dynamic user interfaces qt5-gtkplatform-0.2.2_3 GTK platform backend for Qt 5 qt5-gui-5.14.2 Qt graphical user interface module qt5-linguisttools-5.14.2 Qt localization tools qt5-multimedia-5.14.2 Qt audio, video, radio and camera support module qt5-network-5.14.2 Qt network module qt5-opengl-5.14.2 Qt 5-compatible OpenGL support module qt5-printsupport-5.14.2 Qt print support module qt5-sql-5.14.2 Qt SQL database integration module qt5-style-plugins-5.0.0.23_7 Additional Styles for Qt 5 and KDE qt5-svg-5.14.2 Qt SVG support module qt5-testlib-5.14.2 Qt unit testing module qt5-widgets-5.14.2 Qt C++ widgets module qt5-x11extras-5.14.2 Qt platform-specific features for X11-based systems qt5-xml-5.14.2 Qt SAX and DOM implementations qt5-xmlpatterns-5.14.2 Qt support for XPath, XQuery, XSLT and XML Schema qtchooser-66_2 Qt tool wrapper qtcurve-utils-1.9.0.r1 QtCurve common files and libraries
No problem here, where does the package come from (official or custom repo?) Make sure you don't have any old qt5-*-5.13 packages installed
I think I found a workaround to solve the problem. I had the following environment variables set (because I use Mate and I like to have GTK look on QT apps when possible): declare -x QT_AUTO_SCREEN_SCALE_FACTOR="0" declare -x QT_QPA_PLATFORMTHEME="gtk2" declare -x QT_SCALE_FACTOR="1" by unsetting them, the problem disappeared. Yes, I use official FreeBSD repo only: FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes } It seems that the responsible of the issue is package "qt5-style-plugins-5.0.0.23_7". By reading stuff on forums, it seems that other QT applications suffer from the same problem, and another way to fix it (instead of unsetting the variables) should be, at the moment, downgrading "qt5-style-plugins" to version "5.0.0.23".
(In reply to Riccardo Mollo from comment #2) Looks like the style plugin needs a revision bump to get a new package against the new Qt version.
A commit references this bug: Author: tcberner Date: Sat May 16 17:21:44 UTC 2020 New revision: 535482 URL: https://svnweb.freebsd.org/changeset/ports/535482 Log: qt5-style-plugins: reinstate PORTREVISION and bump it after r531601 qt5-style-plugins has a wrong portname. It should not start with qt5- The portrevision got dropped when upgrading the proper qt5-* ports to 5.14.2; rather, this one should have been bumped. PR: 246502 Changes: head/x11-themes/qt5-style-plugins/Makefile
close PR, it is not a keepassxc bug