Commit 3d06c00e authored by Tim Jenssen's avatar Tim Jenssen Committed by Marco Bubke
Browse files

QmlDesigner: use explicit build type for puppet creation



Change-Id: Ibeba1cc874ddfd083113249a408caa05e1e012a5
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent bb42157f
......@@ -194,7 +194,9 @@ bool PuppetCreator::build(const QString &qmlPuppetProjectFilePath) const
qmakeArguments.append(QStringLiteral("-r"));
qmakeArguments.append(QStringLiteral("-after"));
qmakeArguments.append(QStringLiteral("DESTDIR=") + qmlPuppetDirectory(UserSpacePuppet));
#ifndef QT_DEBUG
#ifdef QT_DEBUG
qmakeArguments.append(QStringLiteral("CONFIG+=debug"));
#else
qmakeArguments.append(QStringLiteral("CONFIG+=release"));
#endif
qmakeArguments.append(qmlPuppetProjectFilePath);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment