# libreoffice --safe-modeqt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
# pkg install -f libreoffice
# pkg install xcb
# pkg install xcb-proto
# pkg install xcb-util
# pkg install -f libxcb
Try theqt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
QT_PLUGIN_PATH=/usr/local/lib/qt6/plugins variable.