From 7b962163d416f62f862c736738dddd58c1a617bc Mon Sep 17 00:00:00 2001 From: Jason Barron Date: Thu, 20 Aug 2009 11:56:16 +0200 Subject: Add support for LIBS_PRIVATE to the Symbian generators. Qt added a new internal variable called LIBS_PRIVATE that should be added to the libraries section of the generated build file. Add this to bring us up to parity with the other platforms. Reviewed-by: Miikka Heikkinen --- qmake/generators/symbian/symmake.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qmake/generators/symbian/symmake.cpp b/qmake/generators/symbian/symmake.cpp index 4665912..c20ecf3 100644 --- a/qmake/generators/symbian/symmake.cpp +++ b/qmake/generators/symbian/symmake.cpp @@ -479,6 +479,7 @@ void SymbianMakefileGenerator::init() project->values("QMAKESPEC").append(qgetenv("QMAKESPEC")); project->values("QMAKE_LIBS") += escapeFilePaths(project->values("LIBS")); + project->values("QMAKE_LIBS_PRIVATE") += escapeFilePaths(project->values("LIBS_PRIVATE")); // bld.inf project->values("MAKEFILE") += BLD_INF_FILENAME; @@ -878,7 +879,7 @@ void SymbianMakefileGenerator::writeMmpFileIncludePart(QTextStream& t) void SymbianMakefileGenerator::writeMmpFileLibraryPart(QTextStream& t) { QStringList &libs = project->values("LIBS"); - libs << project->values("QMAKE_LIBS"); + libs << project->values("QMAKE_LIBS") << project->values("QMAKE_LIBS_PRIVATE"); removeDuplicatedStrings(libs); -- cgit v0.12