clean up fixTargetExt()
there doesn't appear to be a point in having the function virtual; the part in the mingw generator can be inlined somewhere else just fine. Change-Id: I50d66d505095b43fce601928c6240a684389a4b7 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
This commit is contained in:
parent
a102f1abf2
commit
b053aaa9ef
@ -290,6 +290,9 @@ void MingwMakefileGenerator::init()
|
||||
project->values("QMAKE_LFLAGS").append(QString("-Wl,") + escapeFilePath(defFileName));
|
||||
}
|
||||
|
||||
if (project->isActiveConfig("staticlib") && project->first("TEMPLATE") == "lib")
|
||||
project->values("QMAKE_LFLAGS").append("-static");
|
||||
|
||||
MakefileGenerator::init();
|
||||
|
||||
// precomp
|
||||
@ -320,14 +323,6 @@ void MingwMakefileGenerator::init()
|
||||
}
|
||||
}
|
||||
|
||||
void MingwMakefileGenerator::fixTargetExt()
|
||||
{
|
||||
if (project->isActiveConfig("staticlib") && project->first("TEMPLATE") == "lib") {
|
||||
project->values("QMAKE_LFLAGS").append("-static");
|
||||
}
|
||||
Win32MakefileGenerator::fixTargetExt();
|
||||
}
|
||||
|
||||
void MingwMakefileGenerator::writeIncPart(QTextStream &t)
|
||||
{
|
||||
t << "INCPATH = ";
|
||||
|
@ -70,7 +70,6 @@ private:
|
||||
QString preCompHeaderOut;
|
||||
|
||||
virtual bool findLibraries();
|
||||
void fixTargetExt();
|
||||
|
||||
bool init_flag;
|
||||
QString objectsLinkLine;
|
||||
|
@ -70,7 +70,7 @@ protected:
|
||||
|
||||
virtual void processPrlFiles();
|
||||
void processVars();
|
||||
virtual void fixTargetExt();
|
||||
void fixTargetExt();
|
||||
void processRcFileVar();
|
||||
void processFileTagsVar();
|
||||
virtual QString getLibTarget();
|
||||
|
Loading…
Reference in New Issue
Block a user