<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
I sent it again as the mail size was too big.<br>
<br>
Johnny<br>
<br>
On 02/14/15 16:40, JAZEIX Johnny wrote:<br>
</div>
<blockquote cite="mid:54DF6C78.2070501@gmail.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hi,<br>
<br>
thanks to Bruno, we removed the QtDialogs dependency.<br>
<br>
I updated my repo (<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://github.com/petitlapin/GCompris-qt/tree/sailfish">https://github.com/petitlapin/GCompris-qt/tree/sailfish</a>)
with the latest gcompris version to have it.<br>
<br>
I can't test because the emulator is i486 and qtquickcontrols
needs a libQt5V8.so.5 library that I can't find...<br>
<br>
I also noticed a few issues:<br>
* gcc version is 4.6.4 and some code uses c++11 that have been
added on 4.7 (Non-static data member initializers)<br>
* QtQuick.Controls and QtQuick.Controls.Styles version are 1.0
and in the code we use 1.1 or 1.2. I don't know what we lose if
we use 1.0 instead of above ones if above ones are available in
the system?<br>
<br>
To compile, run: " cmake -DSAILFISHOS=1 -DBUILD_ARCH=armv7hl
../GCompris-qt && make package". There probably will be
an error like:<br>
CPack Error: Problem copying the package:
/home/mersdk/build_arm/_CPack_Packages/Linux/RPM/gcompris-0.27-Linux.rpm
to /home/mersdk/build_arm/gcompris-0.27-Linux.rpm<br>
CPack Error: Error when generating package: gcompris<br>
<br>
But you can find the rpm in
BUILD_DIR/_CPack_Packages/Linux/RPM/harbour-gcompris-qt-0.27-1.armv7hl.rpm<br>
<br>
Johnny<br>
<br>
On 01/07/15 23:31, Alex Smirnoff wrote:<br>
</div>
<blockquote
cite="mid:CAEYGd+x4LHyUcT30=u5GigqOstaFUzU71vT2GW0aBF4emB3_gQ@mail.gmail.com"
type="cite">
<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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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>
> >><br>
> >> 2014-12-14 23:55 GMT+01:00 Alex
Smirnoff <<a moz-do-not-send="true"
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 moz-do-not-send="true"
href="mailto:jazeix@gmail.com">jazeix@gmail.com</a>>:<br>
> >> >><br>
> >> >> Hi,<br>
> >> >><br>
> >> >> you can find a first try
here :<br>
> >> >> <a moz-do-not-send="true"
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
moz-do-not-send="true"
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>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</blockquote>
<br>
</body>
</html>