<div dir="ltr"><div class="gmail_default" style="font-size:small">No go, file conflicts appeared for several packages trying to overwrite qt56 installation. For example, qt5.9-qtdeclarative-qtquick was trying to write /usr/lib/libQt5Quick.so.5 . I presume something changed in OBS and your prefix path wasn't picked up.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Rinigus</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 10, 2019 at 1:01 PM Alexander Akulich <<a href="mailto:akulichalexander@gmail.com">akulichalexander@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The keypoints of the build:<br>
- upstream Qt-5.9.6<br>
    - Q_OS_SAILFISH platform [1]<br>
    - Sailfish Theme added as a plugin instead of direct<br>
QGenericUnixTheme patching [2]<br>
- _qt5_version re-defined in the OBS project config [3] (default value<br>
defined in qt5 macros).<br>
- qt5 macros [4] extended and moved to own repository [5]. The added<br>
macros fix installations conflicts, improve compatibility with fedora<br>
specs and let us flexibly define Qt installation layout from the<br>
outside of qtbase.<br>
- qtchooser-config is built as a part of qtbase.<br>
<br>
[1] <a href="https://git.merproject.org/Kaffeine/qtbase/commit/7b8850fc9df17384a8cf53dc8b1d1e435e806794" rel="noreferrer" target="_blank">https://git.merproject.org/Kaffeine/qtbase/commit/7b8850fc9df17384a8cf53dc8b1d1e435e806794</a><br>
[2] <a href="https://git.merproject.org/Kaffeine/qtbase/commit/816d9f7fe4fac0208d672086ae910cae772dcd32" rel="noreferrer" target="_blank">https://git.merproject.org/Kaffeine/qtbase/commit/816d9f7fe4fac0208d672086ae910cae772dcd32</a><br>
[3] <a href="https://build.merproject.org/project/prjconf/home:Kaffeine:qt:prefix:5.9" rel="noreferrer" target="_blank">https://build.merproject.org/project/prjconf/home:Kaffeine:qt:prefix:5.9</a><br>
[4] <a href="https://git.merproject.org/mer-core/qtbase/blob/mer-5.6/rpm/macros.qt5-default" rel="noreferrer" target="_blank">https://git.merproject.org/mer-core/qtbase/blob/mer-5.6/rpm/macros.qt5-default</a><br>
[5] <a href="https://git.merproject.org/Kaffeine/qt5-rpm-macros/blob/master/macros.qt5" rel="noreferrer" target="_blank">https://git.merproject.org/Kaffeine/qt5-rpm-macros/blob/master/macros.qt5</a><br>
<br>
Just try quickcontrols2/gallery and you'll see what's the problem<br>
(maliit keyboard doesn't show up and the window doesn't appear in<br>
lipstick home screen).<br>
<br>
On Sun, Feb 10, 2019 at 1:07 PM rinigus <<a href="mailto:rinigus.git@gmail.com" target="_blank">rinigus.git@gmail.com</a>> wrote:<br>
><br>
> Nice work,<br>
><br>
> so, there is already something similar done. Can't find where do you define _qt_prefix for your SPEC (<a href="https://git.merproject.org/Kaffeine/qtbase/blob/sailfish-platform-5.9/rpm/qtbase.spec" rel="noreferrer" target="_blank">https://git.merproject.org/Kaffeine/qtbase/blob/sailfish-platform-5.9/rpm/qtbase.spec</a>). There are also bunch of conflicts defined there, no idea whether they interfere.<br>
><br>
> Which issues did you have with Wayland and keyboard (which of them, maliit or qtvirtualkeyboard?).<br>
><br>
> @tortoisedoc: Sounds like this upgrade (5.6->5.9) is as much political as it is technical. As for 5.12, I don't know if there are some bugs there that have to be fixed. When using flatpak platform with 5.12, I have issues with QML Audio and some strange scaling of the map (latter could be also my bug in mapbox gl qml plugin). On 5.11, all performed as it was expected. So, either flatpak platform has still some issues at 5.12 or 5.12 itself has some bugs.<br>
><br>
> To sum up, no idea how much we can help with 5.9 transition and what's holding it back specifically.<br>
><br>
> Rinigus<br>
><br>
> On Sun, Feb 10, 2019 at 11:17 AM Alexander Akulich <<a href="mailto:akulichalexander@gmail.com" target="_blank">akulichalexander@gmail.com</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> I experimented with a build in prefix in March 2018. I changed MER Qt<br>
>> build configuration to make it trivial to install an arbitrary number<br>
>> of versions simultaneously. I'll make PRs on <a href="http://git.merproject.org" rel="noreferrer" target="_blank">git.merproject.org</a> once<br>
>> Qt-5.9 support will be merged to master.<br>
>> There are two issues — wayland and virtual keyboard. I posted<br>
>> instruction in Sailfish OS Fan Club group in Telegram, here it is:<br>
>><br>
>> >// Qt 5.9 for Sailfish OS (installed to /usr/lib/qt5.9 simultaneously to the system Qt)<br>
>> >// To install (root or privileged):<br>
>> >ssu ar qt-prefix-5.9 <a href="http://repo.merproject.org/obs/home:/Kaffeine:/qt:/prefix:/5.9/latest_armv7hl" rel="noreferrer" target="_blank">http://repo.merproject.org/obs/home:/Kaffeine:/qt:/prefix:/5.9/latest_armv7hl</a><br>
>> >zypper ref qt-prefix-5.9<br>
>> >zypper in qt5.9-qtquickcontrols2-examples qt5.9-qtwayland<br>
>> ><br>
>> >// To remove (root or privileged):<br>
>> >zypper rm qt5.9*<br>
>> ><br>
>> >// To try out (nemo):<br>
>> >QT_SCALE_FACTOR=2 LD_LIBRARY_PATH=/usr/lib/qt5.9/lib /usr/lib/qt5.9/examples/quickcontrols2/gallery/gallery<br>
>> ><br>
>> >This is a very first success build, please do not expect much :).<br>
>> ><br>
>> >P.S.: Select Material style in the settings at the right top corner to make the demo a bit nicer.<br>
>><br>
>> I also mostly built Qt-5.11, but it is not an LTS and IMO not as big<br>
>> step forward as 5.9, so I didn't evolve it.<br>
>><br>
>> On Sat, Feb 9, 2019 at 8:44 PM rinigus <<a href="mailto:rinigus.git@gmail.com" target="_blank">rinigus.git@gmail.com</a>> wrote:<br>
>> ><br>
>> > Hi,<br>
>> ><br>
>> > 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?<br>
>> ><br>
>> > 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.<br>
>> ><br>
>> > 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?<br>
>> ><br>
>> > Cheers,<br>
>> ><br>
>> > Rinigus<br>
>> ><br>
>> > PS: Please consider it as request-for-comment and not as any kind of statement nor call-for-action :)<br>
>> > _______________________________________________<br>
>> > SailfishOS.org Devel mailing list<br>
>> > To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfishos.org</a><br>
>> _______________________________________________<br>
>> SailfishOS.org Devel mailing list<br>
>> To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfishos.org</a><br>
><br>
> _______________________________________________<br>
> SailfishOS.org Devel mailing list<br>
> To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfishos.org</a><br>
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfishos.org</a></blockquote></div>