Changeset 651 for trunk/tools/configure/configureapp.cpp
- Timestamp:
- Mar 8, 2010, 12:52:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.2 (added) merged: 650 /branches/vendor/nokia/qt/current merged: 649 /branches/vendor/nokia/qt/4.6.1 removed
- Property svn:mergeinfo changed
-
trunk/tools/configure/configureapp.cpp
r561 r651 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 20 09Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 318 318 dictionary[ "DBUS" ] = "auto"; 319 319 dictionary[ "S60" ] = "yes"; 320 dictionary[ "SYMBIAN_DEFFILES" ] = "yes"; 320 321 321 322 dictionary[ "STYLE_WINDOWS" ] = "yes"; … … 483 484 dictionary[ "BUILDDEV" ] = "yes"; 484 485 dictionary["LICENSE_CONFIRMED"] = "yes"; 486 if (dictionary.contains("XQMAKESPEC") && dictionary["XQMAKESPEC"].startsWith("symbian")) { 487 dictionary[ "SYMBIAN_DEFFILES" ] = "no"; 488 } 485 489 } 486 490 else if( configCmdLine.at(i) == "-opensource" ) { … … 804 808 dictionary[ "NATIVE_GESTURES" ] = "no"; 805 809 #if !defined(EVAL) 806 // Others ---------------------------------------------------810 // Symbian Support ------------------------------------------- 807 811 else if (configCmdLine.at(i) == "-fpu" ) 808 812 { … … 813 817 } 814 818 815 // S60 Support -------------------------------------------816 819 else if( configCmdLine.at(i) == "-s60" ) 817 820 dictionary[ "S60" ] = "yes"; … … 819 822 dictionary[ "S60" ] = "no"; 820 823 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 --------------------------------------------------- 821 830 else if (configCmdLine.at(i) == "-fast" ) 822 831 dictionary[ "FAST" ] = "yes"; … … 1823 1832 desc( "-fpu <flags>", "VFP type on ARM, supported options: softvfp(default) | vfpv2 | softvfp+vfpv2"); 1824 1833 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"); 1826 1837 return true; 1827 1838 } … … 2527 2538 } 2528 2539 2529 if (dictionary["MULTIMEDIA"] == "yes") 2540 if (dictionary["MULTIMEDIA"] == "yes") { 2530 2541 qtConfig += "multimedia"; 2542 if (dictionary["AUDIO_BACKEND"] == "yes") 2543 qtConfig += "audio-backend"; 2544 } 2531 2545 2532 2546 if (dictionary["WEBKIT"] == "yes") … … 2745 2759 configStream << " no_plugin_manifest"; 2746 2760 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 } 2747 2768 configStream << endl; 2748 2769 configStream << "QT_ARCH = " << dictionary[ "ARCHITECTURE" ] << endl; … … 2771 2792 configStream << "QT_LIBINFIX = " << dictionary["QT_LIBINFIX"] << endl; 2772 2793 2794 configStream << "#Qt for Symbian FPU settings" << endl; 2773 2795 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"]<< "\""; 2775 2797 } 2776 2798 … … 3268 3290 } 3269 3291 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 3270 3300 if(dictionary["ASSISTANT_WEBKIT"] == "yes") 3271 3301 cout << "Using WebKit as html rendering engine in Qt Assistant." << endl;
Note:
See TracChangeset
for help on using the changeset viewer.