this is the command I used to build qmokoplayer:<br><br>aditya@aditya-desktop ~/mysources/qtmoko/src/3rdparty/applications/qmplayer $ /home/aditya/mysources/build/bin/qbuild,<br>I get a binary file called link_test in the folder /home/aditya/mysources/build/src/3rdparty/applications/qmplayer<br>
I upload this file to qtmoko, but nothing happens plz help<br><br><div class="gmail_quote">On Wed, Apr 21, 2010 at 4:01 AM, Aditya Gandhi <span dir="ltr">&lt;<a href="mailto:aditya.g8@gmail.com">aditya.g8@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi I tried to compile using the instructions you gave, but I get a compiled binary called, test_link??<br>
I cannot run it what is it exactly?<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Mon, Apr 19, 2010 at 2:52 PM, Radek Polak <span dir="ltr">&lt;<a href="mailto:psonek2@seznam.cz" target="_blank">psonek2@seznam.cz</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
here is my guide to developing application for QtMoko. It describes how i do<br>
it myself, you can be of course comfortable doing it differently.<br>
<br>
If i write new application for QtMoko - i do it in two steps.<br>
<br>
1/ develop it first on PC in QtCreator. It runs as normal Qt/X11. During this<br>
step you&#39;ll have code completion and integrated debugger.<br>
<br>
2/ port it to QtMoko<br>
<br>
Prerequisities<br>
<br>
        * download and install QT SDK from nokia (<a href="http://qt.nokia.com/downloads" target="_blank">http://qt.nokia.com/downloads</a>)<br>
        and choose &quot;Qt SDK for Linux/X11&quot; - choice of 32bit or 64bit is on you.<br>
<br>
        * download and build QtMoko from sources. Howto is here:<br>
<br>
                <a href="http://github.com/radekp/qtmoko/blob/master/README" target="_blank">http://github.com/radekp/qtmoko/blob/master/README</a><br>
<br>
Step 1 - develop on PC<br>
<br>
        * you can start new QT application, or open existing one from QtMoko<br>
git. Good example is QMplayer in src/3rdparty/application/qmplayer. You<br>
can open the project file from QtCreator and it should work when you compile<br>
and launch it.<br>
<br>
Step 2 - port to QtMoko<br>
<br>
        * you have your app running on PC. Now you need to write project file for<br>
qtmoko. It&#39;s called <a href="http://qbuild.pro" target="_blank">qbuild.pro</a> QMplayer is also good example.<br>
<br>
        * build ARM binary for QtMoko. In your app directory do:<br>
<br>
/home/radek/qte/build/bin/qbuild<br>
<br>
        * now you have binary for qtmoko copy it to neo:<br>
<br>
scp /home/radek/qte/build/src/3rdparty/applications/qmplayer/qmplayer<br>
root@192.168.0.202:/<br>
<br>
        * test it<br>
<br>
ssh <a href="mailto:root@192.168.0.202" target="_blank">root@192.168.0.202</a><br>
source /opt/qtmoko/qpe.env<br>
cd /<br>
./qmplayer<br>
<br>
        * congratulations if you got here<br>
<br>
        * for making qtmoko package<br>
<br>
/home/radek/qte/build/bin/qbuild packages<br>
<br>
        * for making online download repository you need packages.list file. Go<br>
to the dir with *.qpk of your app and do:<br>
<br>
/home/radek/qte/qtmoko/bin/mkPackages<br>
<br>
Some useful notes<br>
<br>
        * if your package does not have qtmoko look and feel, place it in sub<br>
folder of qtmoko git - e.g. qtmoko apps directory is best place.<br>
<br>
        * for qtopia api see really great html documentation in<br>
doc/html/index.hml<br>
<br>
        * dont use quicklaunch in <a href="http://qbuild.pro" target="_blank">qbuild.pro</a> if you want to produces application<br>
binary. Otherwise compiling produces just .so.<br>
<br>
<br>
Maybe it could be nice If someone wants to put this info on wiki.<br>
<br>
Regards<br>
<br>
Radek<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org" target="_blank">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
</blockquote></div><br>
</div></div></blockquote></div><br>