Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

Messaging Installation On Windows Mobile

Get Qt Mobility and Qt packages

Get the Qt Mobility Package from http://get.qt.nokia.com

Get Qt 4.5.2 (or newer) Embedded for Windows Mobile package download here.

Install pre-requisites

A perl interpreter such as ActivePerl must be installed and available in the environment path.

Visual Studio 2009 or newer must be installed.

Windows Mobile 6 Standard SDK (including ActiveSync) must be installed download page.

Build Qt

Extract Qt 4.5.2 Embedded (or newer) into your Qt directory on windows. e.g. c:\Qt\4.5.2_winmobile6_standard

Open a Visual Studio cmd shell

Set your PATH to include the Qt binaries

    set PATH=c:\Qt\4.5.2_winmobile6_standard\bin;%PATH%

Set the INCLUDE and LIB vars to point to your ActiveSync sources

    set INCLUDE=%INCLUDE%;C:\Program Files\Windows Mobile 6 SDK\Activesync\inc
    set LIB=%LIB%;C:\Program Files\Windows Mobile 6 SDK\Activesync\Lib

Configure Qt

    cd c:\Qt\4.5.2_winmobile6_standard
    configure.exe -debug -platform win32-msvc2008 -xplatform wincewm60standard-msvc2008 -cetest -plugindir \qtplugins

Run setcepaths to setup embedded compiler paths

    setcepaths wincewm60standard-msvc2008

Use devtools/ibmake or nmake to build. If using ibmake, ensure devtools/shell is in your path and that you have ActivePerl installed on your windows machine

    ibmake

or

    nmake

Build Mobility Messaging

Open a new Visual Studio cmd shell

Set the path to Qt

    set PATH=%PATH%;c:\Qt\4.5.2_winmobile6_standard\bin

Set QMAKESPEC

    set QMAKESPEC=wincewm60standard-msvc2008

Run setcepaths to set embedded compiler paths

    setcepaths wincewm60standard-msvc2008

Run qmake and build

    cd <path-to-mobility-messaging-depot-or-source-package>
    qmake mobility.pro
    nmake

Visual Studio is recommended to build the mobility project for windows mobile, although it is not necessary, it makes debugging and deployment easier.

    cd <path-to-mobility-messaging-depot>
    qmake -tp vc QT_CONFIG+=release mobility.pro -recursive

If using git edit your git configuration so it does not consider Visual Studio files

Edit <path-to-mobility-messaging-depot>/.git/info/exclude

Append the following

    *.sln
    *.ncb
    *.suo
    *.user

Open the generated *.sln file and compile.

If you get errors during the Visual Studio build regarding mainACRT, right click on the project, goto linker-advanced and Clear the Entry-Point value.

Deploy

Before running a debug instance, ensure that the QtMessaging.dll is a deployment dependency for the examples and tests.

Right click properties on project e.g. serviceactions. Under deployment->addition files add:

    "QtMessaging.dll|$(TargetDir)|%CSIDL_PROGRAM_FILES%\serviceactions|0"

Replacing "serviceactions" with the relevant project.

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt qtmobility-1.0
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web