WebKit.pri
changeset 2 303757a437d3
parent 0 4f2f89ce4247
equal deleted inserted replaced
0:4f2f89ce4247 2:303757a437d3
     3 # Detect that we are building as a standalone package by the presence of
     3 # Detect that we are building as a standalone package by the presence of
     4 # either the generated files directory or as part of the Qt package through
     4 # either the generated files directory or as part of the Qt package through
     5 # QTDIR_build
     5 # QTDIR_build
     6 CONFIG(QTDIR_build): CONFIG += standalone_package
     6 CONFIG(QTDIR_build): CONFIG += standalone_package
     7 else:exists($$PWD/WebCore/generated): CONFIG += standalone_package
     7 else:exists($$PWD/WebCore/generated): CONFIG += standalone_package
       
     8 
       
     9 CONFIG += production
     8 
    10 
     9 CONFIG += depend_includepath
    11 CONFIG += depend_includepath
    10 
    12 
    11 DEFINES += BUILDING_QT__=1
    13 DEFINES += BUILDING_QT__=1
    12 building-libs {
    14 building-libs {
    71 
    73 
    72 symbian {
    74 symbian {
    73     QMAKE_CXXFLAGS.ARMCC += $$RVCT_COMMON_CXXFLAGS
    75     QMAKE_CXXFLAGS.ARMCC += $$RVCT_COMMON_CXXFLAGS
    74 }
    76 }
    75 
    77 
    76 symbian|maemo5: DEFINES *= QT_NO_UITOOLS
    78 ##### Defaults for some mobile platforms
       
    79 symbian|maemo5|maemo6 {
       
    80     CONFIG += disable_uitools
       
    81     CONFIG += enable_fast_mobile_scrolling
       
    82     CONFIG += use_qt_mobile_theme
       
    83 } else {
       
    84     CONFIG += include_webinspector
       
    85 }
       
    86 
       
    87 embedded: CONFIG += enable_fast_mobile_scrolling
       
    88 
       
    89 ####
       
    90 
       
    91 disable_uitools: DEFINES *= QT_NO_UITOOLS
    77 
    92 
    78 contains(DEFINES, QT_NO_UITOOLS): CONFIG -= uitools
    93 contains(DEFINES, QT_NO_UITOOLS): CONFIG -= uitools
    79 
    94 
    80 # Disable a few warnings on Windows. The warnings are also
    95 # Disable a few warnings on Windows. The warnings are also
    81 # disabled in WebKitLibraries/win/tools/vsprops/common.vsprops
    96 # disabled in WebKitLibraries/win/tools/vsprops/common.vsprops