FS#57318 - [qt5, LibreOffce] Add --enable-qt5 for LibreOffice 6

Attached to Project: Arch Linux
Opened by Kyle Devir (QuartzDragon) - Thursday, 01 February 2018, 06:59 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 02 February 2018, 13:00 GMT
Task Type Feature Request
Category Packages: Testing
Status Closed
Assigned To Andreas Radke (AndyRTR)
Antonio Rojas (arojas)
Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

LibreOffice 6 has added a Qt5 backend, they just don't seem to have advertised it much:

https://cgit.freedesktop.org/libreoffice/core/log/?qt=grep&q=Qt5

Would be nice to see it enabled. :)
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 02 February 2018, 13:00 GMT
Reason for closing:  Deferred
Additional comments about closing:  It's not yet functional nor stable.
Comment by Andreas Radke (AndyRTR) - Thursday, 01 February 2018, 07:13 GMT
LibO 6.0.x currently doesn't build against qt5 - it will require a patched qt5 similar to that change:
https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/qt4&id=e00afc6958cd298e2cdfe3ff92644662ea24365b

And don't expect qt5/kf5 vcl not yet very stable and it won't become so anytime soon. Debian has decided to drop kde4 vcl and will introduce a new gtk3_qt5 mixed vcl into LibO 6.1.x!
Comment by Antonio Rojas (arojas) - Thursday, 01 February 2018, 07:21 GMT
Actually it does build fine (minus the file picker), but it is completely broken and simply crashes at startup. So there is a reason why they haven't advertised it much.
Comment by Andreas Radke (AndyRTR) - Thursday, 01 February 2018, 07:43 GMT
What further changes are needed to pass configure than --enable-qt5? It failed for me the header checks.
Comment by Antonio Rojas (arojas) - Thursday, 01 February 2018, 07:50 GMT
There are no changes needed. Note that there is a typo in line 10843 of configure.ac (/vcl/unx/qt5/ should be /vcl/qt5/) so the ExcludeSocketNotifiers isn't even run - but that doesn't make a difference since the test fails anyway. I suspect those tests are obsolete since the affected bugs are mostly marked fixed upstream or inactive for years. In any case, the build proceeds fine, with the file picker disabled, and the resulting binary crashes at startup when using SAL_USE_VCLPLUGIN=qt5.
Comment by Andreas Radke (AndyRTR) - Thursday, 01 February 2018, 08:04 GMT

Loading...