forked from qt-creator/qt-creator
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 <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -178,7 +178,7 @@ QStringList QMakeStep::deducedArguments()
|
|||||||
|
|
||||||
QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(target()->kit());
|
QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(target()->kit());
|
||||||
arguments << QmakeBuildConfiguration::deduceArgumentsForTargetAbi(targetAbi, version);
|
arguments << QmakeBuildConfiguration::deduceArgumentsForTargetAbi(targetAbi, version);
|
||||||
if (linkQmlDebuggingLibrary() && version && !useQtQuickCompiler()) {
|
if (linkQmlDebuggingLibrary() && version) {
|
||||||
arguments << QLatin1String(Constants::QMAKEVAR_QUICK1_DEBUG);
|
arguments << QLatin1String(Constants::QMAKEVAR_QUICK1_DEBUG);
|
||||||
if (version->qtVersion().majorVersion >= 5)
|
if (version->qtVersion().majorVersion >= 5)
|
||||||
arguments << QLatin1String(Constants::QMAKEVAR_QUICK2_DEBUG);
|
arguments << QLatin1String(Constants::QMAKEVAR_QUICK2_DEBUG);
|
||||||
|
Reference in New Issue
Block a user