+ Reply to Thread
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 ...
-
12-28-2009 #1
[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.
-
-
12-28-2009 #2Junior Member
- Join Date
- Aug 2009
- Posts
- 61
- Thanks
- 10
Thanked 0 Times in 0 Posts
-
01-01-2010 #3
so no one is interested or able to help? :-(
-
01-03-2010 #4Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsJust 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
-
01-03-2010 #5Member
- Join Date
- Nov 2006
- Posts
- 101
- Thanks
- 0
Thanked 8 Times in 7 PostsThere 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.
-
01-03-2010 #6
-
01-03-2010 #7
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 problemsLast edited by crimson05; 01-03-2010 at 02:48 PM.
-
01-03-2010 #8Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsI 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
-
01-03-2010 #9
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 :-)
-
01-03-2010 #10Member
- Join Date
- Nov 2006
- Posts
- 101
- Thanks
- 0
Thanked 8 Times in 7 PostsIt'd be cool to have a working twitter client alright.
-
01-04-2010 #11Valued Member
- Join Date
- Oct 2008
- Location
- Shanghai, China (born in Holland)
- Posts
- 996
- Thanks
- 42
Thanked 14 Times in 10 Poststwitter 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!
-
01-04-2010 #12Member
- Join Date
- Nov 2006
- Posts
- 101
- Thanks
- 0
Thanked 8 Times in 7 Posts
-
01-04-2010 #13Valued Member
- Join Date
- Oct 2008
- Location
- Shanghai, China (born in Holland)
- Posts
- 996
- Thanks
- 42
Thanked 14 Times in 10 Posts
-
01-04-2010 #14That is my problem...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.
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.
-
01-04-2010 #15Member
- Join Date
- Jul 2009
- Posts
- 225
- Thanks
- 34
Thanked 83 Times in 30 Postsyou 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.
-
01-05-2010 #16Senior Member
- Join Date
- Sep 2009
- Posts
- 380
- Thanks
- 3
Thanked 138 Times in 53 PostsI 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
-
01-05-2010 #17Member
- Join Date
- Nov 2006
- Posts
- 101
- Thanks
- 0
Thanked 8 Times in 7 PostsThe 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.
-
01-05-2010 #18
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.
-
01-05-2010 #19
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...
googletranslateCode:QtCored4.lib(QtCored4.dll) : fatal error LNK1112: Modul-Computertyp "X86" steht in Konflikt mit dem Zielcomputertyp "THUMB".
is an errormsg that you would expect?Code:QtCored4.lib (QtCored4.dll): fatal error LNK1112: module machine type 'X86' conflicts with the destination type "THUMB".
-
01-05-2010 #20
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.
Similar Threads
-
Rockbox Project (M6)
By vcf in forum RockboxReplies: 420Last Post: 07-20-2011, 09:29 AM -
[project] Windows CE 6
By evow04 in forum Modding & DevelopmentReplies: 29Last Post: 01-11-2011, 07:49 PM -
[project] Drivers for the m8 hardware
By tumi07 in forum Modding & DevelopmentReplies: 20Last Post: 01-12-2010, 08:30 AM -
[project] M8Jabber
By trash in forum Modding & DevelopmentReplies: 18Last Post: 12-01-2009, 11:32 PM -
[project] jatd sources
By owenray in forum Modding & DevelopmentReplies: 6Last Post: 11-22-2009, 12:38 PM



Reply With Quote




