Results 1 to 2 of 2

Thread: win32 platform macros?

  1. #1
    Join Date
    Apr 2006
    Location
    San Francisco, CA
    Posts
    186
    Thanks
    55
    Thanked 12 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default win32 platform macros?

    I'm trying to make my code portable to both mingw and VC++ under win32. I understand Q_WS_WIN is used to tell between a win32 and other platforms, but what macro should I use to properly distinguish which compiler I'm using? Because it seems like mingw can't compile a bunch of these win32 libraries that include things like atlbase.h, etc.
    Software Engineer



  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: win32 platform macros?

    J-P Nurmi

  3. The following user says thank you to jpn for this useful post:

    gfunk (5th September 2007)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.