summaryrefslogtreecommitdiffstats
path: root/qmake/property.cpp
diff options
context:
space:
mode:
authormae <qt-info@nokia.com>2010-02-24 16:03:30 (GMT)
committermae <qt-info@nokia.com>2010-02-24 16:03:30 (GMT)
commit5867481c77e960a7d7b4cb3e9a7a4dffb9d68e92 (patch)
tree314e4e2f65daadec5e5faff76700d7c2c1908d1e /qmake/property.cpp
parentff92c1cd2bf5171637b51d5eb646b165d6f11ec3 (diff)
downloadQt-5867481c77e960a7d7b4cb3e9a7a4dffb9d68e92.zip
Qt-5867481c77e960a7d7b4cb3e9a7a4dffb9d68e92.tar.gz
Qt-5867481c77e960a7d7b4cb3e9a7a4dffb9d68e92.tar.bz2
Add support for qml imports directory in configure, qmake, and qmlengine
Diffstat (limited to 'qmake/property.cpp')
-rw-r--r--qmake/property.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qmake/property.cpp b/qmake/property.cpp
index cab034f..fde7c65 100644
--- a/qmake/property.cpp
+++ b/qmake/property.cpp
@@ -95,6 +95,8 @@ QMakeProperty::value(QString v, bool just_check)
return QLibraryInfo::location(QLibraryInfo::BinariesPath);
else if(v == "QT_INSTALL_PLUGINS")
return QLibraryInfo::location(QLibraryInfo::PluginsPath);
+ else if(v == "QT_INSTALL_IMPORTS")
+ return QLibraryInfo::location(QLibraryInfo::ImportsPath);
else if(v == "QT_INSTALL_TRANSLATIONS")
return QLibraryInfo::location(QLibraryInfo::TranslationsPath);
else if(v == "QT_INSTALL_CONFIGURATION")
@@ -191,6 +193,7 @@ QMakeProperty::exec()
specialProps.append("QT_INSTALL_LIBS");
specialProps.append("QT_INSTALL_BINS");
specialProps.append("QT_INSTALL_PLUGINS");
+ specialProps.append("QT_INSTALL_IMPORTS");
specialProps.append("QT_INSTALL_TRANSLATIONS");
specialProps.append("QT_INSTALL_CONFIGURATION");
specialProps.append("QT_INSTALL_EXAMPLES");