summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeengine.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-04-09 06:37:48 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-04-09 06:37:48 (GMT)
commitda8dda3a3b66fed6d5da878f3b4617aa0b5f3953 (patch)
tree120401a37b5364f3fde52bcb599c3c005e9d526a /src/declarative/qml/qdeclarativeengine.cpp
parent44efb487bbd2a9e4de416d566839cdffff1d69e2 (diff)
downloadQt-da8dda3a3b66fed6d5da878f3b4617aa0b5f3953.zip
Qt-da8dda3a3b66fed6d5da878f3b4617aa0b5f3953.tar.gz
Qt-da8dda3a3b66fed6d5da878f3b4617aa0b5f3953.tar.bz2
Remove QT_VERSION checks in QML
We only support Qt 4.7 now.
Diffstat (limited to 'src/declarative/qml/qdeclarativeengine.cpp')
-rw-r--r--src/declarative/qml/qdeclarativeengine.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/declarative/qml/qdeclarativeengine.cpp b/src/declarative/qml/qdeclarativeengine.cpp
index 8905713..944abce 100644
--- a/src/declarative/qml/qdeclarativeengine.cpp
+++ b/src/declarative/qml/qdeclarativeengine.cpp
@@ -182,11 +182,9 @@ QDeclarativeEnginePrivate::QDeclarativeEnginePrivate(QDeclarativeEngine *e)
fileImportPath.append(canonicalPath);
}
}
-#if (QT_VERSION >= QT_VERSION_CHECK(4,7,0))
QString builtinPath = QLibraryInfo::location(QLibraryInfo::ImportsPath);
if (!builtinPath.isEmpty())
fileImportPath += builtinPath;
-#endif
filePluginPath += QLatin1String(".");