diff options
author | Maurice Kalinowski <maurice.kalinowski@nokia.com> | 2009-04-08 10:47:47 (GMT) |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@nokia.com> | 2009-04-08 10:49:09 (GMT) |
commit | 3b5f04843c9ab5e0ccce7f4aa8a73d45c9021c35 (patch) | |
tree | 5d49a8781ce1828b243bdc3251436e8ab784f3cc /tools/configure/configureapp.cpp | |
parent | be3b8acbd311b9cbeaa7c87b4f34b2e33b4a7fa3 (diff) | |
download | Qt-3b5f04843c9ab5e0ccce7f4aa8a73d45c9021c35.zip Qt-3b5f04843c9ab5e0ccce7f4aa8a73d45c9021c35.tar.gz Qt-3b5f04843c9ab5e0ccce7f4aa8a73d45c9021c35.tar.bz2 |
update/fix configure
Reviewed-by: Thiago
- display the nokia internal usage text like on configure
- instead of skipping the license check we need to actually call it to
set QT_EDITION and friends properly. Otherwise the build gets broken.
Diffstat (limited to 'tools/configure/configureapp.cpp')
-rw-r--r-- | tools/configure/configureapp.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index 5e77606..bcbf557 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -474,6 +474,9 @@ void Configure::parseCmdLine() else if( configCmdLine.at(i) == "-developer-build" ) dictionary[ "BUILDDEV" ] = "yes"; else if( configCmdLine.at(i) == "-nokia-developer" ) { + cout << "Detected -nokia-developer option" << endl; + cout << "Nokia employees and agents are allowed to use this software under" << endl; + cout << "the authority of Nokia Corporation and/or its subsidiary(-ies)" << endl; dictionary[ "BUILDNOKIA" ] = "yes"; dictionary[ "BUILDDEV" ] = "yes"; dictionary["LICENSE_CONFIRMED"] = "yes"; @@ -3511,9 +3514,8 @@ void Configure::readLicense() } #else } else { - if (dictionary[ "BUILDNOKIA" ] != "yes") - Tools::checkLicense(dictionary, licenseInfo, firstLicensePath()); - if (dictionary["DONE"] != "error") { + Tools::checkLicense(dictionary, licenseInfo, firstLicensePath()); + if (dictionary["DONE"] != "error" && dictionary["BUILDNOKIA"] != "yes") { // give the user some feedback, and prompt for license acceptance cout << endl << "This is the " << dictionary["PLATFORM NAME"] << " " << dictionary["EDITION"] << " Edition."<< endl << endl; if (!showLicense(dictionary["LICENSE FILE"])) { |