src/corelib/global/qglobal.h
branchRCL_3
changeset 4 3b1da2848fc7
parent 3 41300fa6a67c
child 5 d3bac044e0f0
equal deleted inserted replaced
3:41300fa6a67c 4:3b1da2848fc7
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the QtCore module of the Qt Toolkit.
     7 ** This file is part of the QtCore module of the Qt Toolkit.
     8 **
     8 **
    42 #ifndef QGLOBAL_H
    42 #ifndef QGLOBAL_H
    43 #define QGLOBAL_H
    43 #define QGLOBAL_H
    44 
    44 
    45 #include <stddef.h>
    45 #include <stddef.h>
    46 
    46 
    47 #define QT_VERSION_STR   "4.6.1"
    47 #define QT_VERSION_STR   "4.6.2"
    48 /*
    48 /*
    49    QT_VERSION is (major << 16) + (minor << 8) + patch.
    49    QT_VERSION is (major << 16) + (minor << 8) + patch.
    50 */
    50 */
    51 #define QT_VERSION 0x040601
    51 #define QT_VERSION 0x040602
    52 /*
    52 /*
    53    can be used like #if (QT_VERSION >= QT_VERSION_CHECK(4, 4, 0))
    53    can be used like #if (QT_VERSION >= QT_VERSION_CHECK(4, 4, 0))
    54 */
    54 */
    55 #define QT_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch))
    55 #define QT_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch))
    56 
    56 
  2417 #define Q_SYMBIAN_FIXED_POINTER_CURSORS
  2417 #define Q_SYMBIAN_FIXED_POINTER_CURSORS
  2418 #define Q_SYMBIAN_HAS_EXTENDED_BITMAP_TYPE
  2418 #define Q_SYMBIAN_HAS_EXTENDED_BITMAP_TYPE
  2419 //enabling new graphics resources
  2419 //enabling new graphics resources
  2420 #define QT_SYMBIAN_SUPPORTS_SGIMAGE
  2420 #define QT_SYMBIAN_SUPPORTS_SGIMAGE
  2421 #define QT_SYMBIAN_SUPPORTS_ADVANCED_POINTER
  2421 #define QT_SYMBIAN_SUPPORTS_ADVANCED_POINTER
       
  2422 
       
  2423 #ifdef SYMBIAN_GRAPHICS_WSERV_QT_EFFECTS
       
  2424 #define Q_SYMBIAN_SEMITRANSPARENT_BG_SURFACE
       
  2425 #endif
  2422 #endif
  2426 #endif
  2423 
  2427 
  2424 
  2428 
  2425 //Symbian does not support data imports from a DLL
  2429 //Symbian does not support data imports from a DLL
  2426 #define Q_NO_DATA_RELOCATION
  2430 #define Q_NO_DATA_RELOCATION