From 97c589b44677733fb2b2aa7ba521faebf3241f3b Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 15 May 2014 17:02:15 +0200 Subject: introduce Qt.quick.qmlPath property Task-number: QBS-578 Change-Id: I116987d3232a832137781d4d5ac90adf4bd7ed88 Reviewed-by: Christian Kandeler --- src/lib/qtprofilesetup/qtprofilesetup.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/lib/qtprofilesetup/qtprofilesetup.cpp') diff --git a/src/lib/qtprofilesetup/qtprofilesetup.cpp b/src/lib/qtprofilesetup/qtprofilesetup.cpp index b920d711d..d7672c9fd 100644 --- a/src/lib/qtprofilesetup/qtprofilesetup.cpp +++ b/src/lib/qtprofilesetup/qtprofilesetup.cpp @@ -326,6 +326,12 @@ static void createModules(Profile &profile, Settings *settings, << indent << "cpp.defines: " << "qmlDebugging ? base.concat('" + debugMacro + "') : base" << endl; + s << indent << "property string qmlPath"; + if (qtEnvironment.qmlPath.isEmpty()) + s << endl; + else + s << ": " << quotedPath(qtEnvironment.qmlPath) << endl; + s << indent << "property string qmlImportsPath: " << quotedPath(qtEnvironment.qmlImportPath); } -- cgit v1.2.3