Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#76787 - [libreoffice-fresh] qt6 plugin missed

Attached to Project: Arch Linux
Opened by Guido Iodice (guiodic) - Friday, 09 December 2022, 15:46 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 12 December 2022, 08:03 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Low
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Libreoffice is capable of use qt6 if compiled with --enable-qt6

Could you compile it with this option? Thank you!
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Monday, 12 December 2022, 08:03 GMT
Reason for closing:  Implemented
Additional comments about closing:  7.4.3-3
Comment by Andreas Radke (AndyRTR) - Saturday, 10 December 2022, 12:56 GMT
https://cgit.freedesktop.org/libreoffice/core/commit/?id=88d57cf241209ffec9eaed3e523942ab51af6db6

Feel free to apply the qt6.patch but the build fails due to earlier use of qt5:

[build CXX] vcl/qt6/QtFont.cxx
In file included from /build/libreoffice-fresh/src/libreoffice-7.4.3.2/vcl/qt6/../qt5/QtAccessibleWidget.cxx:21,
from /build/libreoffice-fresh/src/libreoffice-7.4.3.2/vcl/qt6/QtAccessibleWidget.cxx:10:
/build/libreoffice-fresh/src/libreoffice-7.4.3.2/workdir/CustomTarget/vcl/qt6/QtAccessibleWidget.moc:16:2: error: #error "This file was generated using the moc from 5.15.7. It"
16 | #error "This file was generated using the moc from 5.15.7. It"
| ^~~~~

I guess this can't be solved other than removing qt5 support. Qt6 vcl doesn't have a working video sink for GStreamer
so I prefer to leave out qt6 vcl for now until you find a way to solve the parallel build.
Comment by Andreas Radke (AndyRTR) - Saturday, 10 December 2022, 12:57 GMT
arojas: maybe you know a way how to fix this build error. There're no further important qt6 related commits in LO cgit. Maybe pending in its gerrit.
Comment by Guido Iodice (guiodic) - Saturday, 10 December 2022, 13:14 GMT
A possible workaround: compile with --enable-qt6 then make a separate package (i.e. libreoffice-fresh-qt6) with only the relevant file /usr/lib/libreoffice/program/libvclplug_qt6lo.so

(also I presume kf5 requirest qt5 too.)
Comment by Andreas Radke (AndyRTR) - Saturday, 10 December 2022, 13:43 GMT
A separate pkg is no option for the official repo. You can do a custom build disabling qt5 or push something to AUR.
Comment by Antonio Rojas (arojas) - Saturday, 10 December 2022, 17:27 GMT
This is actually Arch's fault due to our non-standard "no libexec" policy.

https://github.com/LibreOffice/core/blob/master/configure.ac#L13169

We should really rethink this policy. Nowadays libexec is officially part of FHS.

As a workaround, export qt6_libexec_dirs="/usr/lib/qt6" before autogen.sh

Loading...