×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2010
    Posts
    1

    Specific instruction on building QTMessaging for Win32?

    I'm working on a cross platform application that requires that I build the QTMessaging library on the Win32 platform, but I'm having absolutely no luck using either mingw32 or nmake. First issue is that the MAPI related headers aren't present, so I've tried copying them from several different versions of the Windows platform SDK to the build directory, that only results in considerable compile errors with various structure definition redefines.

    I would assume that at some point, Nokia clearly has been able to build the message library for a Windows platform, but if anyone has any specifics on which version of header files are required, or any other undocumented magic required, I think many of us would be extremely appreciative.

    Pretty much, if I can't resolve this shortly, we'll have to give up on using QTMobility for our application and find an alternate solution. I'm a great advocate of Qt, it has served us extremely well for Windows and embedded Linux development, but have completely hit a wall trying to build this library.

  2. #2
    Nokia Developer Expert
    Join Date
    Jun 2008
    Location
    Brisbane, Australia
    Posts
    18

    Re: Specific instruction on building QTMessaging for Win32?

    The mapi stuff should be included with the Windows Platform SDK

    C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\MAPIGuid.h
    C:\Program Files\Microsoft SDKs\Windows\v6.1\Include\MAPIGuid.h
    Code Monkey, QtMobility, Nokia

  3. #3
    Nokia Developer Expert
    Join Date
    Jan 2010
    Posts
    6

    Re: Specific instruction on building QTMessaging for Win32?

    Please note windows is not an officially supported platform, but here are some instructions.

    nmake can be used, but mingw32 can not.

    QtMobility messaging has been tested with Outlook 2007 and Outlook 2003, I recommended Outlook 2007 service pack 1 for best results.

    Windows 7 is unsupported and untested. Don't use Windows 7 with QtMobility messaging currently.

    The QtMobility docs state:
    'On Microsoft Windows, MAPI header files are required to be installed, we recommend installing Visual Studio Express for this purpose.'

    So it should be possible to install the MAPI header files when installing Visual Studio Express.

    Personally I've installed the MAPI header files using Visual Studio 2008 Professional and
    Visual Studio 2008 Service pack 1
    http://www.microsoft.com/visualstudi...downloads.mspx
    http://www.microsoft.com/downloads/d...displaylang=en

    Before installing qtmobility it is necessary to build qt for the win23-msvc2008 platform, and make sure the QTDIR and PATH environment variables are set/updated as per usual when working with Qt on windows.

    To compile QtMobility on windows normally I create visual studio project file using
    qmake -tp vc qtmobility.pro
    then build using
    nmake

    I agree that the build instructions for Windows could be better, Windows Mobile also requires further instructions** but because Windows isn't an officially supported platform yet this hasn't been a priority. Recently one of the dev machines used for QtMobility messaging development was reimaged so I'll have to go through the setup process again myself.

    **Windows Mobile also requires ActiveSync 4.5, I've also installed Windows Mobile Standard and Professional SDK and DTK, but perhaps I didn't need both.
    Windows Mobile Standard SDK & Windows Mobile Professional SDK
    http://www.microsoft.com/downloads/d...displaylang=en
    Windows Mobile 6.5 Standard Developer Tool Kit (USA).msi & Windows Mobile 6.5 Professional Developer Tool Kit (USA).msi
    http://www.microsoft.com/downloads/d...a-ae010e085a6e

    Regards,
    Don.

Similar Threads

  1. Run a project
    By tkhdevxeon in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2007-02-18, 04:16
  2. carbide.c++ dll
    By tkhdevxeon in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2007-02-06, 20:16
  3. Carbide.C++ Express - HelloCarbide build problem
    By nokiapaul in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 3
    Last Post: 2006-07-09, 12:54
  4. Example Icons not shown : Please help !
    By Mauro_Nokia in forum Symbian
    Replies: 4
    Last Post: 2006-07-07, 09:25

Posting Permissions

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