summaryrefslogtreecommitdiff
path: root/qmake/generators/win32
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2011-01-07 07:47:12 +0100
committeraxis <qt-info@nokia.com>2011-03-04 11:43:43 +0100
commit775f98e2fe20cf381f9df3a4ff3aca3910c7d05c (patch)
tree1ff098f82013a0001ac7d077b369f12304c233fe /qmake/generators/win32
parentc9704566aa9186369bfdabd835b0f6723839310b (diff)
downloadqt4-tools-775f98e2fe20cf381f9df3a4ff3aca3910c7d05c.tar.gz
Added .lib/.dso dependency tracking to Symbian with MinGW generator.
This is just a mirror of the way the UNIX generator does it. See commits aaf189b084f52 and bdff51768dfe. RevBy: Oswald Buddenhagen
Diffstat (limited to 'qmake/generators/win32')
-rw-r--r--qmake/generators/win32/mingw_make.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/qmake/generators/win32/mingw_make.cpp b/qmake/generators/win32/mingw_make.cpp
index 006a7d5014..fc8cfa05e4 100644
--- a/qmake/generators/win32/mingw_make.cpp
+++ b/qmake/generators/win32/mingw_make.cpp
@@ -218,6 +218,12 @@ void createRvctObjectScriptFile(const QString &fileName, const QStringList &objL
void MingwMakefileGenerator::writeMingwParts(QTextStream &t)
{
+ if (!project->isEmpty("QMAKE_SYMBIAN_SHLIB")) {
+ t << "vpath %.dso " << project->values("QMAKE_LIBDIR").join(";") << endl;
+ t << "vpath %.lib " << project->values("QMAKE_LIBDIR").join(";") << endl;
+ t << "\n\n";
+ }
+
writeStandardParts(t);
if (!preCompHeaderOut.isEmpty()) {