Use qglobal.h's VERSION number instead of hardcoded current version

Done-by: Friedemann Kleint
This commit is contained in:
Marius Storm-Olsen 2011-05-23 09:11:59 -05:00
parent c44790b03b
commit e79846298b

View File

@ -3647,7 +3647,7 @@ void Configure::buildQmake()
<< "BUILD_PATH = " << QDir::convertSeparators(buildPath) << endl
<< "SOURCE_PATH = " << QDir::convertSeparators(sourcePath) << endl;
stream << "QMAKESPEC = " << dictionary["QMAKESPEC"] << endl
<< "QT_VERSION = " << QT_VERSION_STR << endl;
<< "QT_VERSION = " << dictionary["VERSION"] << endl;
if (dictionary["EDITION"] == "OpenSource" ||
dictionary["QT_EDITION"].contains("OPENSOURCE"))