<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Happy holidays to all of you!<br>
<br>
After many weeks of idling, I found some more time to look into what
I started here.<br>
With a few hacks around the configure scripts, and device config
files I managed to have configure accept the qt I built earlier, as
-system-qt.<br>
However QtMoko still builds its own version Qt-Embedded. The
system-qt is *only* used to build the QBuild tool.<br>
<br>
It looks to me as if qtopia was designed to use its own version of
Qt. As the configure-script is rather complicated and consists of
several thousand lines of code, I decided to try a new approach now:<br>
invoke qmake/qbuild manually from a simple shell-script and see if I
can come up with something easy to quickly build qtmoko against an
already available version of Qt.<br>
<br>
I'll let you all know what comes out of this.<br>
<br>
In the meantime, if you are wondering what kinds of hacks I had to
employ, check the latest commit on my fork:<br>
<a class="moz-txt-link-freetext" href="https://github.com/Artox/qtmoko/commits/master">https://github.com/Artox/qtmoko/commits/master</a><br>
<br>
br<br>
Josua Mayer<br>
<br>
<div class="moz-cite-prefix">On Oct 11 2015 Josua Mayer wrote:<br>
</div>
<blockquote
cite="mid:CABxSFT1CH9A9TMUk2x1ziRtyNw5GgNtHH8ycp=36Xa+U550fKA@mail.gmail.com"
type="cite">
<div dir="ltr">Good day everybody,<br>
<br>
It has been quite a while since I promised I'd try building
qtmoko, and I finally had some limited success:<br>
I did get qtmoko built on real hardware (quadcore armv7) running
debian jessie.<br>
<br>
Steps I did:<br>
build qt 4.8.7 with -embedded, and turned it into a .deb: <a
class="moz-txt-link-freetext"
href="https://repo.solid-build.xyz/obs/home:/Catwich:/QtMoko/Debian_Jessie/armhf/qt-embedded_4.8.7_armhf.deb"><a class="moz-txt-link-freetext" href="https://repo.solid-build.xyz/obs/home:/Catwich:/QtMoko/Debian_Jessie/armhf/qt-embedded_4.8.7_armhf.deb">https://repo.solid-build.xyz/obs/home:/Catwich:/QtMoko/Debian_Jessie/armhf/qt-embedded_4.8.7_armhf.deb</a></a><br>
<br>
# build qtmoko<br>
mkdir build; cd build<br>
export PATH=/opt/qt-embedded/bin:$PATH<br>
export LD_LIBRARY_PATH=/opt/qt-embedded/lib<br>
../qtmoko/configure -system-qt -no-rpath -device gta04
-ui-type mobile -remove-module pkgmanagement -xplatform
linux-native-g++ -platform linux-g++ -prefix /opt/qtmoko<br>
make -j4<br>
make image<br>
cp -r image /opt/qtmoko<br>
<br>
However I am not happy with this result.<br>
For one, I had to heavily patch the configure script to make it
accept -system-qt, and even then, it looks like it rebuilt its
bundled version of Qt (check the installed files in
/opt/qtmoko/lib, such as libQtScript.so).<br>
<br>
I also disabled the QX app, to save on X11 dependencies, maybe
in the future all QtMoko apps can be built individually with
their own build-deps?<br>
<br>
Then there was a weird build error in qmailstore.cpp that I
didn't understand, and hackfixed it in qmailstore.h<br>
<br>
And finally I noticed that these build-dependencies were
absolutely necessary:<br>
libts-dev, libbluetooth-dev, libgps-dev, libspeexdsp-dev,
libvorbis-dev<br>
<br>
I have uploaded all the interesting log files, and binaries to
google drive here: <a moz-do-not-send="true"
href="https://drive.google.com/folderview?id=0B2IGxBXnVbDcdzV5YjgyNFNOSUk&usp=sharing">https://drive.google.com/folderview?id=0B2IGxBXnVbDcdzV5YjgyNFNOSUk&usp=sharing</a><br>
<br>
My next step will be to sort otu this -system-qt issue, and then
build qtmoko using dpkg-buildpackage automatically on a
build-server like I did Qt: <a moz-do-not-send="true"
href="https://obs.solid-build.xyz/project/monitor/home:Catwich:QtMoko">https://obs.solid-build.xyz/project/monitor/home:Catwich:QtMoko</a><br>
<br>
Yours sincerely
<div>Josua mayer<br>
<br>
2015-09-29 19:36 GMT+02:00 Christ van Willegen <<a
class="moz-txt-link-abbreviated"
href="mailto:cvwillegen@gmail.com"><a class="moz-txt-link-abbreviated" href="mailto:cvwillegen@gmail.com">cvwillegen@gmail.com</a></a>>:<br>
> Hello Joshua,<br>
><br>
> On Tue, Sep 29, 2015 at 7:34 PM, Josua Mayer <<a
class="moz-txt-link-abbreviated"
href="mailto:josua.mayer97@gmail.com"><a class="moz-txt-link-abbreviated" href="mailto:josua.mayer97@gmail.com">josua.mayer97@gmail.com</a></a>>
wrote:<br>
>> Since I have had some practice making debian packages
over the last few<br>
>> months, I can volunteer to help get qtmoko building!<br>
><br>
> Great news! Good luck!!<br>
><br>
> Once there is an easy way of development, people are more
inclined to<br>
> do debugging...<br>
><br>
> Christ van Willegen<br>
> --<br>
> 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0<br>
> _______________________________________________<br>
> Gta04-owner mailing list<br>
> <a moz-do-not-send="true"
href="mailto:Gta04-owner@goldelico.com">Gta04-owner@goldelico.com</a><br>
> <a moz-do-not-send="true"
href="http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner">http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner</a><br>
</div>
</div>
</blockquote>
<br>
</body>
</html>