+ Reply to Thread
Page 3 of 4 FirstFirst 1 2 3 4 LastLast
Results 41 to 60 of 70

[project] TwitterClient

This is a discussion on [project] TwitterClient within the Modding & Development forums, part of the Meizu M8 category; there is another tutorial here for 4.6. Looks more complete d【简易教程】用VS2008为M8SDK编译QT4.6开发环境 - SDK开发及应用 - 开发者专区 - [魅族论坛] The author said ...

  1. #41
    Member
    Join Date
    Nov 2006
    Posts
    101
    Thanks
    0
    Thanked 8 Times in 7 Posts
    there is another tutorial here for 4.6. Looks more complete

    d【简易教程】用VS2008为M8SDK编译QT4.6开发环境 - SDK开发及应用 - 开发者专区 - [魅族论坛]

    The author said he had problem with VS2008 Chinese edition and had to use English one. Not sure if it is the same with German edition....

  2. #42
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    88
    Thanked 356 Times in 139 Posts
    thx for this link..

    but i have to say same result for me...
    qtcore.dll etc are compiled before the error occurs but if i use them i get the same error as before

    if nobody has an idea i will try to build core for wince and use the other lib
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  3. #43
    Member
    Join Date
    Nov 2006
    Posts
    101
    Thanks
    0
    Thanked 8 Times in 7 Posts
    The link problem you had seems to be an known problem with 4.6 (although the bug tracker did say it was with wince b4 5.0 so I'm a bit confused). Anyway, the following should allow you to link:
    - edit src/3rdparty/sqlite3.c
    - add #define HAVE_LOCALTIME_S 0
    - recompile.

    This worked for me with qt 4.6 and VS 2008 (SP1?). I've yet managed to create an app built with qt but if I do, I'll post here.

  4. #44
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    88
    Thanked 356 Times in 139 Posts
    hey thx now i could compile all files but the error is not gone..

    no idea..?
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  5. #45
    Member
    Join Date
    Nov 2006
    Posts
    101
    Thanks
    0
    Thanked 8 Times in 7 Posts
    is not gone? i.e you still have that error message when linking? That's strange. After changing the file, it worked for me. Maybe you could try a fresh build?

  6. #46
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    88
    Thanked 356 Times in 139 Posts
    nope no linking error... the app cannot be started:
    The program "%CSIDL_PROGRAM_FILES%\mtweet\mtweeet.exe" can not be started.

    No process is on the other end of the pipe.
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  7. #47
    Member
    Join Date
    Nov 2006
    Posts
    101
    Thanks
    0
    Thanked 8 Times in 7 Posts
    OK. I've contact the guy who wrote the tutorial. He said that the mkspecs posted on the webpage was wrong and provided a new spec file, which I've attached. Havn't tried myself yet though.
    Attached Files

  8. #48
    Senior Member
    Join Date
    Sep 2009
    Posts
    380
    Thanks
    3
    Thanked 138 Times in 53 Posts
    looks very promising to me at the first glance. will try at home

  9. #49
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    88
    Thanked 356 Times in 139 Posts
    ok i can comile again.. everything is fine until i start the app.. maybe i am just to stupid...
    so if omeone of you could try and post the project if you was successfull?
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  10. #50
    Senior Member
    Join Date
    Sep 2009
    Posts
    380
    Thanks
    3
    Thanked 138 Times in 53 Posts
    Compiled and worx
    Could use this code on my m8
    QString test;
    test = "Hallo";
    if(test.startsWith("H"))
    test = "loool";
    MzMessageBoxEx(m_hWnd, (wchar_t*) test.utf16(), L"Test", MB_OK);
    it said "loool". Compiled -> and im Emulator :"Kein Prozess am ende der Pipe" then i copied the exe with all qt dll files together in a dir on my m8 and this worked. Did you copy the dlls?

    Just tested: QtCore4.dll in exe directory is eneugh to get it to run but withoout this it wont run

  11. #51
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    88
    Thanked 356 Times in 139 Posts
    wow it works thx :-)

    now i have to compile qtwitlib ;-)

    edit: i did but again problems..
    Last edited by crimson05; 01-12-2010 at 09:07 PM.
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  12. #52
    Senior Member
    Join Date
    Sep 2009
    Posts
    380
    Thanks
    3
    Thanked 138 Times in 53 Posts
    i think you need the sourced from twitlib as this maybe is x86 lib too. so better get the source an compile yourself

  13. #53
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    88
    Thanked 356 Times in 139 Posts
    jep i did ;-)

    i can compile and link but the app does not start so something is wrong it hink i have to check the settings and stuff
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  14. #54
    Valued Member
    Join Date
    Mar 2009
    Location
    Vienna, Austria
    Posts
    1,706
    Thanks
    54
    Thanked 269 Times in 146 Posts
    Toi Toi Toi crimson, you do a cool job!!

  15. #55
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    88
    Thanked 356 Times in 139 Posts
    thx but until now i did nothing usefull...

    i created QTwitlib.dll and .lib this way: How_to_build - twitlib - Project Hosting on Google Code

    when i start my app i get a serious error...
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  16. #56
    Senior Member
    Join Date
    Sep 2009
    Posts
    380
    Thanks
    3
    Thanked 138 Times in 53 Posts
    be carefull to compile it as armv4i bin not as x86...

  17. #57
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    88
    Thanked 356 Times in 139 Posts
    i used the meizu sdk...


    btw: you can add dlls to the emulator in

    Preparation-> General-> Additional files

    Syntax is: <Filename>|<Sourcedirectory>|<Remotedirectory>|<Re gister, 1 or 0>

    but it does not solve the pipe problem for me...
    Last edited by crimson05; 01-13-2010 at 12:07 PM.
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  18. #58
    Senior Member
    Join Date
    Sep 2009
    Posts
    380
    Thanks
    3
    Thanked 138 Times in 53 Posts
    the poroblem here is: u used qmake to build the example so im not so sure if qmake really used the arm compiler....
    i will have a look whem im at home when i have time
    Last edited by r3wDy; 01-13-2010 at 12:29 PM.

  19. #59
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    88
    Thanked 356 Times in 139 Posts
    i used the qmake from Qt for meizu...
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  20. #60
    Senior Member
    Join Date
    Sep 2009
    Posts
    380
    Thanks
    3
    Thanked 138 Times in 53 Posts
    still not sure :P

    Ive seen many intersting thing using makefiles of any kind
    You should open the dll with a debugger like Ollydbg then we can be sure if its arm or x86.

    Btw
    when i start my app i get a serious error...
    can be a programming error. try debugging


 

Similar Threads

  1. Rockbox Project (M6)
    By vcf in forum Rockbox
    Replies: 420
    Last Post: 07-20-2011, 09:29 AM
  2. [project] Windows CE 6
    By evow04 in forum Modding & Development
    Replies: 29
    Last Post: 01-11-2011, 07:49 PM
  3. [project] Drivers for the m8 hardware
    By tumi07 in forum Modding & Development
    Replies: 20
    Last Post: 01-12-2010, 08:30 AM
  4. [project] M8Jabber
    By trash in forum Modding & Development
    Replies: 18
    Last Post: 12-01-2009, 11:32 PM
  5. [project] jatd sources
    By owenray in forum Modding & Development
    Replies: 6
    Last Post: 11-22-2009, 12:38 PM