mkspecs/features/symbian/platform_paths.prf
changeset 0 1918ee327afb
child 3 41300fa6a67c
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 #
       
     2 # ==============================================================================
       
     3 #  Name        : platform_paths.prf
       
     4 #  Part of     : 
       
     5 #  Interface   : Platform Path Definitions API for Qt/S60
       
     6 #  Description : Predefined include paths to be used in the pro-files for the 
       
     7 #                components in the layered model. There is one definition for
       
     8 #                each layer. The pro-file should use the statement that is 
       
     9 #                intended for the same layer as where the pro-file resides.
       
    10 #
       
    11 # Usage examples:
       
    12 #
       
    13 #     Note: this file gets automatically added to all Qt/S60 projects
       
    14 #    
       
    15 #     Variable usages to add the system include paths
       
    16 #       
       
    17 #       The include paths has to be related to the layer in which your SW 
       
    18 #       resides. Thus as an example: a component residing in middleware
       
    19 #       layer should use the MW specific macro.
       
    20 #
       
    21 #         INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    22 #         INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
       
    23 #         INCLUDEPATH += $$OS_LAYER_SYSTEMINCLUDE
       
    24 #
       
    25 #       If there is a need to include public headers of some S60 component,
       
    26 #       various *_EXPORT_PATH macros can be utilized:
       
    27 #
       
    28 #         INCLUDEPATH += $$OS_LAYER_PUBLIC_EXPORT_PATH(somecomponent)
       
    29 #
       
    30 #     Variables related to using various parts of stdapis:
       
    31 #
       
    32 #       To use STLLIB you need to have this in your pro-file:
       
    33 #
       
    34 #         QMAKE_CXXFLAGS.CW *= $$STLLIB_USAGE_CW_FLAGS
       
    35 #         DEFINES *= $$STLLIB_USAGE_DEFINES
       
    36 #
       
    37 #       Depending on what module you are using from stdapis you need to have
       
    38 #       one or more of the following variables in your pro-file.
       
    39 #
       
    40 #         INCLUDEPATH += $$OS_LAYER_LIBC_SYSTEMINCLUDE
       
    41 #         INCLUDEPATH += $$OS_LAYER_GLIB_SYSTEMINCLUDE
       
    42 #         INCLUDEPATH += $$OS_LAYER_SSL_SYSTEMINCLUDE
       
    43 #         INCLUDEPATH += $$OS_LAYER_STDCPP_SYSTEMINCLUDE
       
    44 #         INCLUDEPATH += $$OS_LAYER_BOOST_SYSTEMINCLUDE
       
    45 #         INCLUDEPATH += $$OS_LAYER_DBUS_SYSTEMINCLUDE
       
    46 #         INCLUDEPATH += $$OS_LAYER_LIBUTILITY_SYSTEMINCLUDE
       
    47 #
       
    48 #
       
    49 #       
       
    50 #
       
    51 # ==============================================================================
       
    52 
       
    53 exists($${EPOCROOT}epoc32/include/platform_paths.prf) {
       
    54     
       
    55     # Load platform specific paths
       
    56     load($${EPOCROOT}epoc32/include/platform_paths.prf)
       
    57 
       
    58 } else {  
       
    59 
       
    60     # No platform specific paths provided, use default paths
       
    61 
       
    62     exists($${EPOCROOT}epoc32/include/platform) { # New SF structure
       
    63     
       
    64         # ---------------------------------------
       
    65         # Location, where the applications layer specific public headers are exported
       
    66         # ---------------------------------------
       
    67 
       
    68         defineReplace(APP_LAYER_SDK_EXPORT_PATH) {
       
    69              return (/epoc32/include/app/$$1)
       
    70         }
       
    71         defineReplace(APP_LAYER_PUBLIC_EXPORT_PATH) {
       
    72              return (/epoc32/include/app/$$1)
       
    73         }
       
    74 
       
    75         # ---------------------------------------
       
    76         # Location, where the applications layer specific platform headers are exported
       
    77         # ---------------------------------------
       
    78 
       
    79         defineReplace(APP_LAYER_DOMAIN_EXPORT_PATH) {
       
    80              return (/epoc32/include/platform/app/$$1)
       
    81         }
       
    82         defineReplace(APP_LAYER_PLATFORM_EXPORT_PATH) {
       
    83              return (/epoc32/include/platform/app/$$1)
       
    84         }
       
    85 
       
    86         # ---------------------------------------
       
    87         # Location, where the middleware layer specific public headers are exported
       
    88         # ---------------------------------------
       
    89 
       
    90         defineReplace(MW_LAYER_SDK_EXPORT_PATH) {
       
    91              return (/epoc32/include/mw/$$1)
       
    92         }
       
    93         defineReplace(MW_LAYER_PUBLIC_EXPORT_PATH) {
       
    94              return (/epoc32/include/mw/$$1)
       
    95         }
       
    96 
       
    97         # ---------------------------------------
       
    98         # Location, where the middleware layer specific platform headers are exported
       
    99         # ---------------------------------------
       
   100 
       
   101         defineReplace(MW_LAYER_DOMAIN_EXPORT_PATH) {
       
   102              return (/epoc32/include/platform/mw/$$1)
       
   103         }
       
   104         defineReplace(MW_LAYER_PLATFORM_EXPORT_PATH) {
       
   105              return (/epoc32/include/platform/mw/$$1)
       
   106         }
       
   107 
       
   108         # ---------------------------------------
       
   109         # Location, where the os layer specific public headers are exported
       
   110         # ---------------------------------------
       
   111 
       
   112         defineReplace(OSEXT_LAYER_SDK_EXPORT_PATH) {
       
   113              return (/epoc32/include/$$1)
       
   114         }
       
   115         # WARNING: If the following path changes see the exists() function around line 219
       
   116         defineReplace(OS_LAYER_PUBLIC_EXPORT_PATH) {
       
   117              return (/epoc32/include/$$1)
       
   118         }
       
   119 
       
   120         # ---------------------------------------
       
   121         # Location, where the os specific platform headers are exported
       
   122         # ---------------------------------------
       
   123 
       
   124         defineReplace(OSEXT_LAYER_DOMAIN_EXPORT_PATH) {
       
   125              return (/epoc32/include/platform/$$1)
       
   126         }
       
   127         defineReplace(OS_LAYER_PLATFORM_EXPORT_PATH) {
       
   128              return (/epoc32/include/platform/$$1)
       
   129         }
       
   130 
       
   131         # ---------------------------------------
       
   132         #  General comments about the 3 define statements related to include paths:
       
   133         #  1) the /epoc32/include/oem is now defined there for backward compability.
       
   134         #     Once the directory is empty, the directory will be removed. However this 
       
   135         #     enables us to ensure that if you use these define statements => you do 
       
   136         #     not have to remove the statements later on, when the directory no longer 
       
   137         #     exists.
       
   138         #  2) These statements should be enough in normal cases. For certain specific 
       
   139         #     cases you might need to add some specific directory from /epoc32/include
       
   140         #     (for instance /epoc32/include/ecom).
       
   141         #     In normal cases the include staments in code should be relative to one of 
       
   142         #     the system include paths, but in certain cases, the included files requires
       
   143         #     that the subdirectory is also part of the system include paths.
       
   144         # ---------------------------------------
       
   145 
       
   146         # This variable defines the include paths, which are intended to be 
       
   147         # used in the pro-files that are part of the applications-layer. It includes all 
       
   148         # the needed directories from the /epoc32/include, that are valid ones for the 
       
   149         # application-layer components. 
       
   150         #
       
   151         # Applications layer is the last one in the list, since most likely the most of 
       
   152         # the headers come from middleware or os-layer  => thus they are first.
       
   153 
       
   154         APP_LAYER_SYSTEMINCLUDE = \
       
   155          /epoc32/include \
       
   156          /epoc32/include/mw \
       
   157          /epoc32/include/platform/mw \
       
   158          /epoc32/include/platform \
       
   159          /epoc32/include/app \
       
   160          /epoc32/include/platform/app \
       
   161          /epoc32/include/platform/loc \
       
   162          /epoc32/include/platform/mw/loc \
       
   163          /epoc32/include/platform/app/loc \
       
   164          /epoc32/include/platform/loc/sc \
       
   165          /epoc32/include/platform/mw/loc/sc \
       
   166          /epoc32/include/platform/app/loc/sc
       
   167 
       
   168         # This define statements defines the include paths, which are intended to be
       
   169         # used in the pro-files that are part of the middleware-layer. It includes all 
       
   170         # the needed directories from the /epoc32/include, that are valid ones for the 
       
   171         # middleware-layer components. 
       
   172 
       
   173         MW_LAYER_SYSTEMINCLUDE = \
       
   174          /epoc32/include \
       
   175          /epoc32/include/mw \
       
   176          /epoc32/include/platform/mw \
       
   177          /epoc32/include/platform \
       
   178          /epoc32/include/platform/loc \
       
   179          /epoc32/include/platform/mw/loc \
       
   180          /epoc32/include/platform/loc/sc \
       
   181          /epoc32/include/platform/mw/loc/sc
       
   182 
       
   183         # This define statements defines the include paths, which are intended to be
       
   184         # used in the pro-files that are part of the  osextensions-layer. It includes all
       
   185         # the needed directories from the /epoc32/include, that are valid ones for the
       
   186         # os-layer components. 
       
   187 
       
   188         OS_LAYER_SYSTEMINCLUDE = \
       
   189          /epoc32/include \
       
   190          /epoc32/include/platform \
       
   191          /epoc32/include/platform/loc \
       
   192          /epoc32/include/platform/loc/sc
       
   193 
       
   194         # This define statements defines the include paths, which are intended to be
       
   195         # used in the pro-files that are part of the os-layer. This is intended 
       
   196         # to be only used by those components which need to use in their mmp-file either
       
   197         # kern_ext.mmh or nkern_ext.mmh. Reason is that those
       
   198         # 2 files already contain the /epoc32/include  as system include path.
       
   199 
       
   200         OS_LAYER_KERNEL_SYSTEMINCLUDE = \
       
   201          /epoc32/include/platform
       
   202 
       
   203 
       
   204         # ---------------------------------------
       
   205         # Definitions that also define the systeminclude paths for various
       
   206         # part of stdapis. Append to INCLUDEPATH in pro-file.
       
   207         # ---------------------------------------
       
   208 
       
   209         OS_LAYER_LIBC_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis) \
       
   210                                       $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/sys)
       
   211 
       
   212         OS_LAYER_GLIB_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0) \
       
   213                                       $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0/glib) \
       
   214                                       $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0/gObject)
       
   215 
       
   216         OS_LAYER_SSL_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/openssl)
       
   217 
       
   218         # stlportv5 is preferred over stlport as it has the throwing version of operator new
       
   219         # :QTP: detection of stlport not possible in clean build
       
   220         OS_LAYER_STDCPP_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/stlportv5)
       
   221         
       
   222         OS_LAYER_BOOST_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/boost)
       
   223 
       
   224         OS_LAYER_DBUS_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/dbus-1.0) \
       
   225                                       $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/dbus-1.0/dbus)
       
   226 
       
   227         OS_LAYER_LIBUTILITY_SYSTEMINCLUDE = $$OS_LAYER_PLATFORM_EXPORT_PATH(stdapis/utility)
       
   228 
       
   229         # ---------------------------------------
       
   230         # Definitions to export IBY files to different folders where they will be taken 
       
   231         # to ROM image
       
   232         # ---------------------------------------
       
   233               
       
   234         defineReplace(CORE_APP_LAYER_IBY_EXPORT_PATH) {
       
   235             return(/epoc32/rom/include/core/app/$$1)
       
   236         }
       
   237         defineReplace(CORE_MW_LAYER_IBY_EXPORT_PATH) {
       
   238             return(/epoc32/rom/include/core/mw/$$1)
       
   239         }
       
   240         defineReplace(CORE_OSEXT_LAYER_IBY_EXPORT_PATH) {
       
   241             return(/epoc32/rom/include/core/os/$$1)
       
   242         }
       
   243         defineReplace(CORE_OS_LAYER_IBY_EXPORT_PATH) {
       
   244             return(/epoc32/rom/include/core/os/$$1)
       
   245         }
       
   246         defineReplace(CORE_ADAPT_LAYER_IBY_EXPORT_PATH) {
       
   247             return(/epoc32/rom/include/$$1)
       
   248         }
       
   249         
       
   250         # You need to define the following in pro-file, if you are using the stllib:
       
   251         # QMAKE_CXXFLAGS.CW *= $$STLLIB_USAGE_CW_FLAGS
       
   252         # DEFINES *= $$STLLIB_USAGE_DEFINES
       
   253         STLLIB_USAGE_CW_FLAGS = "-wchar_t on"
       
   254         STLLIB_USAGE_DEFINES = _WCHAR_T_DECLARED
       
   255 
       
   256     } else { # Old pre-SF structure
       
   257 
       
   258         # ---------------------------------------
       
   259         # Location, where the applications layer specific public headers are exported
       
   260         # ---------------------------------------
       
   261 
       
   262         defineReplace(APP_LAYER_SDK_EXPORT_PATH) {
       
   263              return (/epoc32/include/applications/$$1)
       
   264         }
       
   265         defineReplace(APP_LAYER_PUBLIC_EXPORT_PATH) {
       
   266              return (/epoc32/include/applications/$$1)
       
   267         }
       
   268 
       
   269         # ---------------------------------------
       
   270         # Location, where the applications layer specific platform headers are exported
       
   271         # ---------------------------------------
       
   272 
       
   273         defineReplace(APP_LAYER_DOMAIN_EXPORT_PATH) {
       
   274              return (/epoc32/include/domain/applications/$$1)
       
   275         }
       
   276         defineReplace(APP_LAYER_PLATFORM_EXPORT_PATH) {
       
   277              return (/epoc32/include/domain/applications/$$1)
       
   278         }
       
   279 
       
   280         # ---------------------------------------
       
   281         # Location, where the middleware layer specific public headers are exported
       
   282         # ---------------------------------------
       
   283 
       
   284         defineReplace(MW_LAYER_SDK_EXPORT_PATH) {
       
   285              return (/epoc32/include/middleware/$$1)
       
   286         }
       
   287         defineReplace(MW_LAYER_PUBLIC_EXPORT_PATH) {
       
   288              return (/epoc32/include/middleware/$$1)
       
   289         }
       
   290 
       
   291         # ---------------------------------------
       
   292         # Location, where the middleware layer specific platform headers are exported
       
   293         # ---------------------------------------
       
   294 
       
   295         defineReplace(MW_LAYER_DOMAIN_EXPORT_PATH) {
       
   296              return (/epoc32/include/domain/middleware/$$1)
       
   297         }
       
   298         defineReplace(MW_LAYER_PLATFORM_EXPORT_PATH) {
       
   299              return (/epoc32/include/domain/middleware/$$1)
       
   300         }
       
   301 
       
   302         # ---------------------------------------
       
   303         # Location, where the os layer specific public headers are exported
       
   304         # ---------------------------------------
       
   305 
       
   306         defineReplace(OSEXT_LAYER_SDK_EXPORT_PATH) {
       
   307              return (/epoc32/include/osextensions/$$1)
       
   308         }
       
   309         # WARNING: If the following path changes see the exists() function around line 430
       
   310         defineReplace(OS_LAYER_PUBLIC_EXPORT_PATH) {
       
   311              return (/epoc32/include/osextensions/$$1)
       
   312         }
       
   313 
       
   314         # ---------------------------------------
       
   315         # Location, where the os specific platform headers are exported
       
   316         # ---------------------------------------
       
   317 
       
   318         defineReplace(OSEXT_LAYER_DOMAIN_EXPORT_PATH) {
       
   319              return (/epoc32/include/domain/osextensions/$$1)
       
   320         }
       
   321         defineReplace(OS_LAYER_PLATFORM_EXPORT_PATH) {
       
   322              return (/epoc32/include/domain/osextensions/$$1)
       
   323         }
       
   324 
       
   325         # ---------------------------------------
       
   326         #  General comments about the 3 define statements related to include paths:
       
   327         #  1) the /epoc32/include/oem is now defined there for backward compability.
       
   328         #     Once the directory is empty, the directory will be removed. However this 
       
   329         #     enables us to ensure that if you use these define statements => you do 
       
   330         #     not have to remove the statements later on, when the directory no longer 
       
   331         #     exists.
       
   332         #  2) These statements should be enough in normal cases. For certain specific 
       
   333         #     cases you might need to add some specific directory from /epoc32/include
       
   334         #     (for instance /epoc32/include/ecom).
       
   335         #     In normal cases the include staments in code should be relative to one of 
       
   336         #     the system include paths, but in certain cases, the included files requires
       
   337         #     that the subdirectory is also part of the system include paths.
       
   338         # ---------------------------------------
       
   339 
       
   340         # This variable defines the include paths, which are intended to be 
       
   341         # used in the pro-files that are part of the applications-layer. It includes all 
       
   342         # the needed directories from the /epoc32/include, that are valid ones for the 
       
   343         # application-layer components. 
       
   344         #
       
   345         # Applications layer is the last one in the list, since most likely the most of 
       
   346         # the headers come from middleware or os-layer  => thus they are first.
       
   347 
       
   348         APP_LAYER_SYSTEMINCLUDE = \
       
   349          /epoc32/include \
       
   350          /epoc32/include/oem \
       
   351          /epoc32/include/middleware \
       
   352          /epoc32/include/domain/middleware \
       
   353          /epoc32/include/osextensions \
       
   354          /epoc32/include/domain/osextensions \
       
   355          /epoc32/include/applications \
       
   356          /epoc32/include/domain/applications \
       
   357          /epoc32/include/domain/osextensions/loc \
       
   358          /epoc32/include/domain/middleware/loc \
       
   359          /epoc32/include/domain/applications/loc \
       
   360          /epoc32/include/domain/osextensions/loc/sc \
       
   361          /epoc32/include/domain/middleware/loc/sc \
       
   362          /epoc32/include/domain/applications/loc/sc
       
   363 
       
   364         # This define statements defines the include paths, which are intended to be
       
   365         # used in the pro-files that are part of the middleware-layer. It includes all 
       
   366         # the needed directories from the /epoc32/include, that are valid ones for the 
       
   367         # middleware-layer components. 
       
   368 
       
   369         MW_LAYER_SYSTEMINCLUDE = \
       
   370          /epoc32/include \
       
   371          /epoc32/include/oem \
       
   372          /epoc32/include/middleware \
       
   373          /epoc32/include/domain/middleware \
       
   374          /epoc32/include/osextensions \
       
   375          /epoc32/include/domain/osextensions \
       
   376          /epoc32/include/domain/osextensions/loc \
       
   377          /epoc32/include/domain/middleware/loc \
       
   378          /epoc32/include/domain/osextensions/loc/sc \
       
   379          /epoc32/include/domain/middleware/loc/sc
       
   380 
       
   381         # This define statements defines the include paths, which are intended to be
       
   382         # used in the pro-files that are part of the  osextensions-layer. It includes all
       
   383         # the needed directories from the /epoc32/include, that are valid ones for the
       
   384         # os-layer components. 
       
   385 
       
   386         OS_LAYER_SYSTEMINCLUDE = \
       
   387          /epoc32/include \
       
   388          /epoc32/include/oem \
       
   389          /epoc32/include/osextensions \
       
   390          /epoc32/include/domain/osextensions \
       
   391          /epoc32/include/domain/osextensions/loc \
       
   392          /epoc32/include/domain/osextensions/loc/sc
       
   393 
       
   394         # This define statements defines the include paths, which are intended to be
       
   395         # used in the pro-files that are part of the os-layer. This is intended 
       
   396         # to be only used by those components which need to use in their mmp-file either
       
   397         # kern_ext.mmh or nkern_ext.mmh. Reason is that those
       
   398         # 2 files already contain the /epoc32/include  as system include path.
       
   399 
       
   400         OS_LAYER_KERNEL_SYSTEMINCLUDE = \
       
   401          /epoc32/include/oem \
       
   402          /epoc32/include/osextensions \
       
   403          /epoc32/include/domain/osextensions
       
   404 
       
   405 
       
   406         # ---------------------------------------
       
   407         # Definitions that also define the systeminclude paths for various
       
   408         # part of stdapis. Append to INCLUDEPATH in pro-file.
       
   409         # ---------------------------------------
       
   410 
       
   411         OS_LAYER_LIBC_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis) \
       
   412                                       $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/sys) \
       
   413                                       /epoc32/include/stdapis \
       
   414                                       /epoc32/include/stdapis/sys
       
   415 
       
   416         OS_LAYER_GLIB_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0) \
       
   417                                       $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0/glib) \
       
   418                                       $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/glib-2.0/gObject) \
       
   419                                       /epoc32/include/stdapis/glib-2.0 \
       
   420                                       /epoc32/include/stdapis/glib-2.0/glib \
       
   421                                       /epoc32/include/stdapis/glib-2.0/gObject
       
   422 
       
   423         OS_LAYER_SSL_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/openssl) \
       
   424                                      /epoc32/include/stdapis/openssl
       
   425 
       
   426         # :QTP: detection of stlport not possible in clean build
       
   427         OS_LAYER_STDCPP_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/stlportv5) \
       
   428                                             /epoc32/include/stdapis/stlportv5
       
   429         
       
   430         OS_LAYER_BOOST_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/boost) \
       
   431                                        /epoc32/include/stdapis/boost
       
   432 
       
   433         OS_LAYER_DBUS_SYSTEMINCLUDE = $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/dbus-1.0) \
       
   434                                       $$OS_LAYER_PUBLIC_EXPORT_PATH(stdapis/dbus-1.0/dbus) \
       
   435                                       /epoc32/include/stdapis/dbus-1.0 \
       
   436                                       /epoc32/include/stdapis/dbus-1.0/dbus
       
   437 
       
   438         OS_LAYER_LIBUTILITY_SYSTEMINCLUDE = $$OS_LAYER_PLATFORM_EXPORT_PATH(stdapis/utility) \
       
   439                                             /epoc32/include/stdapis/utility
       
   440 
       
   441         # ---------------------------------------
       
   442         # Definitions to export IBY files to different folders where they will be taken 
       
   443         # to ROM image
       
   444         # ---------------------------------------
       
   445               
       
   446         defineReplace(CORE_APP_LAYER_IBY_EXPORT_PATH) {
       
   447             return(/epoc32/rom/include/core/app/$$1)
       
   448         }
       
   449         defineReplace(CORE_MW_LAYER_IBY_EXPORT_PATH) {
       
   450             return(/epoc32/rom/include/core/mw/$$1)
       
   451         }
       
   452         defineReplace(CORE_OSEXT_LAYER_IBY_EXPORT_PATH) {
       
   453             return(/epoc32/rom/include/core/osext/$$1)
       
   454         }
       
   455         defineReplace(CORE_OS_LAYER_IBY_EXPORT_PATH) {
       
   456             return(/epoc32/rom/include/core/osext/$$1)
       
   457         }
       
   458         defineReplace(CORE_ADAPT_LAYER_IBY_EXPORT_PATH) {
       
   459             return(/epoc32/rom/include/$$1)
       
   460         }
       
   461         
       
   462         # You need to define the following in pro-file, if you are using the stllib:
       
   463         # QMAKE_CXXFLAGS.CW *= $$STLLIB_USAGE_CW_FLAGS
       
   464         # DEFINES *= $$STLLIB_USAGE_DEFINES
       
   465         STLLIB_USAGE_CW_FLAGS = "-wchar_t on"
       
   466         STLLIB_USAGE_DEFINES = _WCHAR_T_DECLARED
       
   467     
       
   468     } 
       
   469 }
       
   470 
       
   471 
       
   472