Join Today
+ Reply to Thread
Page 2 of 20 FirstFirst 12345612 ... LastLast
Results 11 to 20 of 199
  1. #11

    Default Re: Creating own native qte apps

    Quote Originally Posted by buhzi
    does someone have success on compiling apps for the phone?
    (
    I am about in the same position. I am using the sharp libs that come with a qt rpm installl, then recompiled from the source in qt-2.3.7 (from tarball) to also update from /dev/ts to /dev/touchscreen.

    When I try to execute my current version of the qt "example" for the phone I get:

    Create pluginlibman in libqpe
    Illegal instruction

    Three questions:

    - I am not a C (or c++ or c-sharp) programmer, does anyone know what might be causing the problem?

    - in /dev/touchscreen there is a file ucb1x00, should we be using /dev/touchscreen or /dev/touchscreen/ucb1x00 in the qwsmouse_qws.cpp file? (I have tried both and get the same error as above)

    - How/when is the heap size set during compiling and might this be causing the illegal instruction error? (I am assuming that the sharp -based compile is done with a different heap size than the 2MB that the e680 has)

    For information, in addition to including the recompiled libqte.so.2, I also had to copy the following from Qtopia/sharp/libs: libpng.so.2, libqpe.so.1, libqtopia.so.1, libuuid.so.1

  2. Default Re: Creating own native qte apps

    after some (tiresome) testing, i've come as far as actually getting something on the screen..
    but this something is overdrawn by the phone native apps, can't tell if the program crashes
    or if it lives in the shadow if the native apps.
    it is opie with qte 2.3.10 compiled with the cross-compiler i refered to earlier in this thread btw

  3. #13

    Default Re: Creating own native qte apps

    Quote Originally Posted by leprechaun
    after some (tiresome) testing, i've come as far as actually getting something on the screen..
    but this something is overdrawn by the phone native apps, can't tell if the program crashes
    or if it lives in the shadow if the native apps.
    it is opie with qte 2.3.10 compiled with the cross-compiler i refered to earlier in this thread btw
    can you do something for me?
    cann you execute "CROSSTOOL-objdump -p TESTAPP"
    and send me the output?

    and later this evening i will test some more with my environment...

  4. Default Re: Creating own native qte apps

    did the dump, can send it for u if u really want it, but I think I know what u're getting at anyway..
    it's the floating point right? well the dump says FPA (hardware version that is) so no wonder my apps crashes

    after reading some interesting threads like this http://sources.redhat.com/ml/crossgc.../msg00254.html
    it seems like building a vfp softfloat crosstool requires some tricks..

  5. #15

    Default Re: Creating own native qte apps

    yes that was the point

    if i compare the objdump from build of an example app:
    private flags = 402: [APCS-32] [VFP float format] [has entry point]

    and one from the phone:
    private flags = 602: [APCS-32] [VFP float format] [software FP] [has entry point]

    it differs in "[software FP]"

    but i build a toolchain with softfloat ;(

  6. Default Re: Creating own native qte apps

    what target are u using with crosstool?
    and which gcc and glibc version are u compiling, i'm thinking of using crosstool myself..
    what do u think of armv5b with soft-float a target? the phone has a armv5l..

  7. #17

    Default Re: Creating own native qte apps

    Quote Originally Posted by leprechaun
    what target are u using with crosstool?
    and which gcc and glibc version are u compiling, i'm thinking of using crosstool myself..
    what do u think of armv5b with soft-float a target? the phone has a armv5l..
    i use crosstool-0.27 and run demo-arm-softfloat.sh
    (eval `cat arm-softfloat.dat gcc-3.3.2-glibc-2.3.2.dat` sh all.sh --notest --nounpack)

    and now i think there is no problem with softfloat. I found a smal testprogram for using floatingpoint operations:

    #include <stdlib.h>
    int main(int argc, char *argv[])
    {
    double d_foo;
    d_foo = 1233433.3233993;
    printf("d_foo = %lf\n",d_foo+.1);
    printf("%f\n", (1.0+3.22+33+443.3345));
    }

    It runs on the phone and the output is equivalent to the output of an x86 run.

    So there must be another problem but what?

  8. #18
    Join Date
    Feb 2005
    Location
    sg<br>Mobile: e680 -> i (c5a4p)
    Posts
    1,412

    Default Re: Creating own native qte apps

    sigh! i wished my knowledge exceeds just scripting, i can only watch this thread for further development. i know for sure, you guys will definately get something out

  9. Default Re: Creating own native qte apps

    heard something about ccmove-members porting some gba stuff to the phone, was that qte or java?

    anyways.. the real reason for me writing this post: I've had some progress!!
    creating a new toolchain using crosstool got me a toolchain specifying the same as the nativa phone libs when using objdump. Then i compiled qte 2.3.10 and opie cvs-version using the toolchain (little tricky, trying to convince opie the phone is an ipaq ).
    Well, it actually works! I get windows, gfx and stuff!
    Only problem is.. still the native phone apps steals the input, and even if I kill the windowman thru telnet, well it still doesn't respond to the touchscreen or any buttons. But it doesn't hang or crash, just no input..

    Any good ideas are welcome..

  10. #20

    Default Re: Creating own native qte apps

    hey, thats cool.
    can you try to run one of the example apps from the qte?

    and can you explain the steps of creating you toolchain (version, running which scripts etc..)


 
+ Reply to Thread
Page 2 of 20 FirstFirst 12345612 ... LastLast

Similar Threads

  1. Help with creating apps
    By xox_dead_inside_xox in forum Development
    Replies: 5
    Last Post: 02-17-2009, 11:02 PM
  2. Replies: 3
    Last Post: 10-21-2008, 10:13 AM
  3. installing native apps without mpkg
    By tmp_do in forum E6 General Chat
    Replies: 0
    Last Post: 07-04-2008, 06:38 PM
  4. how to creating java apps
    By Au6u5t_t in forum E680i General Chat
    Replies: 1
    Last Post: 01-23-2008, 11:20 PM
  5. Native Apps
    By m41d3n in forum A1200 General Chat
    Replies: 3
    Last Post: 05-15-2007, 12:34 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1