<div dir="ltr"><div><div><div><div>Was able to find time to search again.<br>Fortunatelly it is already here. I mean qtquicks-controls port<br><a href="https://github.com/nemomobile/qtquickcontrols-nemo">https://github.com/nemomobile/qtquickcontrols-nemo</a><br><br>Rpm for Sailfish in version 5.2 could be installed from here.<br><a href="https://openrepos.net/content/locusf/glacier-homescreen">https://openrepos.net/content/locusf/glacier-homescreen</a><br><br></div>This is used as part of another grate project.<br></div>I am already in touch with developers.<br></div>So we can go further from this point. <br><br></div>Alex.<br><div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-18 22:31 GMT+01:00  <span dir="ltr"><<a href="mailto:smirnoff.al@gmail.com" target="_blank">smirnoff.al@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello.<br>
I have asked in Sailfish devel list about qtquick.controls.<br>
There is no support at all in SailfishOS. There  also no packages exist in Mer official repo.<br>
<br>
But never mind. I have no plan to run Gcompris on Jolla phone in  long terms anyway.<br>
The goal is Jolla tablet, wich has Intel architecture. And it is much more like to have Controls out of the box on tablet.<br>
But we will not have tablet sdk before June next year, so I will try to build controls my self. Then we can decide  where to place it.<br>
<br>
Alex.<br>
<br>
<br>
Am Di. Dez. 16 10:51:53 2014 GMT+0100 schrieb Johnny Jazeix:<br>
<div class="HOEnZb"><div class="h5">> Hi,<br>
><br>
> I managed to build the package for the emulator and run it (I pushed<br>
> it really faslty this morning so I hope I don't forget anything in the<br>
> repo). I have the same as you, it stays in "Loading" state. I ran it<br>
> with gdb and saw some errors:<br>
> QtQuick.Dialogs and QtQuick.Controls are not installed in the emulator<br>
> (and probably on the phone).<br>
><br>
> I see from <a href="https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/blob/1.18/allowed_qmlimports.conf" target="_blank">https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/blob/1.18/allowed_qmlimports.conf</a><br>
> that these imports are not handled by sailfishOS. I'm not sure on how<br>
> to handle this... Do you know if we can install them (I did pkcon but<br>
> all the Qt Qml packages seemed to be installed so they don't seem<br>
> supported by sailfish)?<br>
><br>
> An other solution I see would be to do separate qml code for sailfish<br>
> but I don't like this idea at all... ("Write once, compile<br>
> everywhere")<br>
><br>
> For now, we should ask sailfishOS mailing list how can we handle these<br>
> packages. Can you do it or do you want me to do it?<br>
><br>
> For connecting to the emulator, I don't have what I did here but does<br>
> the password asked is the one you enter in developer settings?<br>
> Basically what I did is compile under mersdk vm, copy to the host and<br>
> scp the file from my host to the nemo vm.<br>
><br>
> Johnny<br>
><br>
> 2014-12-15 15:10 GMT+01:00  <<a href="mailto:smirnoff.al@gmail.com">smirnoff.al@gmail.com</a>>:<br>
> > Yes, emulator has i486 arch.<br>
> >  Armv7 target is for real device.<br>
> > And yes, there are two ways to deploy   to emulator: Qtcreator and scp.<br>
> > I was unsuccessful in both for different reasons.<br>
> >  I could connect to emulator from QtCreator, but could not run, as there is no cmake generator available.<br>
> ><br>
> > If I try to ssh emulator, it ask me for password.<br>
> ><br>
> > I've started to learn cmake. I will try also to ask in sailfish maillist about possibility to add cmake support for sailfish in qtcreator. Because I think this should be the prefered way to use Sailfish IDE.<br>
> ><br>
> > I am also not sure if it possible to start any application in sailfish os in full screen mode.<br>
> ><br>
> > Am Mo. Dez. 15 13:37:46 2014 GMT+0100 schrieb Johnny Jazeix:<br>
> >> Hi,<br>
> >><br>
> >> I will push soon a package that not fails at all (I managed to remove<br>
> >> the /bin/sh dependency).<br>
> >><br>
> >> I thought that the emulator used the armv7hl version ? I'm not sure on<br>
> >> how to install the application in the emulator...<br>
> >><br>
> >> Can I ssh using nemo<br>
> >> (<a href="https://sailfishos.org/wiki/SDK_Beta_Qt5_Known_Issues#Emulator" target="_blank">https://sailfishos.org/wiki/SDK_Beta_Qt5_Known_Issues#Emulator</a>) and<br>
> >> then scp the file and deploy it manually ? I didn't manage to add a<br>
> >> terminal on the emulator...<br>
> >><br>
> >> I hope the remaining problems don't come because of SailfishOS overlay<br>
> >> (<a href="https://sailfishos.org/sailfish-silica/sailfish-application-lifecycle.html" target="_blank">https://sailfishos.org/sailfish-silica/sailfish-application-lifecycle.html</a>).<br>
> >> I'll try making changes on gcompris to handle this to see if it causes<br>
> >> the problem...<br>
> >><br>
> >> Johnny<br>
> >><br>
> >> 2014-12-14 23:55 GMT+01:00 Alex Smirnoff <<a href="mailto:smirnoff.al@gmail.com">smirnoff.al@gmail.com</a>>:<br>
> >> > Hello, Johnny.<br>
> >> > Thank you for you work. I was able to build rpm for armv7hl. And have<br>
> >> > successfully installed it on my Jolla. Application icon is on the place it<br>
> >> > should be.<br>
> >> > Unfortunately I could not start it. It shows loading...  and stays in this<br>
> >> > stage.<br>
> >> ><br>
> >> > I have also no idea how to debug, because I could not start it from Creator.<br>
> >> > There is no available cmake generator.<br>
> >> ><br>
> >> > I was also not able to build rpm for emulator. I have got  Error: No<br>
> >> > compatible architecture found.<br>
> >> ><br>
> >> > 2014-12-10 23:37 GMT+01:00 JAZEIX Johnny <<a href="mailto:jazeix@gmail.com">jazeix@gmail.com</a>>:<br>
> >> >><br>
> >> >> Hi,<br>
> >> >><br>
> >> >> you can find a first try here :<br>
> >> >> <a href="https://github.com/petitlapin/GCompris-qt/tree/sailfish" target="_blank">https://github.com/petitlapin/GCompris-qt/tree/sailfish</a><br>
> >> >><br>
> >> >> Using the rpmvalidator tool, I'm still having errors :<br>
> >> >> * rpm name (for now, I do a manual mv but we can automate it)<br>
> >> >> * /bin/sh is a non allowed dependency (I think we can play with the spec<br>
> >> >> file for this point?)<br>
> >> >><br>
> >> >> A warning telling the file is not stripped and an info telling the rpath<br>
> >> >> is empty.<br>
> >> >><br>
> >> >> I did comment a lot of plugins so I hope they are not needed or already<br>
> >> >> installed...<br>
> >> >> -----<br>
> >> >> If someone wants to try (it's not working yet) :<br>
> >> >><br>
> >> >> I had to install cmake in the mersdk virtualbox:<br>
> >> >> sb2 -t SailfishOS-armv7hl -m sdk-install -R zypper install cmake<br>
> >> >><br>
> >> >> Then inside clone the gcompris repository:<br>
> >> >> git clone <a href="https://github.com/petitlapin/GCompris-qt/tree/sailfish" target="_blank">https://github.com/petitlapin/GCompris-qt/tree/sailfish</a><br>
> >> >><br>
> >> >> To run the cmake:<br>
> >> >> mkdir build_gcompris<br>
> >> >> cd build_gcompris<br>
> >> >> sb2 -t SailfishOS-armv7hl<br>
> >> >> cmake -DSAILFISHOS=1 -DBUILD_RPM=1 ../gcompris && make package<br>
> >> >><br>
> >> >> -----<br>
> >> >> I didn't try to deploy it yet (need to find how to do it)...<br>
> >> >><br>
> >> >> Johnny<br>
> >> >><br>
> >> >> On 12/02/14 10:35, Alex Smirnoff wrote:<br>
> >> >><br>
> >> >> Hi.<br>
> >> >> If you send me CMake rules file you have created, I could also try to test<br>
> >> >> and tra to fix the issues.<br>
> >> >><br>
> >> >> Have you already branch from gcompris git?<br>
> >> >><br>
> >> >><br>
> >> >><br>
> >> >> 2014-12-02 10:19 GMT+01:00 Johnny Jazeix <<a href="mailto:jazeix@gmail.com">jazeix@gmail.com</a>>:<br>
> >> >>><br>
> >> >>> Hi,<br>
> >> >>><br>
> >> >>> thanks for pointing out the verification tool. I managed to create a<br>
> >> >>> first rpm using CMake/CPack and it shows a lot of errors. I didn't<br>
> >> >>> have the time to check them (there is the one about file placements of<br>
> >> >>> rcc/translations which should not be in .../bin/ but .../share/...,<br>
> >> >>> naming conventions to follow (described in the FAQ)).<br>
> >> >>><br>
> >> >>> Johnny<br>
> >> >>><br>
> >> >>><br>
> >> >>> 2014-12-01 22:18 GMT+01:00  <<a href="mailto:smirnoff.al@gmail.com">smirnoff.al@gmail.com</a>>:<br>
> >> >>> > Hello.<br>
> >> >>> > .pro is not QtCreator specific. This file is used by qmake, to generate<br>
> >> >>> > classic  makefile. In this sense qmake does absolute the same as cmake does.<br>
> >> >>> ><br>
> >> >>> > I have not so much experience with cmake as with qmake. So for me it is<br>
> >> >>> > easy to create the .pro .<br>
> >> >>> ><br>
> >> >>> > But if f we want to use cmake, the main candidate for investigation is<br>
> >> >>> > .prf. It includes almost  all the libraries needed  on sailfishos for<br>
> >> >>> > ordinary application.<br>
> >> >>> ><br>
> >> >>> > Rpm has nothing special. It is possible to install any standard rpm,<br>
> >> >>> > builded for armv7.<br>
> >> >>> > So rpmbuild should be enough.<br>
> >> >>> ><br>
> >> >>> > The spec file could be created manually or using yaml.<br>
> >> >>> ><br>
> >> >>> > As about plugins, yes that was jpeg.<br>
> >> >>> > I wanted to add missing path, but the cmake syntax yet  be to learned.<br>
> >> >>> > If jpeg plugin is not needed,  that is better. I willl comment it out.<br>
> >> >>> ><br>
> >> >>> > Alex.<br>
> >> >>> ><br>
> >> >>> > Am Mo. Dez. 1 10:34:30 2014 GMT+0100 schrieb Johnny Jazeix:<br>
> >> >>> >> Hi,<br>
> >> >>> >><br>
> >> >>> >> I took a first look this week-end.<br>
> >> >>> >><br>
> >> >>> >> My aim was to create the rpm without using QtCreator. I first<br>
> >> >>> >> installed cmake on the mersdk virtual machine, then run it and<br>
> >> >>> >> compile.<br>
> >> >>> >> Some little changes in the source code need to be made (Sailfish uses<br>
> >> >>> >> Qt5.2). but I think the compilation is ok (except I didn't try to use<br>
> >> >>> >> sailfish "sdk" where we can enable the "booster").<br>
> >> >>> >><br>
> >> >>> >> I don't think we can deploy GCompris like that but we need to create a<br>
> >> >>> >> rpm.<br>
> >> >>> >><br>
> >> >>> >> The rpm package structure looks like:<br>
> >> >>> >> /usr/bin/GCompris<br>
> >> >>> >> /usr/share/GCompris/{data}<br>
> >> >>> >><br>
> >> >>> >> Actually, we do (if I'm not wrong):<br>
> >> >>> >> bin/GCompris<br>
> >> >>> >> bin/{rcc/translations}/{data}<br>
> >> >>> >><br>
> >> >>> >> My next aim was to create the good folders and put the files in them<br>
> >> >>> >> in order to create the rpm.<br>
> >> >>> >> Sailfish uses the .pro file from QtCreator but we do not have this so<br>
> >> >>> >> I need to take a look at what it does and see if we can bypass it (or<br>
> >> >>> >> create it on the fly).<br>
> >> >>> >> I didn't take a good look yet on how runs rpmbuild and how it's called<br>
> >> >>> >> by QtCreator compiler.<br>
> >> >>> >><br>
> >> >>> >> Do you know which files are needed to run rpmbuild and where to put<br>
> >> >>> >> the files ? Once we have it, the cmake rules should be simple :<br>
> >> >>> >> - "make" to compile GCompris<br>
> >> >>> >> - "make sailfish_rpm" which will create the folders, copy the files<br>
> >> >>> >> and run rpmbuild.<br>
> >> >>> >> ... ("make sailfish_deploy" if needed)<br>
> >> >>> >><br>
> >> >>> >> I also saw that CPack can create rpms<br>
> >> >>> >> (<a href="http://www.cmake.org/cmake/help/v3.1/module/CPackRPM.html" target="_blank">http://www.cmake.org/cmake/help/v3.1/module/CPackRPM.html</a>). Do you<br>
> >> >>> >> know if the rpm packages needed by Sailfish are the same as "regular"<br>
> >> >>> >> ones ?<br>
> >> >>> >><br>
> >> >>> >> ------<br>
> >> >>> >><br>
> >> >>> >> For your try, what are the troubles ? Are the missing plugins the jpeg<br>
> >> >>> >> and xcb ones ? I also had this problem and I just commented on the<br>
> >> >>> >> src/core/CMakeLists.txt for now...<br>
> >> >>> >><br>
> >> >>> >> When you have some time, can you describe me what you did so maybe<br>
> >> >>> >> this could help me some way ?<br>
> >> >>> >><br>
> >> >>> >> Thanks,<br>
> >> >>> >><br>
> >> >>> >> Johnny<br>
> >> >>> >><br>
> >> >>> >> 2014-12-01 9:11 GMT+01:00 Alex Smirnoff <<a href="mailto:smirnoff.al@gmail.com">smirnoff.al@gmail.com</a>>:<br>
> >> >>> >> > Yes, Bruno, I have both the interest and the knowledge. My goal to<br>
> >> >>> >> > make it<br>
> >> >>> >> > possible.<br>
> >> >>> >> > If Johnny Jazeix create cmake rules, I will try to build it and run<br>
> >> >>> >> > it in an<br>
> >> >>> >> > emulator and on my Jolla phone.<br>
> >> >>> >> ><br>
> >> >>> >> > Till now I have made already the first try, but got troubles with qt<br>
> >> >>> >> > plugins.<br>
> >> >>> >> ><br>
> >> >>> >> > Regards.<br>
> >> >>> >> > Alex.<br>
> >> >>> >> ><br>
> >> >>> >> > 2014-11-27 23:48 GMT+01:00 Bruno Coudoin<br>
> >> >>> >> > <<a href="mailto:bruno.coudoin@gcompris.net">bruno.coudoin@gcompris.net</a>>:<br>
> >> >>> >> >><br>
> >> >>> >> >><br>
> >> >>> >> >> Le 27/11/2014 22:09, Alex Smirnoff a écrit :<br>
> >> >>> >> >><br>
> >> >>> >> >> Hello.<br>
> >> >>> >> >> I would like to know if there is any activity already to run/port<br>
> >> >>> >> >> gcompris-qt on Sailfish OS?<br>
> >> >>> >> >><br>
> >> >>> >> >><br>
> >> >>> >> >> Hi,<br>
> >> >>> >> >><br>
> >> >>> >> >> You are the first to mention it on the list and got not private<br>
> >> >>> >> >> request<br>
> >> >>> >> >> about that either.<br>
> >> >>> >> >><br>
> >> >>> >> >> Do you have the interest and the knowledge to build GCompris on it?<br>
> >> >>> >> >><br>
> >> >>> >> >> Bruno.<br>
> >> >>> >> >><br>
> >> >>> >> >> _______________________________________________<br>
> >> >>> >> >> GCompris-devel mailing list<br>
> >> >>> >> >> <a href="mailto:GCompris-devel@kde.org">GCompris-devel@kde.org</a><br>
> >> >>> >> >> <a href="https://mail.kde.org/mailman/listinfo/gcompris-devel" target="_blank">https://mail.kde.org/mailman/listinfo/gcompris-devel</a><br>
> >> >>> >> >><br>
> >> >>> >> ><br>
> >> >>> >> ><br>
> >> >>> >> ><br>
> >> >>> >> > --<br>
> >> >>> >> > Alex Smirnov<br>
> >> >>> >> ><br>
> >> >>> >> > _______________________________________________<br>
> >> >>> >> > GCompris-devel mailing list<br>
> >> >>> >> > <a href="mailto:GCompris-devel@kde.org">GCompris-devel@kde.org</a><br>
> >> >>> >> > <a href="https://mail.kde.org/mailman/listinfo/gcompris-devel" target="_blank">https://mail.kde.org/mailman/listinfo/gcompris-devel</a><br>
> >> >>> >> ><br>
> >> >>> >><br>
> >> >>> ><br>
> >> >>> > --<br>
> >> >>> > Gesendet von meinem Jolla<br>
> >> >><br>
> >> >><br>
> >> >><br>
> >> >><br>
> >> >> --<br>
> >> >> Alex Smirnov<br>
> >> >><br>
> >> >><br>
> >> ><br>
> >> ><br>
> >> > --<br>
> >> > Alex Smirnov<br>
> >><br>
> ><br>
> > --<br>
> > Gesendet von meinem Jolla<br>
><br>
<br>
--<br>
Gesendet von meinem Jolla</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Alex Smirnov<br></div></div>
</div></div></div>