summaryrefslogtreecommitdiffstats
path: root/tools/configure/environment.cpp
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-02-10 20:30:24 (GMT)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-02-18 16:34:25 (GMT)
commit35f7b0803ea9f43981370aff0da4f4d06c248396 (patch)
tree7cb909239f721f6ebcb77535cfa05de1c52fa55a /tools/configure/environment.cpp
parentea34fbde76a0407dc4a9bb9f4a3140c4764ca6ba (diff)
downloadQt-35f7b0803ea9f43981370aff0da4f4d06c248396.zip
Qt-35f7b0803ea9f43981370aff0da4f4d06c248396.tar.gz
Qt-35f7b0803ea9f43981370aff0da4f4d06c248396.tar.bz2
Added implementation of epocRoot() function to configure
Exposing epocRoot() to the configure application allows it to determine the location of the currently active Symbian SDK, so that support for optional SDK features can be checked. Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'tools/configure/environment.cpp')
-rw-r--r--tools/configure/environment.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/configure/environment.cpp b/tools/configure/environment.cpp
index da86f5d..e93f9a0 100644
--- a/tools/configure/environment.cpp
+++ b/tools/configure/environment.cpp
@@ -60,6 +60,7 @@ using namespace std;
#include <qt_windows.h>
#endif
+#include <symbian/epocroot.h> // from tools/shared
#include <windows/registry.h> // from tools/shared
QT_BEGIN_NAMESPACE
@@ -460,4 +461,10 @@ bool Environment::rmdir(const QString &name)
return result;
}
+QString Environment::symbianEpocRoot()
+{
+ // Call function defined in tools/shared/symbian/epocroot.h
+ return ::epocRoot();
+}
+
QT_END_NAMESPACE