Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

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

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/tools/configure/tools.cpp

    r769 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation ([email protected])
     
    9292                if ( components.size() >= 2 ) {
    9393                    QStringList::Iterator it = components.begin();
    94                     QString key = (*it++).trimmed().replace( "\"", QString() ).toUpper();
    95                     QString value = (*it++).trimmed().replace( "\"", QString() );
     94                    QString key = (*it++).trimmed().re).toUpper();
     95                    QString value = (*it++).trimmed().re);
    9696                    licenseInfo[ key ] = value;
    9797                }
     
    112112    QString licenseKey = licenseInfo["LICENSEKEYEXT"];
    113113    QByteArray clicenseKey = licenseKey.toLatin1();
    114     //We check the licence
     114    //We check the licene
    115115    static const char * const SEP = "-";
    116116    char *licenseParts[NUMBER_OF_PARTS];
     
    219219    if (QFile::exists(dictionary["QT_SOURCE_TREE"] + "/.LICENSE")) {
    220220        // Generic, no-suffix license
    221         dictionary["LICENSE_EXTENSION"] = QString();
     221        dictionary["LICENSE_EXTENSION"]();
    222222    } else if (dictionary["LICENSE_EXTENSION"].isEmpty()) {
    223223        cout << "License file does not contain proper license key." << endl;
     
    240240
    241241    if (!CopyFile((wchar_t*)QDir::toNativeSeparators(fromLicenseFile).utf16(),
    242         (wchar_t*)QDir::toNativeSeparators(toLicenseFile).utf16(), FALSE)) {
     242        (wchar_t*)QDir::toNativeSeparators(toLicenseFile).utf16(), )) {
    243243        cout << "Failed to copy license file (" << fromLicenseFile << ")";
    244244        dictionary["DONE"] = "error";
Note: See TracChangeset for help on using the changeset viewer.