From f347b9e38b8f51f4eee152f718fa80011e245249 Mon Sep 17 00:00:00 2001
From: Tobias Hunger <tobias.hunger@nokia.com>
Date: Mon, 13 Sep 2010 17:05:08 +0200
Subject: [PATCH] Set variable to force RVCT version for Symbian

Set the variable to force the RVCT version when building for
Symbian using SBSv2. This is currently hardcoded to version 2.2
since we do not yet support RVCT 4.
---
 src/plugins/qt4projectmanager/qt-s60/rvcttoolchain.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/plugins/qt4projectmanager/qt-s60/rvcttoolchain.cpp b/src/plugins/qt4projectmanager/qt-s60/rvcttoolchain.cpp
index e2ca351419d..4340d7b9270 100644
--- a/src/plugins/qt4projectmanager/qt-s60/rvcttoolchain.cpp
+++ b/src/plugins/qt4projectmanager/qt-s60/rvcttoolchain.cpp
@@ -261,6 +261,8 @@ void RVCTToolChain::addToEnvironment(ProjectExplorer::Environment &env)
         m_mixin.addEpocToEnvironment(&env);
         break;
     }
+    // we currently support RVCT v2.2 only:
+    env.set(QLatin1String("QT_RVCT_VERSION"), QLatin1String("2.2"));
 }
 
 QString RVCTToolChain::makeCommand() const
-- 
GitLab