purge unused VcprojGenerator::findTemplate()
it looked fishy for years. now i know why. ;) Change-Id: I822cadecaf8d914f383f9f907b92507852e434b4
This commit is contained in:
parent
b35d8e651b
commit
ab0d55e361
@ -1577,22 +1577,6 @@ QString VcprojGenerator::fixFilename(QString ofile) const
|
|||||||
return ofile;
|
return ofile;
|
||||||
}
|
}
|
||||||
|
|
||||||
QString VcprojGenerator::findTemplate(QString file)
|
|
||||||
{
|
|
||||||
QString ret;
|
|
||||||
if(!exists((ret = file)) &&
|
|
||||||
!exists((ret = QString((project->isHostBuild()
|
|
||||||
? Option::mkfile::qmakespec : Option::mkfile::xqmakespec) + '/' + file))) &&
|
|
||||||
!exists((ret = QString(QLibraryInfo::location(QLibraryInfo::HostDataPath) + "/win32-msvc.net/" + file))) &&
|
|
||||||
!exists((ret = QString(QLibraryInfo::location(QLibraryInfo::HostDataPath) + "/win32-msvc2002/" + file))) &&
|
|
||||||
!exists((ret = QString(QLibraryInfo::location(QLibraryInfo::HostDataPath) + "/win32-msvc2003/" + file))) &&
|
|
||||||
!exists((ret = QString(QLibraryInfo::location(QLibraryInfo::HostDataPath) + "/win32-msvc2005/" + file))) &&
|
|
||||||
!exists((ret = QString(QLibraryInfo::location(QLibraryInfo::HostDataPath) + "/win32-msvc2008/" + file))))
|
|
||||||
return "";
|
|
||||||
debug_msg(1, "Generator: MSVC.NET: Found template \'%s\'", ret.toLatin1().constData());
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
void VcprojGenerator::outputVariables()
|
void VcprojGenerator::outputVariables()
|
||||||
{
|
{
|
||||||
#if 0
|
#if 0
|
||||||
|
@ -63,7 +63,6 @@ class VcprojGenerator : public Win32MakefileGenerator
|
|||||||
bool writeMakefile(QTextStream &);
|
bool writeMakefile(QTextStream &);
|
||||||
bool writeProjectMakefile();
|
bool writeProjectMakefile();
|
||||||
|
|
||||||
QString findTemplate(QString file);
|
|
||||||
void init();
|
void init();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user