Ignore:
Timestamp:
Mar 8, 2010, 12:52:58 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.2 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/tools/configure/configureapp.cpp

    r561 r651  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    318318    dictionary[ "DBUS" ]            = "auto";
    319319    dictionary[ "S60" ]             = "yes";
     320    dictionary[ "SYMBIAN_DEFFILES" ] = "yes";
    320321
    321322    dictionary[ "STYLE_WINDOWS" ]   = "yes";
     
    483484            dictionary[ "BUILDDEV" ] = "yes";
    484485            dictionary["LICENSE_CONFIRMED"] = "yes";
     486            if (dictionary.contains("XQMAKESPEC") && dictionary["XQMAKESPEC"].startsWith("symbian")) {
     487                dictionary[ "SYMBIAN_DEFFILES" ] = "no";
     488            }
    485489        }
    486490        else if( configCmdLine.at(i) == "-opensource" ) {
     
    804808            dictionary[ "NATIVE_GESTURES" ] = "no";
    805809#if !defined(EVAL)
    806         // Others ---------------------------------------------------
     810        // Symbian Support -------------------------------------------
    807811        else if (configCmdLine.at(i) == "-fpu" )
    808812        {
     
    813817        }
    814818
    815         // S60 Support -------------------------------------------
    816819        else if( configCmdLine.at(i) == "-s60" )
    817820            dictionary[ "S60" ]    = "yes";
     
    819822            dictionary[ "S60" ]    = "no";
    820823
     824        else if( configCmdLine.at(i) == "-usedeffiles" )
     825            dictionary[ "SYMBIAN_DEFFILES" ] = "yes";
     826        else if( configCmdLine.at(i) == "-no-usedeffiles" )
     827            dictionary[ "SYMBIAN_DEFFILES" ] = "no";
     828
     829        // Others ---------------------------------------------------
    821830        else if (configCmdLine.at(i) == "-fast" )
    822831            dictionary[ "FAST" ] = "yes";
     
    18231832        desc(                      "-fpu <flags>",         "VFP type on ARM, supported options: softvfp(default) | vfpv2 | softvfp+vfpv2");
    18241833        desc("S60", "no",          "-no-s60",              "Do not compile in S60 support.");
    1825         desc("S60", "yes",         "-s60",                 "Compile with support for the S60 UI Framework\n");
     1834        desc("S60", "yes",         "-s60",                 "Compile with support for the S60 UI Framework");
     1835        desc("SYMBIAN_DEFFILES", "no",  "-no-usedeffiles",  "Disable the usage of DEF files.");
     1836        desc("SYMBIAN_DEFFILES", "yes", "-usedeffiles",     "Enable the usage of DEF files.\n");
    18261837        return true;
    18271838    }
     
    25272538    }
    25282539
    2529     if (dictionary["MULTIMEDIA"] == "yes")
     2540    if (dictionary["MULTIMEDIA"] == "yes") {
    25302541        qtConfig += "multimedia";
     2542        if (dictionary["AUDIO_BACKEND"] == "yes")
     2543            qtConfig += "audio-backend";
     2544    }
    25312545
    25322546    if (dictionary["WEBKIT"] == "yes")
     
    27452759            configStream << " no_plugin_manifest";
    27462760
     2761        if ( dictionary.contains("SYMBIAN_DEFFILES") ) {
     2762            if(dictionary["SYMBIAN_DEFFILES"] == "yes" ) {
     2763                configStream << " def_files";
     2764            } else if ( dictionary["SYMBIAN_DEFFILES"] == "no" ) {
     2765                configStream << " def_files_disabled";
     2766            }
     2767        }
    27472768        configStream << endl;
    27482769        configStream << "QT_ARCH = " << dictionary[ "ARCHITECTURE" ] << endl;
     
    27712792            configStream << "QT_LIBINFIX = " << dictionary["QT_LIBINFIX"] << endl;
    27722793
     2794        configStream << "#Qt for Symbian FPU settings" << endl;
    27732795        if(!dictionary["ARM_FPU_TYPE"].isEmpty()) {
    2774             configStream<<"QMAKE_CXXFLAGS.ARMCC += --fpu "<< dictionary["ARM_FPU_TYPE"];
     2796            configStream<<"MMP_RULES += \"ARMFPU "<< dictionary["ARM_FPU_TYPE"]<< "\"";
    27752797        }
    27762798
     
    32683290    }
    32693291
     3292    if (dictionary.contains("SYMBIAN_DEFFILES")) {
     3293        cout << "Symbian DEF files enabled..." << dictionary[ "SYMBIAN_DEFFILES" ] << endl;
     3294        if(dictionary["SYMBIAN_DEFFILES"] == "no") {
     3295            cout << "WARNING: Disabling DEF files will mean that Qt is NOT binary compatible with previous versions." << endl;
     3296            cout << "         This feature is only intended for use during development, NEVER for release builds." << endl;
     3297        }
     3298    }
     3299
    32703300    if(dictionary["ASSISTANT_WEBKIT"] == "yes")
    32713301        cout << "Using WebKit as html rendering engine in Qt Assistant." << endl;
Note: See TracChangeset for help on using the changeset viewer.