qmake/generators/mac/pbuilder_pbx.cpp
changeset 30 5dc02b23752f
parent 18 2f34d5167611
child 33 3e2da88830cd
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
   527                 generatePrint(fileInfo(mkf.fileName()).absoluteFilePath());
   527                 generatePrint(fileInfo(mkf.fileName()).absoluteFilePath());
   528             }
   528             }
   529             debug_msg(1, "pbuilder: Creating file: %s", mkfile.toLatin1().constData());
   529             debug_msg(1, "pbuilder: Creating file: %s", mkfile.toLatin1().constData());
   530             QTextStream mkt(&mkf);
   530             QTextStream mkt(&mkf);
   531             writeHeader(mkt);
   531             writeHeader(mkt);
   532             mkt << "QMAKE    = "        << (project->isEmpty("QMAKE_QMAKE") ?
   532             mkt << "QMAKE    = " << var("QMAKE_QMAKE") << endl;
   533                                             QString((QLibraryInfo::location(QLibraryInfo::BinariesPath) + "/qmake")) :
       
   534                                             var("QMAKE_QMAKE")) << endl;
       
   535             writeMakeQmake(mkt);
   533             writeMakeQmake(mkt);
   536             mkt.flush();
   534             mkt.flush();
   537             mkf.close();
   535             mkf.close();
   538             writingUnixMakefileGenerator = false;
   536             writingUnixMakefileGenerator = false;
   539         }
   537         }