Changeset 846 for trunk/tools/configure/tools.cpp
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/tools/configure/tools.cpp
r769 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 92 92 if ( components.size() >= 2 ) { 93 93 QStringList::Iterator it = components.begin(); 94 QString key = (*it++).trimmed().re place( "\"", QString()).toUpper();95 QString value = (*it++).trimmed().re place( "\"", QString());94 QString key = (*it++).trimmed().re).toUpper(); 95 QString value = (*it++).trimmed().re); 96 96 licenseInfo[ key ] = value; 97 97 } … … 112 112 QString licenseKey = licenseInfo["LICENSEKEYEXT"]; 113 113 QByteArray clicenseKey = licenseKey.toLatin1(); 114 //We check the licen ce114 //We check the licene 115 115 static const char * const SEP = "-"; 116 116 char *licenseParts[NUMBER_OF_PARTS]; … … 219 219 if (QFile::exists(dictionary["QT_SOURCE_TREE"] + "/.LICENSE")) { 220 220 // Generic, no-suffix license 221 dictionary["LICENSE_EXTENSION"] = QString();221 dictionary["LICENSE_EXTENSION"](); 222 222 } else if (dictionary["LICENSE_EXTENSION"].isEmpty()) { 223 223 cout << "License file does not contain proper license key." << endl; … … 240 240 241 241 if (!CopyFile((wchar_t*)QDir::toNativeSeparators(fromLicenseFile).utf16(), 242 (wchar_t*)QDir::toNativeSeparators(toLicenseFile).utf16(), FALSE)) {242 (wchar_t*)QDir::toNativeSeparators(toLicenseFile).utf16(), )) { 243 243 cout << "Failed to copy license file (" << fromLicenseFile << ")"; 244 244 dictionary["DONE"] = "error";
Note:
See TracChangeset
for help on using the changeset viewer.