summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2010-04-08 10:51:38 (GMT)
committerKai Koehne <kai.koehne@nokia.com>2010-04-08 11:30:05 (GMT)
commit3d320b5a2659022cd9b487d3685fd19bcc4d598c (patch)
treec7266502df7c4e25e6df2fb8899506d5f01d9d05 /src/corelib
parent5eb8e749bdd60ce93737b96f8f736796dfa77281 (diff)
downloadQt-3d320b5a2659022cd9b487d3685fd19bcc4d598c.zip
Qt-3d320b5a2659022cd9b487d3685fd19bcc4d598c.tar.gz
Qt-3d320b5a2659022cd9b487d3685fd19bcc4d598c.tar.bz2
Enable setting the imports directory via qt.conf
Task-number: QTBUG-9701
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/global/qlibraryinfo.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
index 9490225..3515777 100644
--- a/src/corelib/global/qlibraryinfo.cpp
+++ b/src/corelib/global/qlibraryinfo.cpp
@@ -329,6 +329,10 @@ QLibraryInfo::location(LibraryLocation loc)
key = QLatin1String("Plugins");
defaultValue = QLatin1String("plugins");
break;
+ case ImportsPath:
+ key = QLatin1String("Imports");
+ defaultValue = QLatin1String("imports");
+ break;
case DataPath:
key = QLatin1String("Data");
break;