×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    7

    Question Run mobility examples on real wm device

    I've compiled(msvs2008) qt-4.6.0 for my wm6 device. Qt examples on real device runs perfectly.
    Compiled QtMobility (beta) with this qt.
    Next step, I've tryed to run qtmobility examples on my WM6-device
    I moved qtmobility examples(exe-files), all qt-libs, all qtmobility libs, MSVCR90.DLL into one folder on device.

    Here results of my tryes:
    • audiorecorder - not valid pocketPC application
    • bearercloud - runs perfectly
    • bearermonitor - runs
    • cameracapture - not valid pocketPC application
    • flickrdemo - not valid pocketPC application
    • icheck - not valid pocketPC application
    • keepintouch - not valid pocketPC application
    • lightmaps - not valid pocketPC application
    • logfilepositionsource - runs
    • player - not valid pocketPC application
    • qtversitdocsample - runs(?) - no errors and no any other result
    • qtcontactsdocsample - runs(?) - no errors and no any other result
    • radio - not valid pocketPC application
    • samplephonebook - not valid pocketPC application
    • satellitedialog - not valid pocketPC application
    • serviceactions - not valid pocketPC application
    • servicebrowser - not valid pocketPC application
    • servicefw - runs(?) - no errors and no any other result
    • servicexmlgen - not valid pocketPC application
    • slideshow - not valid pocketPC application
    • streamplayer - not valid pocketPC application
    • sysinfo - runs
    • vsexplorer - not valid pocketPC application
    • weatherinfo - not valid pocketPC application
    • writemessage - not valid pocketPC application


    Can I run all examples of qtmobility on real device?
    Why I have had such errors?

  2. #2
    Nokia Developer Expert
    Join Date
    Dec 2009
    Posts
    81

    Re: Run mobility examples on real wm device

    I've seen this before and know what it is, but as an experiment I googled "not valid pocket pc application" and found the answer in the first link, here.

    The short version is either you've built various bits and pieces for the wrong platform or subsystem, or you have some dependency problems.

    It's probably a good idea to make sure that if you're qt is built in release mode that all of mobility is built in release mode (and if qt is built in debug mode that all of mobility is built in debug mode). Could you provide a list of the full filenames of the libraries that you copies into that directory?

  3. #3
    Registered User
    Join Date
    Aug 2003
    Posts
    7

    Re: Run mobility examples on real wm device

    I've copied all files - debug and release.
    Thanks for url, I'll read it.

    Here is a full list of files in folder:
    Code:
    audiorecorder.exe
    bearercloud.exe
    bearermonitor.exe
    cameracapture.exe
    flickrdemo.exe
    icheck.exe
    keepintouch.exe
    lightmaps.exe
    logfilepositionsource.exe
    msvcr90.dll
    nmealog.txt
    phonon4.dll
    phonon4.exp
    phonon4.lib
    phonond4.dll
    phonond4.exp
    phonond4.lib
    phonond4.pdb
    phonond.prl
    phonon.prl
    player.exe
    QAxContainerd.lib
    QAxContainerd.prl
    QAxContainer.lib
    QAxContainer.prl
    QtBearerd.dll
    QtBearerd.exp
    QtBearerd.lib
    QtBearer.dll
    QtBearerd.pdb
    QtBearer.exp
    QtBearer.lib
    QtContactsd.dll
    QtContactsd.exp
    QtContactsd.lib
    QtContacts.dll
    qtcontactsdocsample.exe
    QtContactsd.pdb
    QtContacts.exp
    QtContacts.lib
    QtCore4.dll
    QtCore4.exp
    QtCore4.lib
    QtCored4.dll
    QtCored4.exp
    QtCored4.lib
    QtCored4.pdb
    QtCored.prl
    QtCore.prl
    QtDesigner4.dll
    QtDesigner4.exp
    QtDesigner4.lib
    QtDesignerComponents4.dll
    QtDesignerComponents4.exp
    QtDesignerComponents4.lib
    QtDesignerComponentsd4.dll
    QtDesignerComponentsd4.exp
    QtDesignerComponentsd4.lib
    QtDesignerComponentsd4.pdb
    QtDesignerComponentsd.prl
    QtDesignerComponents.prl
    QtDesignerd4.dll
    QtDesignerd4.exp
    QtDesignerd4.lib
    QtDesignerd4.pdb
    QtDesignerd.prl
    QtDesigner.prl
    QtGui4.dll
    QtGui4.exp
    QtGui4.lib
    QtGuid4.dll
    QtGuid4.exp
    QtGuid4.lib
    QtGuid4.pdb
    QtGuid.prl
    QtGui.prl
    QtLocationd.dll
    QtLocationd.exp
    QtLocationd.lib
    QtLocation.dll
    QtLocationd.pdb
    QtLocation.exp
    QtLocation.lib
    qtmaind.lib
    qtmaind.prl
    qtmain.lib
    qtmain.prl
    QtMediad.dll
    QtMediad.exp
    QtMediad.lib
    QtMedia.dll
    QtMediad.pdb
    QtMedia.exp
    QtMedia.lib
    QtMessagingd.dll
    QtMessagingd.exp
    QtMessagingd.lib
    QtMessaging.dll
    QtMessagingd.pdb
    QtMessaging.exp
    QtMessaging.lib
    QtMultimedia4.dll
    QtMultimedia4.exp
    QtMultimedia4.lib
    QtMultimediad4.dll
    QtMultimediad4.exp
    QtMultimediad4.lib
    QtMultimediad4.pdb
    QtMultimediad.prl
    QtMultimedia.prl
    QtNetwork4.dll
    QtNetwork4.exp
    QtNetwork4.lib
    QtNetworkd4.dll
    QtNetworkd4.exp
    QtNetworkd4.lib
    QtNetworkd4.pdb
    QtNetworkd.prl
    QtNetwork.prl
    QtPublishSubscribed.dll
    QtPublishSubscribed.exp
    QtPublishSubscribed.lib
    QtPublishSubscribe.dll
    QtPublishSubscribed.pdb
    QtPublishSubscribe.exp
    QtPublishSubscribe.lib
    QtScript4.dll
    QtScript4.exp
    QtScript4.lib
    QtScriptd4.dll
    QtScriptd4.exp
    QtScriptd4.lib
    QtScriptd4.pdb
    QtScriptd.prl
    QtScript.prl
    QtScriptTools4.dll
    QtScriptTools4.exp
    QtScriptTools4.lib
    QtScriptToolsd4.dll
    QtScriptToolsd4.exp
    QtScriptToolsd4.lib
    QtScriptToolsd4.pdb
    QtScriptToolsd.prl
    QtScriptTools.prl
    QtSensorsd.dll
    QtSensorsd.exp
    QtSensorsd.lib
    QtSensors.dll
    QtSensorsd.pdb
    QtSensors.exp
    QtSensors.lib
    QtServiceFrameworkd.dll
    QtServiceFrameworkd.exp
    QtServiceFrameworkd.lib
    QtServiceFramework.dll
    QtServiceFrameworkd.pdb
    QtServiceFramework.exp
    QtServiceFramework.lib
    QtSql4.dll
    QtSql4.exp
    QtSql4.lib
    QtSqld4.dll
    QtSqld4.exp
    QtSqld4.lib
    QtSqld4.pdb
    QtSqld.prl
    QtSql.prl
    QtSvg4.dll
    QtSvg4.exp
    QtSvg4.lib
    QtSvgd4.dll
    QtSvgd4.exp
    QtSvgd4.lib
    QtSvgd4.pdb
    QtSvgd.prl
    QtSvg.prl
    QtSystemInfod.dll
    QtSystemInfod.exp
    QtSystemInfod.lib
    QtSystemInfo.dll
    QtSystemInfod.pdb
    QtSystemInfo.exp
    QtSystemInfo.lib
    QtTest4.dll
    QtTest4.exp
    QtTest4.lib
    QtTestd4.dll
    QtTestd4.exp
    QtTestd4.lib
    QtTestd4.pdb
    QtTestd.prl
    QtTest.prl
    QtUiToolsd.lib
    QtUiToolsd.prl
    QtUiTools.lib
    QtUiTools.prl
    QtVersitd.dll
    QtVersitd.exp
    QtVersitd.lib
    QtVersit.dll
    qtversitdocsample.exe
    QtVersitd.pdb
    QtVersit.exp
    QtVersit.lib
    QtXml4.dll
    QtXml4.exp
    QtXml4.lib
    QtXmld4.dll
    QtXmld4.exp
    QtXmld4.lib
    QtXmld4.pdb
    QtXmld.prl
    QtXml.prl
    querymessages.exe
    radio.exe
    readme
    rununittests.bat
    samplephonebook.exe
    satellitedialog.exe
    serviceactions.exe
    servicebrowser.exe
    serviceframework_bluetoothtransferplugin.dll
    serviceframework_bluetoothtransferplugin.exp
    serviceframework_bluetoothtransferplugin.lib
    serviceframework_filemanagerplugin.dll
    serviceframework_filemanagerplugin.exp
    serviceframework_filemanagerplugin.lib
    servicefw.exe
    servicexmlgen.exe
    slideshow.exe
    streamplayer.exe
    syncheaders
    syncheaders.bat
    sysinfo.exe
    vsexplorer.exe
    weatherinfo.exe
    writemessage.exe
    
    fonts:
    c0419bt_.pfb
    c0582bt_.pfb
    c0583bt_.pfb
    c0611bt_.pfb
    c0632bt_.pfb
    c0633bt_.pfb
    c0648bt_.pfb
    c0649bt_.pfb
    courbi.pfa
    courb.pfa
    couri.pfa
    cour.pfa
    cursor.pfa
    DejaVuSans-BoldOblique.ttf
    DejaVuSans-Bold.ttf
    DejaVuSansMono-BoldOblique.ttf
    DejaVuSansMono-Bold.ttf
    DejaVuSansMono-Oblique.ttf
    DejaVuSansMono.ttf
    DejaVuSans-Oblique.ttf
    DejaVuSans.ttf
    DejaVuSerif-BoldOblique.ttf
    DejaVuSerif-Bold.ttf
    DejaVuSerif-Oblique.ttf
    DejaVuSerif.ttf
    fixed_120_50.qpf
    fixed_70_50.qpf
    helvetica_100_50i.qpf
    helvetica_100_50.qpf
    helvetica_100_75i.qpf
    helvetica_100_75.qpf
    helvetica_120_50i.qpf
    helvetica_120_50.qpf
    helvetica_120_75i.qpf
    helvetica_120_75.qpf
    helvetica_140_50i.qpf
    helvetica_140_50.qpf
    helvetica_140_75i.qpf
    helvetica_140_75.qpf
    helvetica_180_50i.qpf
    helvetica_180_50.qpf
    helvetica_180_75i.qpf
    helvetica_180_75.qpf
    helvetica_240_50i.qpf
    helvetica_240_50.qpf
    helvetica_240_75i.qpf
    helvetica_240_75.qpf
    helvetica_80_50i.qpf
    helvetica_80_50.qpf
    helvetica_80_75i.qpf
    helvetica_80_75.qpf
    japanese_230_50.qpf
    l047013t.pfa
    l047016t.pfa
    l047033t.pfa
    l047036t.pfa
    l048013t.pfa
    l048016t.pfa
    l048033t.pfa
    l048036t.pfa
    l049013t.pfa
    l049016t.pfa
    l049033t.pfa
    l049036t.pfa
    micro_40_50.qpf
    readme
    unifont_160_50.qpf
    utbi____.pfa
    utb_____.pfa
    uti_____.pfa
    utrg____.pfa
    VeraBd.ttf
    VeraBI.ttf
    VeraIt.ttf
    VeraMoBd.ttf
    VeraMoBI.ttf
    VeraMoIt.ttf
    VeraMono.ttf
    VeraSeBd.ttf
    VeraSe.ttf
    Vera.ttf

  4. #4
    Nokia Developer Expert
    Join Date
    Dec 2009
    Posts
    81

    Re: Run mobility examples on real wm device

    You've got a mix of debug and release libraries in there - chose one and get rid of the others, ie QtLocation.dll or QtLocationd.dll but not both (the d suffix indicates that it's the debug library).

    You probably want to chose whichever matches with your Qt / Mobility builds - ie if you're deploying debug builds of the Mobility examples, use the debug libraries.

    The deeper reasons are explained in the 3rd point in the link I provided.

    It's a WinCE development problem rather than any kind of Mobility problem, so I may not be able to put aside the time to follow up properly, but let me know how it goes and I'll see what I can do.

  5. #5
    Registered User
    Join Date
    Aug 2003
    Posts
    7

    Re: Run mobility examples on real wm device

    Quote Originally Posted by dalaing View Post
    You've got a mix of debug and release libraries in there - chose one and get rid of the others, ie QtLocation.dll or QtLocationd.dll but not both (the d suffix indicates that it's the debug library).

    You probably want to chose whichever matches with your Qt / Mobility builds - ie if you're deploying debug builds of the Mobility examples, use the debug libraries.
    Ok
    I'd tried it and removed all debug libraries. Result was the same for all examples.

    The deeper reasons are explained in the 3rd point in the link I provided.
    Well... This is very similar to my problem.
    I have a customized ROM on my wm-device - (WM2003SE-based qtec s100 with WM6.5 ROM).
    May be problem somewhere here?
    Is it possible to determine the dependences(dll, external functions) on wm-device?

  6. #6
    Nokia Developer Expert
    Join Date
    Dec 2009
    Posts
    81

    Re: Run mobility examples on real wm device

    It's possible to find the dependencies - I don't have the link on me at the moment but it's pretty easy to find with google. I do know that dependencywalker is useful and that there's some links which describe how to use it with WinCE, so that should get you started.

    I'm afraid custom ROMs are a little out of my area, so if you determine that's the problem I probably won't be able to help much.

  7. #7
    Registered User
    Join Date
    Aug 2003
    Posts
    7

    Re: Run mobility examples on real wm device

    I have checked my system enviroment.
    In PATH variable declaration %QTDIR%\bin for desktop version of Qt were declared earlier than embedded version.

    I fixed this contradiction and recompiled QtMobility - all examples runs fine now!
    The problem was so stupid.
    Qt should works everywhere!

  8. #8
    Registered User
    Join Date
    May 2010
    Posts
    15

    Re: Run mobility examples on real wm device

    Quote Originally Posted by EraSER View Post
    I have checked my system enviroment.
    In PATH variable declaration %QTDIR%\bin for desktop version of Qt were declared earlier than embedded version.

    I fixed this contradiction and recompiled QtMobility - all examples runs fine now!
    The problem was so stupid.
    can you upload QtBearer.lib ?

Similar Threads

  1. secure certificate in a real device??
    By -Icaro- in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2009-03-20, 18:10
  2. Run MIDlet app on device?
    By SanjayKhuntia in forum Mobile Java General
    Replies: 8
    Last Post: 2008-08-04, 16:29
  3. Replies: 1
    Last Post: 2006-08-18, 10:22
  4. Replies: 4
    Last Post: 2006-05-19, 09:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×