From a316948868d6f2d11a5c265a177a9bec76659976 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Thu, 19 Feb 2015 17:20:27 +0100 Subject: [PATCH] Don't artificially prevent QML profiling The QtQuick compiler should not prevent QML profiling. However, in this case it does prevent the QML debug options from getting added to the qmake command line. This effectively prevents QML profiling. Change-Id: I533d1bd3f9cc6e41bd42f285c32127286b20d85b Reviewed-by: Eike Ziller --- src/plugins/qmakeprojectmanager/qmakestep.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmakeprojectmanager/qmakestep.cpp b/src/plugins/qmakeprojectmanager/qmakestep.cpp index 17b28225caf..6292262ca90 100644 --- a/src/plugins/qmakeprojectmanager/qmakestep.cpp +++ b/src/plugins/qmakeprojectmanager/qmakestep.cpp @@ -178,7 +178,7 @@ QStringList QMakeStep::deducedArguments() QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(target()->kit()); arguments << QmakeBuildConfiguration::deduceArgumentsForTargetAbi(targetAbi, version); - if (linkQmlDebuggingLibrary() && version && !useQtQuickCompiler()) { + if (linkQmlDebuggingLibrary() && version) { arguments << QLatin1String(Constants::QMAKEVAR_QUICK1_DEBUG); if (version->qtVersion().majorVersion >= 5) arguments << QLatin1String(Constants::QMAKEVAR_QUICK2_DEBUG);