forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/2.3'
Conflicts: qtcreator.pri src/libs/libs.pro src/plugins/debugger/watchwindow.cpp src/plugins/remotelinux/maemopackagecreationstep.h Change-Id: Ic67c46256d0060ee9845b92ef82539f6f8fbe639
This commit is contained in:
@@ -217,6 +217,13 @@ RunControl *QmlProjectRunControlFactory::createDebugRunControl(QmlProjectRunConf
|
||||
params.projectSourceDirectory = runConfig->target()->project()->projectDirectory();
|
||||
params.projectSourceFiles = runConfig->target()->project()->files(Project::ExcludeGeneratedFiles);
|
||||
|
||||
// Makes sure that all bindings go through the JavaScript engine, so that
|
||||
// breakpoints are actually hit!
|
||||
const QString optimizerKey = QLatin1String("QML_DISABLE_OPTIMIZER");
|
||||
if (!params.environment.hasKey(optimizerKey)) {
|
||||
params.environment.set(optimizerKey, QLatin1String("1"));
|
||||
}
|
||||
|
||||
if (params.executable.isEmpty()) {
|
||||
QmlProjectPlugin::showQmlObserverToolWarning();
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user