+ Reply to Thread
Page 2 of 4 FirstFirst 1 2 3 4 LastLast
Results 21 to 40 of 70

[project] TwitterClient

This is a discussion on [project] TwitterClient within the Modding & Development forums, part of the Meizu M8 category; Originally Posted by crimson05 ok i played i little ;-) i guess i had no problems with with qt cause ...

  1. #21
    Member
    Join Date
    Jul 2009
    Posts
    225
    Thanks
    34
    Thanked 83 Times in 30 Posts
    Quote Originally Posted by crimson05 View Post
    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?
    look at the red words, that simply means you have the wrong project setting for qt. it should be "ARM" something instead of "X86".
    can you just post your project settings here? i'll post more about vs qt settings for m8 tonite.

  2. #22
    Senior Member
    Join Date
    Sep 2009
    Posts
    380
    Thanks
    3
    Thanked 138 Times in 53 Posts
    thats right.
    THUMB is a style of ARM OpCodes. So you cant use the win32 Qt Versiom because its X86 (thats whats pc are :P )
    So: compile yourself. Its not that hard by its a bit try and error

  3. #23
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    88
    Thanked 356 Times in 139 Posts
    sry i understand the problem but not what i should do now..
    which project settings should i post?
    i tried to compile qtwitlib with meizu sdk... that is where the error occurred
    i thought solution is to build qt with meizu sdk??
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  4. #24
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    88
    Thanked 356 Times in 139 Posts
    ok don't ask me what i have done.. i don't know if it was a step in the right direction.. i am a little confused.. i think (!) i could build qt with the meizu sdk (there was an error at the end but i it seems i can use it..)
    i could also make the qtwitlib.dll file but not the lib file... what are the settings for that?
    Last edited by crimson05; 01-05-2010 at 11:09 PM.
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  5. #25
    Passing By
    Join Date
    Dec 2009
    Posts
    15
    Thanks
    9
    Thanked 1 Time in 1 Post
    sry 4 offtopic, just wanted to ask which vs studio u are using and how u installed the sdk, because some people say u need vs 2005 some say later versions etc. pp..
    would be nice if you could just post the steps of your installation

    ty

  6. #26
    Member
    Join Date
    Jul 2009
    Posts
    225
    Thanks
    34
    Thanked 83 Times in 30 Posts
    I cann't remember where i got these instructions, and I haven't tested them either. hope this would help.

    to configure Qt
    configure -platform win32-msvc2008 -xplatform wince60standard-armv4i-msvc2005 -release -opensource -fast -no-qt3support -no-qmake -ltcg -iwmmxt -no-phonon -no-webkit -no-script -no-scripttools -no-multimedia

  7. #27
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    88
    Thanked 356 Times in 139 Posts
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  8. #28
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    88
    Thanked 356 Times in 139 Posts
    OK guys i was able to build the qtwitlib dll and lib file with the meizu sdk.
    I included them to my project and could compile and link :-)
    but everytime i create a QTwitLib object i get this strange error-msg when the meizu emulator starts:

    Code:
    Das Programm "%CSIDL_PROGRAM_FILES%\mtweet\mtweeet.exe" kann nicht gestartet werden.
    
    Kein Prozess ist am anderen Ende der Pipe.
    Code:
    The program "%CSIDL_PROGRAM_FILES%\mtweet\mtweeet.exe" can not be started.
    
    No process is on the other end of the pipe.
    so the program cannot be started although it can be compiled and linked


    do i have to change the copiler settings when i use a dll?
    Last edited by crimson05; 01-06-2010 at 12:03 PM.
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  9. #29
    Valued Member
    Join Date
    Sep 2009
    Location
    Germany
    Posts
    1,309
    Thanks
    249
    Thanked 200 Times in 145 Posts
    did you try to google the error message and did you find THIS THREAD
    I have no idea about programming, just trying to help
    Meizu M8 SE - FW 0.9.9.18 (dao89 n450) Dualboot LBE A11 Android 2.2

  10. #30
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    88
    Thanked 356 Times in 139 Posts
    hehe thx but this is something different :-)
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  11. #31
    Member
    Join Date
    Jul 2009
    Posts
    225
    Thanks
    34
    Thanked 83 Times in 30 Posts
    it's good you got it compiled.
    you could try copying the binaries into M8 and run it there, then see what will happen.
    what i guess is your app is a QApplication instead of a CMzApp(or something like that), which probably does not support that debugging method in emulator. this is also true for all SDL apps.

  12. #32
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    88
    Thanked 356 Times in 139 Posts
    it does not start on my meizu aswell...
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  13. #33
    Member
    Join Date
    Nov 2006
    Posts
    101
    Thanks
    0
    Thanked 8 Times in 7 Posts
    Quote Originally Posted by crimson05 View Post
    it does not start on my meizu aswell...
    Did you copy all the DLLs as well as the exe? I'm assuming that your exe is dynamically linked, which probably means you need QT dlls (QtCore.dll, QtGui.dll) as well as the twitter lib.

  14. #34
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    88
    Thanked 356 Times in 139 Posts
    hmm i used QtNetworkd4.lib QtCored4.lib and QtXmld4.lib i copied the dll files in the same folder as the exe file but it does not change anything
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  15. #35
    Member
    Join Date
    Nov 2006
    Posts
    101
    Thanks
    0
    Thanked 8 Times in 7 Posts
    Could you confirm your setup by compiling an example MZApp and run it on the phone?

  16. #36
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    88
    Thanked 356 Times in 139 Posts
    jea i can run the app when i leave out this line:

    Code:
    QTwitLib twitter
    maybe i just don't know how to use the dlls...
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  17. #37
    Senior Member
    Join Date
    Sep 2009
    Posts
    380
    Thanks
    3
    Thanked 138 Times in 53 Posts
    sounds strange... try to compile and run a qt ab where you do something like
    QString lol;
    lol = "Hallo";
    if this runs its not qt but it could be the qnetwork lib or sth. But i think its qt and the string example wont work too...
    i can compile qtce but cant link because it mixes x86 and thumb stuff... i will try the configuration above

  18. #38
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    88
    Thanked 356 Times in 139 Posts
    ok it is not possible.. so qt is currupted or something..
    i will try to compile qt again with the settings above.. if they don't work we might contact the author of the plute-apps
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  19. #39
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    88
    Thanked 356 Times in 139 Posts
    ok i tried to build Qt with the following settings:

    Code:
    configure -platform win32-msvc2008 -xplatform wince60standard-armv4i-msvc2005 -release -opensource -fast -no-qt3support -no-qmake -ltcg -iwmmxt -no-phonon -no-webkit -no-script -no-scripttools -no-multimedia
    Code:
     set INCLUDE=C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\include;C:\Program Files\Windows CE Tools\wce600\M8SDK\Include\Armv4i
     set LIB=C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\lib\armv4i;C:\Program Files\Windows CE Tools\wce600\M8SDK\Lib\ARMV4I
     set PATH=C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\bin\x86_arm;%PATH%
    and get this errror:

    Code:
            cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -EHs-c- -GL -W3 -w34100 -w3418
    9 -DUNDER_CE -DWINCE -D_WINDOWS -D_UNICODE -DUNICODE -D_WIN32 -DQT_NO_PRINTER -D
    QT_NO_PRINTDIALOG -DSTANDARDSHELL_UI_MODEL -D_WIN32_WCE=0x600 -DARMV4I -D_ARMV4I
    _ -Darmv4i -D_ARM_ -DARM -D_M_ARM -DARM -D_WIN32 -D__arm__ -DNDEBUG -DSQLITE_OMI
    T_LOAD_EXTENSION -DSQLITE_OMIT_COMPLETE -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_
    ASCII -DQT_DLL -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -DQT_THREAD_
    SUPPORT -DQT_NO_DYNAMIC_CAST -I"..\..\..\..\include\QtCore" -I"..\..\..\..\inclu
    de\QtSql" -I"..\..\..\..\include" -I"..\..\..\3rdparty\sqlite" -I"..\..\..\..\in
    clude\ActiveQt" -I"tmp\moc\release_shared" -I"..\..\..\..\mkspecs\wince60standar
    d-armv4i-msvc2005" -Fotmp\obj\release_shared\ @C:\Users\Thiemo\AppData\Local\Tem
    p\nm8D74.tmp
    moc_qsql_sqlite.cpp
            link /LIBPATH:"c:\Qt\4.6.0\lib" /LIBPATH:"c:\Qt\4.6.0\lib" /NOLOGO /NODE
    FAULTLIB:OLDNAMES.LIB /INCREMENTAL:NO /LTCG /SUBSYSTEM:WINDOWSCE,6.00 /MACHINE:T
    HUMB /DLL /SAFESEH:NO /VERSION:4.60 /OUT:..\..\..\..\plugins\sqldrivers\qsqlite4
    .dll @C:\Users\Thiemo\AppData\Local\Temp\nm8F39.tmp
       Bibliothek "..\..\..\..\plugins\sqldrivers\qsqlite4.lib" und Objekt "..\..\..
    \..\plugins\sqldrivers\qsqlite4.exp" werden erstellt.
    sqlite3.obj : error LNK2001: Nicht aufgelöstes externes Symbol "localtime_s".
    ..\..\..\..\plugins\sqldrivers\qsqlite4.dll : fatal error LNK1120: 1 nicht aufge
    löste externe Verweise.
    NMAKE : fatal error U1077: ""C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\
    bin\x86_arm\link.EXE"": Rückgabe-Code "0x460"
    Stop.
    NMAKE : fatal error U1077: ""c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
    \nmake.EXE"": Rückgabe-Code "0x2"
    Stop.
    NMAKE : fatal error U1077: ""c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
    \nmake.EXE"": Rückgabe-Code "0x2"
    Stop.
    NMAKE : fatal error U1077: "cd": Rückgabe-Code "0x2"
    Stop.
    NMAKE : fatal error U1077: ""c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
    \nmake.EXE"": Rückgabe-Code "0x2"
    Stop.
    NMAKE : fatal error U1077: "cd": Rückgabe-Code "0x2"
    Stop.
    NMAKE : fatal error U1077: ""c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
    \nmake.EXE"": Rückgabe-Code "0x2"
    Stop.
    NMAKE : fatal error U1077: "cd": Rückgabe-Code "0x2"
    Stop.
    NMAKE : fatal error U1077: ""c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
    \nmake.EXE"": Rückgabe-Code "0x2"
    Stop.
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  20. #40
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,680
    Thanks
    88
    Thanked 356 Times in 139 Posts
    found this howto:

    M8 qt??????? - ??M8??? - ??? - ????????M8????

    same result...
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.


 

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