Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.3 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
7 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/mkspecs/features/symbian/application_icon.prf

    r561 r769  
    44# requires the registration resource file to exist always
    55contains( CONFIG, no_icon ) {
    6     symbian:RSS_RULES ="hidden = KAppIsHidden;"
     6    symbian:RSS_RULES += "hidden = KAppIsHidden;"
    77    CONFIG -= no_icon
    88} else {
  • trunk/mkspecs/features/symbian/data_caging_paths.prf

    r561 r769  
    7575}
    7676
    77 isEmpty(QT_PLUGINS_BASE_DIR): QT_PLUGINS_BASE_DIR = /$$RESOURCE_FILES_DIR/qt/plugins
     77isEmpty(QT_PLUGINS_BASE_DIR): QT_PLUGINS_BASE_DIR = /$$RESOURCE_FILES_DIR/qt$${QT_LIBINFIX}/plugins
    7878isEmpty(HW_ZDIR): HW_ZDIR = epoc32/data/z
    7979isEmpty(REG_RESOURCE_DIR): REG_RESOURCE_DIR = /private/10003a3f/apps
  • trunk/mkspecs/features/symbian/default_post.prf

    r561 r769  
    66    } else:contains(QT, gui):contains(CONFIG,qt) {
    77        S60MAIN_LIBS = -leuser
    8         QMAKE_LIBS += -lqtmain.lib $$S60MAIN_LIBS
     8        QMAKE_LIBS += -lqtmain$${QT_LIBINFIX}.lib $$S60MAIN_LIBS
    99    } else {
    1010        QMAKE_LIBS += $$QMAKE_LIBS_QT_ENTRY
  • trunk/mkspecs/features/symbian/platform_paths.prf

    r651 r769  
    230230
    231231        OS_LAYER_LIBUTILITY_SYSTEMINCLUDE = $$OS_LAYER_PLATFORM_EXPORT_PATH(stdapis/utility)
    232 
    233         # ---------------------------------------
    234         # Definitions to export IBY files to different folders where they will be taken
    235         # to ROM image
    236         # ---------------------------------------
    237              
    238         defineReplace(CORE_APP_LAYER_IBY_EXPORT_PATH) {
    239             return(/epoc32/rom/include/core/app/$$1)
    240         }
    241         defineReplace(CORE_MW_LAYER_IBY_EXPORT_PATH) {
    242             return(/epoc32/rom/include/core/mw/$$1)
    243         }
    244         defineReplace(CORE_OSEXT_LAYER_IBY_EXPORT_PATH) {
    245             return(/epoc32/rom/include/core/os/$$1)
    246         }
    247         defineReplace(CORE_OS_LAYER_IBY_EXPORT_PATH) {
    248             return(/epoc32/rom/include/core/os/$$1)
    249         }
    250         defineReplace(CORE_ADAPT_LAYER_IBY_EXPORT_PATH) {
    251             return(/epoc32/rom/include/$$1)
    252         }
    253        
    254         # You need to define the following in pro-file, if you are using the stllib:
    255         # QMAKE_CXXFLAGS.CW *= $$STLLIB_USAGE_CW_FLAGS
    256         # DEFINES *= $$STLLIB_USAGE_DEFINES
    257         STLLIB_USAGE_CW_FLAGS = "-wchar_t on"
    258         STLLIB_USAGE_DEFINES = _WCHAR_T_DECLARED
    259232
    260233    } else { # Old pre-SF structure
     
    451424                                            /epoc32/include/stdapis/utility
    452425
    453         # ---------------------------------------
    454         # Definitions to export IBY files to different folders where they will be taken
    455         # to ROM image
    456         # ---------------------------------------
    457              
    458         defineReplace(CORE_APP_LAYER_IBY_EXPORT_PATH) {
    459             return(/epoc32/rom/include/core/app/$$1)
    460         }
    461         defineReplace(CORE_MW_LAYER_IBY_EXPORT_PATH) {
    462             return(/epoc32/rom/include/core/mw/$$1)
    463         }
    464         defineReplace(CORE_OSEXT_LAYER_IBY_EXPORT_PATH) {
    465             return(/epoc32/rom/include/core/osext/$$1)
    466         }
    467         defineReplace(CORE_OS_LAYER_IBY_EXPORT_PATH) {
    468             return(/epoc32/rom/include/core/osext/$$1)
    469         }
    470         defineReplace(CORE_ADAPT_LAYER_IBY_EXPORT_PATH) {
    471             return(/epoc32/rom/include/$$1)
    472         }
    473        
    474         # You need to define the following in pro-file, if you are using the stllib:
    475         # QMAKE_CXXFLAGS.CW *= $$STLLIB_USAGE_CW_FLAGS
    476         # DEFINES *= $$STLLIB_USAGE_DEFINES
    477         STLLIB_USAGE_CW_FLAGS = "-wchar_t on"
    478         STLLIB_USAGE_DEFINES = _WCHAR_T_DECLARED
     426    }
     427
     428    # Definitions common to both structures
     429
     430    # ---------------------------------------
     431    # Definitions to export IBY files to different folders where they will be taken
     432    # to ROM image
     433    # ---------------------------------------
     434
     435    defineReplace(CORE_APP_LAYER_IBY_EXPORT_PATH) {
     436        return(/epoc32/rom/include/core/app/$$1)
     437    }
     438    defineReplace(CORE_MW_LAYER_IBY_EXPORT_PATH) {
     439        return(/epoc32/rom/include/core/mw/$$1)
     440    }
     441
     442    defineReplace(LANGUAGE_APP_LAYER_IBY_EXPORT_PATH) {
     443        return(/epoc32/rom/include/language/app/$$1)
     444    }
     445    defineReplace(LANGUAGE_MW_LAYER_IBY_EXPORT_PATH) {
     446        return(/epoc32/rom/include/language/mw/$$1)
     447    }
     448
     449    defineReplace(CUSTOMER_APP_LAYER_IBY_EXPORT_PATH) {
     450        return(/epoc32/rom/include/customer/app/$$1)
     451    }
     452    defineReplace(CUSTOMER_MW_LAYER_IBY_EXPORT_PATH) {
     453        return(/epoc32/rom/include/customer/mw/$$1)
     454    }
     455
     456    defineReplace(CUSTOMER_VARIANT_APP_LAYER_IBY_EXPORT_PATH) {
     457        return(/epoc32/rom/include/customervariant/app/$$1)
     458    }
     459    defineReplace(CUSTOMER_VARIANT_MW_LAYER_IBY_EXPORT_PATH) {
     460        return(/epoc32/rom/include/customervariant/mw/$$1)
     461    }
     462
     463    # You need to define the following in pro-file, if you are using the stllib:
     464    # QMAKE_CXXFLAGS.CW *= $$STLLIB_USAGE_CW_FLAGS
     465    # DEFINES *= $$STLLIB_USAGE_DEFINES
     466    STLLIB_USAGE_CW_FLAGS = "-wchar_t on"
     467    STLLIB_USAGE_DEFINES = _WCHAR_T_DECLARED
     468
     469}
     470
     471
    479472   
    480     }
    481 }
    482 
    483 
    484    
  • trunk/mkspecs/features/symbian/qt.prf

    r561 r769  
    2323
    2424# Add dependency to Qt package to all other projects besides Qt libs.
    25 # Note: Qt libs with full capabilities has UID3 of 0x2001E61C,
     25# Note: Qt libs package with full capabilities has UID3 of 0x2001E61C,
    2626#       while self-signed version typically has temporary UID3 of 0xE001E61C.
    27 contains(CONFIG, qt):!contains(TARGET.UID3, 0x2001E61C):!contains(TARGET.UID3, 0xE001E61C) {
    28     default_deployment.pkg_prerules += \
     27contains(CONFIG, qt):!contains(TARGET.UID3, 0x2001E61C):!contains(TARGET.UID3, 0xE001E61C):isEmpty(QT_LIBINFIX) {
     28    pkg_depends_qt += \
    2929        "; Default dependency to Qt libraries" \
    3030        "(0x2001E61C), $${QT_MAJOR_VERSION}, $${QT_MINOR_VERSION}, $${QT_PATCH_VERSION},  {\"Qt\"}"
     
    3232    # Projects linking to webkit need dependency to webkit
    3333    contains(QT, webkit): {
    34         default_deployment.pkg_prerules += \
     34        # these can be overridden by mkspecs/modules/qt_webkit.pri
     35        isEmpty(QT_WEBKIT_MAJOR_VERSION) {
     36            QT_WEBKIT_MAJOR_VERSION = $${QT_MAJOR_VERSION}
     37            QT_WEBKIT_MINOR_VERSION = $${QT_MINOR_VERSION}
     38            QT_WEBKIT_PATCH_VERSION = $${QT_PATCH_VERSION}
     39        }
     40
     41        pkg_depends_webkit += \
    3542            "; Dependency to Qt Webkit" \
    36             "(0x200267C2), $${QT_MAJOR_VERSION}, $${QT_MINOR_VERSION}, $${QT_PATCH_VERSION},  {\"QtWebKit\"}"
     43            "(0x200267C2), $${QT_WEBKIT_MAJOR_VERSION}, $${QT_WEBKIT_MINOR_VERSION}, $${QT_WEBKIT_PATCH_VERSION},  {\"QtWebKit\"}"
     44    } else {
     45        default_deployment.pkg_prerules -= pkg_depends_webkit
    3746    }
     47} else {
     48    default_deployment.pkg_prerules -= pkg_depends_webkit pkg_depends_qt
    3849}
    3950
  • trunk/mkspecs/features/symbian/stl.prf

    r561 r769  
    1616
    1717# libstdcppv5 is preferred over libstdcpp as it has/uses the throwing version of operator new
    18 exists($${EPOCROOT}epoc32/release/armv5/urel/libstdcppv5.dll)|exists($${EPOCROOT}epoc32/release/winscw/udeb/libstdcppv5.dll) {
    19     LIBS *= -llibstdcppv5.dll
     18STL_LIB = -llibstdcppv5.dll
    2019
    21     # STDCPP turns on standard C++ new behaviour (ie. throwing new)
    22     MMP_RULES += "STDCPP"
    23 } else {
    24     LIBS *= -llibstdcpp.dll
     20# STDCPP turns on standard C++ new behaviour (ie. throwing new)
     21STL_MMP_RULE = "STDCPP"
     22
     23# Fall back to old implementation if that is the only one that is found
     24exists($${EPOCROOT}epoc32/release/armv5/urel/libstdcpp.dll)|exists($${EPOCROOT}epoc32/release/winscw/udeb/libstdcpp.dll) {
     25    !exists($${EPOCROOT}epoc32/release/armv5/urel/libstdcppv5.dll):!exists($${EPOCROOT}epoc32/release/winscw/udeb/libstdcppv5.dll) {
     26        STL_LIB = -llibstdcpp.dll
     27        STL_MMP_RULE =
     28    }
    2529}
     30
     31LIBS *= $$STL_LIB
     32MMP_RULES *= $$STL_MMP_RULE
Note: See TracChangeset for help on using the changeset viewer.