+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast
Results 1 to 20 of 70

[project] TwitterClient

This is a discussion on [project] TwitterClient within the Modding & Development forums, part of the Meizu M8 category; Hi, i was trying to create a twitter-client for m8 but had several problems. Maybe we can make it as ...

  1. #1
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    89
    Thanked 356 Times in 139 Posts

    [project] TwitterClient

    Hi,

    i was trying to create a twitter-client for m8 but had several problems.

    Maybe we can make it as a community delvelopment...

    My idea was to use a existing C++-twitter-lib and only create the framework.
    There are two of these libs:
    twitlib - Project Hosting on Google Code
    twitcurl - Project Hosting on Google Code

    Twitlib uses the Qt-lib.
    Twitcurl uses cURL.

    The Meizu-SDK cannot compile both of these libs by default.
    I made some changings in the libs and installed the necessary additions could compile but not link...
    I never used external libs and i am not that familiar with VS either.


    Problems:
    cURL whants to use linux-headers when compiling with the Meizu SDK.
    After solving that problem by changing cURL and adding an additional header linking error when you want to use the twitterobject.

    After adding Qt compiling is possible but linking error when you want to use the twitterobject.


    Maybe i am the problem, so if anyone of you is able to compile and link(!) one of these libs, it is only a small step to a M8-Twitter client.
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  2. 2 members have thanked crimson05:


  3. #2
    Junior Member
    Join Date
    Aug 2009
    Posts
    61
    Thanks
    10
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by crimson05 View Post
    Text

    Very good initiative, sorry that i cant be of any help.

  4. #3
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    89
    Thanked 356 Times in 139 Posts
    so no one is interested or able to help? :-(
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  5. #4
    Senior Member
    Join Date
    Sep 2009
    Posts
    380
    Thanks
    3
    Thanked 138 Times in 53 Posts
    Just show where the problems are then we can help. I will not dl and install complete qt now because i think qt is little overkill for the m8.
    But if ou show which errors you get i will try to help

  6. #5
    Member
    Join Date
    Nov 2006
    Posts
    101
    Thanks
    0
    Thanked 8 Times in 7 Posts
    There are several QT based M8 software: plutopdf, plutoweather, etc. Maybe looking at them would help? QT might (or might not) be overkill but it does definitely allow a lot of existing code to be re-used.

  7. #6
    Valued Member
    Join Date
    Aug 2009
    Location
    Germany
    Posts
    675
    Thanks
    91
    Thanked 263 Times in 93 Posts
    Quote Originally Posted by crimson05 View Post
    so no one is interested or able to help? :-(

    I want help, but I´m not a Coder or Dev.

    But when Stopthewar back is, perhaps he can help..He is programer..
    How to thank me: Click on the 'Thanks' button


  8. #7
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    89
    Thanked 356 Times in 139 Posts
    i don't want to use qt for my app..
    the library twitlib uses qt for whatever - i don't know.. or i totally missunderstood it... :-/

    i will continue trying and will post more concrete problems
    Last edited by crimson05; 01-03-2010 at 02:48 PM.
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  9. #8
    Senior Member
    Join Date
    Sep 2009
    Posts
    380
    Thanks
    3
    Thanked 138 Times in 53 Posts
    I did a short look on it:
    you need qttwitlib and qt 4.
    Then you must link your prog to the twitlib and to the qt libs you need.

    In Visual studio:
    rechtsklick auf Projektnamen (links im bild) dann Eigenschaften dann Konfigurationseigenschaften dann Linker und dort dann Eingabe bei "zusätzliche Abhängigkeiten" die lib einbinden. Das selbe etwa bei C/C++ eigenschaften mit "Zusätzlichen Includeverzeichnis" das Qt dir dazu.
    Dann müssts gehn

  10. #9
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    89
    Thanked 356 Times in 139 Posts
    that is was i have done..
    i don't have it anymore cause i played with the other lib and installed a newer sdk, i will recreate it and post then again
    but thx for this :-)
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  11. #10
    Member
    Join Date
    Nov 2006
    Posts
    101
    Thanks
    0
    Thanked 8 Times in 7 Posts
    It'd be cool to have a working twitter client alright.

  12. #11
    Valued Member
    Join Date
    Oct 2008
    Location
    Shanghai, China (born in Holland)
    Posts
    996
    Thanks
    42
    Thanked 14 Times in 10 Posts
    twitter works on windows mobile now... pocketwit - Project Hosting on Google Code
    it looks really old fashioned and windows-ish, so if you can come up with a better interface, i would definitely use yours!


    Coldplay secret Meizu fan?

  13. #12
    Member
    Join Date
    Nov 2006
    Posts
    101
    Thanks
    0
    Thanked 8 Times in 7 Posts
    Quote Originally Posted by Rabsi1 View Post
    twitter works on windows mobile now... pocketwit - Project Hosting on Google Code
    it looks really old fashioned and windows-ish, so if you can come up with a better interface, i would definitely use yours!
    Does it work on M8?

  14. #13
    Valued Member
    Join Date
    Oct 2008
    Location
    Shanghai, China (born in Holland)
    Posts
    996
    Thanks
    42
    Thanked 14 Times in 10 Posts
    Quote Originally Posted by lang2 View Post
    Does it work on M8?
    not yet, but it will with 1.0


    Coldplay secret Meizu fan?

  15. #14
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    89
    Thanked 356 Times in 139 Posts
    Code:
    1>Kompilieren...
    1>CLoginWnd.cpp
    1>Code wird generiert...
    1>Kompilieren...
    1>mtweet.cpp
    1>Code wird generiert...
    1>Verknüpfen...
    1>mtweet.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: __cdecl QTwitLib::QTwitLib(void)" (??0QTwitLib@@QAA@XZ)" in Funktion ""public: __cdecl CLoginWnd::CLoginWnd(void)" (??0CLoginWnd@@QAA@XZ)".
    1>mtweet.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: virtual __cdecl QTwitLib::~QTwitLib(void)" (??1QTwitLib@@UAA@XZ)" in Funktion ""public: virtual __cdecl CLoginWnd::~CLoginWnd(void)" (??1CLoginWnd@@UAA@XZ)".
    1>M8SDK (ARMV4I)\Debug/mtweet.exe : fatal error LNK1120: 2 nicht aufgelöste externe Verweise.
    That is my problem...

    maybe it is a very stupid mistake.. i am only familiar with C not with C++
    Last edited by crimson05; 01-04-2010 at 09:17 PM.
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  16. #15
    Member
    Join Date
    Jul 2009
    Posts
    225
    Thanks
    34
    Thanked 83 Times in 30 Posts
    you got things compiled but failed on linking, which means you probably got wrong QTwitLib lib. the linker cannot find the positions of QTwitLib::QTwitLib and QTwitLib::~QTwitLib in lib files.

    look at your qtwitlib first. see if it got proper compiled and linked.

  17. #16
    Senior Member
    Join Date
    Sep 2009
    Posts
    380
    Thanks
    3
    Thanked 138 Times in 53 Posts
    I found a problem: you need to get the wince version of Qt. The normal version is compiled as .a libs and those cant be used by visual studio at all.
    So you need to get the QtCe Version as source and compile them.
    The problem here is that you need to compile it against the m8 sdk and this isn direct supported by qt.
    So you need to tinker aroung with the makefiles and the include and lib dirs and stuff.
    i tried it and failed but i need to start all over again and do it a straigt way. When i know how to compile qt for ce i will post it here

    But feel free to try it n you own
    Windows CE: Qt 4.6: Installing Qt on Windows CE

  18. #17
    Member
    Join Date
    Nov 2006
    Posts
    101
    Thanks
    0
    Thanked 8 Times in 7 Posts
    The error message does point more to QTwitlib than Qt lib itself. But r3wDy is right that Qt CE lib will have to be used. Inside PlutoPDF, there are QtCore.dll and QtGui.dll already compiled for WinCE.

  19. #18
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    89
    Thanked 356 Times in 139 Posts
    puh... that sounds hard..

    i need <QtCore/QString>

    but thx for your help so far :-)

    when i find time to test all your ideas etc. i will post my results but my time is limited atm.. :-/
    Last edited by crimson05; 01-05-2010 at 04:47 PM.
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  20. #19
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    89
    Thanked 356 Times in 139 Posts
    ok i played i little ;-)

    i guess i had no problems with with qt cause i took the compiled version (what is for win32).. that is not possible right? when i try to compile it with the meizu sdk it has problems with qt what is right when i understand you correct...

    Code:
    QtCored4.lib(QtCored4.dll) : fatal error LNK1112: Modul-Computertyp "X86" steht in Konflikt mit dem Zielcomputertyp "THUMB".
    googletranslate

    Code:
    QtCored4.lib (QtCored4.dll): fatal error LNK1112: module machine type 'X86' conflicts with the destination type "THUMB".
    is an errormsg that you would expect?
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  21. #20
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    89
    Thanked 356 Times in 139 Posts
    if qt fails that might help for twitcurl
    Curl: Building curl on Windows CE


    edit: [Qt-wince-interest] How to compile and use Qt for WinCe 6.0? may that help us with qt?

    edit2: Developing Apps with Qt(Nokia)
    Last edited by crimson05; 01-05-2010 at 07:07 PM.
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.


 
+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast

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