Bug 114440 - Plasma 5/KDE Qt5 Desktop Integration (file picker dialog): configure failure with Qt 5.9.3 and Qt 5.10.0
Summary: Plasma 5/KDE Qt5 Desktop Integration (file picker dialog): configure failure ...
Status: RESOLVED MOVED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.0.0.0.beta2
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-13 13:14 UTC by Robert Walker
Modified: 2018-01-28 04:53 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
libreoffice-6.0.9999 Gentoo build log with qt-5.10.0 (554.11 KB, application/gzip)
2017-12-13 13:23 UTC, Robert Walker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Walker 2017-12-13 13:14:01 UTC
Description:
I'm testing Libreoffice 6.0 Beta2.
This appears to be working really well on my system and builds cleanly.

However when built against Qt 5.9.3 the file dialog Plasma integration support fails at the configure phase.

I updated to Qt 5.10.0 this week. I've rebuilt Libreoffice 6.0 Beta2 against this. The Plasma/KDE integration fails in the configure phase - with the same Qt5 errors.



Steps to Reproduce:
1. Build Libreoffice 6.0 Beta2 against the Qt 5.9.3 or Qt 5.10.0 libraries.
2. Building against Qt5 fails at the configure stage.
3. The build completes successfully - but without any Qt5 / Plasma integration support.


Actual Results:  
Open a file dialog, in any of the suite applications, the file picker is Gtk / Gtk3-based. When Libreoffice is run under the Plasma 5 Desktop.

Expected Results:
Open a Qt5-based file dialog, in any of the suite applications, when Libreoffice is run under the Plasma 5 Desktop and built with Qt5 support.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.0.0.0.beta2+
Build ID: Gentoo official package
CPU threads: 8; OS: Linux 4.14; UI render: default; VCL: gtk3; 
Locale: en-GB (en_GB.UTF-8); Calc: CL


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Comment 1 Robert Walker 2017-12-13 13:23:32 UTC
Created attachment 138418 [details]
libreoffice-6.0.9999 Gentoo build log with qt-5.10.0

Build log from building libreoffice on my Gentoo GNU/Linux system is attached.

emerge -pv dev-qt/qtcore

[ebuild   R   #] dev-qt/qtcore-5.10.0:5/5.10::qt  USE="icu systemd -debug {-test}" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB


emerge -pv app-office/libreoffice

[ebuild   R   *] app-office/libreoffice-6.0.9999::bobwya  USE="cups dbus googledrive gtk gtk3 kde qt5 -bluetooth -branding -coinmp -debug -eds -firebird -gnome -gstreamer -java -jemalloc -libressl -mysql -odk -pdfimport -postgres -qt4 {-test} -vlc" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_5 -python2_7 -python3_4 -python3_6" PYTHON_TARGETS="python2_7 python3_4 python3_5 -python3_6" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Comment 2 Jan-Marek Glogowski 2017-12-13 14:11:54 UTC
Actually your build log shows it compiles and installs the qt5 VCL plugin (libvclplug_qt5lo.so). But the backend isn't yet selected automatically, because it's still too buggy and not usable.

And someone else also removed the bogus Qt5 warnings about the file picker dialogs.

You can see the current state, if you start LibreOffice with "SAL_USE_VCLPLUGIN=qt5 soffice" and optionally also add SAL_VCL_QT5_USE_CAIRO=1. This also doesn't yet have any KDE native file dialogs.
Comment 3 Buovjaga 2017-12-13 14:32:20 UTC
Yep. Build problems belong to the dev list anyway: https://wiki.documentfoundation.org/Development/Mailing_List
Comment 4 Robert Walker 2017-12-13 15:27:44 UTC
Right np. Sorry for the noise.