remove pointless variables
Change-Id: Ia4cd2292bdea49c198ee1429ab4d3f87697c3ed1 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>bb10
parent
6e2d7a612b
commit
9f681e7a50
|
|
@ -3958,15 +3958,11 @@ void Configure::generateMakefiles()
|
|||
|
||||
QString pwd = QDir::currentPath();
|
||||
{
|
||||
QString dirName;
|
||||
bool generate = true;
|
||||
bool doDsp = (dictionary["VCPROJFILES"] == "yes"
|
||||
&& dictionary["PROCESS"] == "full");
|
||||
while (generate) {
|
||||
QString pwd = QDir::currentPath();
|
||||
QString dirPath = buildPath + dirName;
|
||||
QStringList args;
|
||||
|
||||
args << buildPath + "/bin/qmake";
|
||||
|
||||
if (doDsp) {
|
||||
|
|
@ -3985,7 +3981,7 @@ void Configure::generateMakefiles()
|
|||
args << "-o";
|
||||
args << buildPath;
|
||||
|
||||
QDir::setCurrent(dirPath);
|
||||
QDir::setCurrent(buildPath);
|
||||
if (int exitCode = Environment::execute(args, QStringList(), QStringList())) {
|
||||
cout << "Qmake failed, return code " << exitCode << endl << endl;
|
||||
dictionary[ "DONE" ] = "error";
|
||||
|
|
|
|||
Loading…
Reference in New Issue