[SailfishDevel] qt upgrade

Alexander Akulich akulichalexander at gmail.com
Sun Feb 10 09:17:48 UTC 2019


I experimented with a build in prefix in March 2018. I changed MER Qt
build configuration to make it trivial to install an arbitrary number
of versions simultaneously. I'll make PRs on git.merproject.org once
Qt-5.9 support will be merged to master.
There are two issues — wayland and virtual keyboard. I posted
instruction in Sailfish OS Fan Club group in Telegram, here it is:

>// Qt 5.9 for Sailfish OS (installed to /usr/lib/qt5.9 simultaneously to the system Qt)
>// To install (root or privileged):
>ssu ar qt-prefix-5.9 http://repo.merproject.org/obs/home:/Kaffeine:/qt:/prefix:/5.9/latest_armv7hl
>zypper ref qt-prefix-5.9
>zypper in qt5.9-qtquickcontrols2-examples qt5.9-qtwayland
>// To remove (root or privileged):
>zypper rm qt5.9*
>// To try out (nemo):
>QT_SCALE_FACTOR=2 LD_LIBRARY_PATH=/usr/lib/qt5.9/lib /usr/lib/qt5.9/examples/quickcontrols2/gallery/gallery
>This is a very first success build, please do not expect much :).
>P.S.: Select Material style in the settings at the right top corner to make the demo a bit nicer.

I also mostly built Qt-5.11, but it is not an LTS and IMO not as big
step forward as 5.9, so I didn't evolve it.

On Sat, Feb 9, 2019 at 8:44 PM rinigus <rinigus.git at gmail.com> wrote:
> Hi,
> sounds like there are porting and licensing issues on the way of getting qt 5.9 for SFOS (see logs from the last #mer-meeting). Its all understandable, but it would be great to get a way forward. Not sure whether it has been considered by others and I wonder whether we can make a separate Qt 5.12 packages for /opt/qt512?
> From a quick test, it is possible to run non-silica applications as well (tested with qmlscene and QML with plain Window). In that test, even keyboard worked as expected. Look was non-native, but let it be for now.
> So, I wonder, whether its possible to get Qt 5.12 compiled with /opt/qt512 prefix and then use it for development using the latest libs (new web browser?) and collaborate with other mobile Linux'es out there. As far as I remember, Wayland was rather old and, maybe, it will preclude Qt 5.12 compilation. @mal, though, had a newer version around and it may serve a purpose for such project. Is there anything else that should be considered?
> Cheers,
> Rinigus
> PS: Please consider it as request-for-comment and not as any kind of statement nor call-for-action :)
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org

More information about the Devel mailing list