Merge remote-tracking branch 'origin/2.7' into 2.8

Conflicts:
	src/plugins/android/androiddebugsupport.cpp
	src/plugins/qtsupport/qtsupport.qbs

Change-Id: I0953ca21a9db05084a79b8a6019189ea982df0b1
This commit is contained in:
Eike Ziller
2013-05-27 17:17:40 +02:00
22 changed files with 27 additions and 24 deletions

View File

@@ -160,7 +160,7 @@ Project {
} }
} }
ProductModule { Export {
Depends { name: "cpp" } Depends { name: "cpp" }
cpp.includePaths: product.buildDirectory cpp.includePaths: product.buildDirectory
} }

View File

@@ -18,7 +18,7 @@ DynamicLibrary {
: ["$ORIGIN", "$ORIGIN/.."] : ["$ORIGIN", "$ORIGIN/.."]
cpp.includePaths: [ ".", ".." ] cpp.includePaths: [ ".", ".." ]
ProductModule { Export {
Depends { name: "cpp" } Depends { name: "cpp" }
cpp.includePaths: [ "." ] cpp.includePaths: [ "." ]
} }

View File

@@ -168,7 +168,7 @@ QtcLibrary {
"images/var_prot.png", "images/var_prot.png",
] ]
ProductModule { Export {
Depends { name: "cpp" } Depends { name: "cpp" }
cpp.includePaths: [ cpp.includePaths: [
"../3rdparty" "../3rdparty"

View File

@@ -106,7 +106,7 @@ QtcLibrary {
"iscriptevaluator.h" "iscriptevaluator.h"
] ]
ProductModule { Export {
Depends { name: "cpp" } Depends { name: "cpp" }
Depends { name: "LanguageUtils" } Depends { name: "LanguageUtils" }
} }

View File

@@ -114,7 +114,7 @@ QtcLibrary {
] ]
} }
ProductModule { Export {
Depends { name: "Qt"; submodules: ["widgets", "network"] } Depends { name: "Qt"; submodules: ["widgets", "network"] }
} }
} }

View File

@@ -211,8 +211,8 @@ QtcLibrary {
] ]
} }
ProductModule { Export {
// ### [ remove, once qbs supports merging of ProductModule items in derived products // ### [ remove, once qbs supports merging of Export items in derived products
Depends { name: "cpp" } Depends { name: "cpp" }
cpp.includePaths: [ ".." ] cpp.includePaths: [ ".." ]
// ### ] // ### ]

View File

@@ -50,7 +50,7 @@ Product {
qbs.installDir: project.ide_plugin_path + "/" + provider qbs.installDir: project.ide_plugin_path + "/" + provider
} }
ProductModule { Export {
Depends { name: "ExtensionSystem" } Depends { name: "ExtensionSystem" }
} }
} }

View File

@@ -44,7 +44,7 @@ QtcPlugin {
"images/analyzer_start_small.png", "images/analyzer_start_small.png",
] ]
ProductModule { Export {
Depends { name: "CPlusPlus" } Depends { name: "CPlusPlus" }
} }
} }

View File

@@ -112,7 +112,8 @@ RunControl *AndroidDebugSupport::createDebugRunControl(AndroidRunConfiguration *
QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(kit); QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(kit);
params.solibSearchPath.append(qtSoPaths(version)); params.solibSearchPath.append(qtSoPaths(version));
} }
if (aspect->useQmlDebugger()) { // FIX ME: Enable Qml Debugging in 2.8
if (aspect->useQmlDebugger() && false) {
params.languages |= QmlLanguage; params.languages |= QmlLanguage;
QTcpServer server; QTcpServer server;
QTC_ASSERT(server.listen(QHostAddress::LocalHost) QTC_ASSERT(server.listen(QHostAddress::LocalHost)

View File

@@ -254,7 +254,7 @@ QtcPlugin {
] ]
} }
ProductModule { Export {
Depends { name: "cpp" } Depends { name: "cpp" }
Depends { name: "Aggregation" } Depends { name: "Aggregation" }
Depends { name: "Utils" } Depends { name: "Utils" }

View File

@@ -123,7 +123,7 @@ QtcPlugin {
cpp.defines: outer.concat(['SRCDIR="' + FileInfo.path(filePath) + '"']) cpp.defines: outer.concat(['SRCDIR="' + FileInfo.path(filePath) + '"'])
} }
ProductModule { Export {
Depends { name: "CPlusPlus" } Depends { name: "CPlusPlus" }
} }
} }

View File

@@ -303,7 +303,7 @@ QtcPlugin {
] ]
} }
ProductModule { Export {
Depends { name: "cpp" } Depends { name: "cpp" }
Depends { name: "QtcSsh" } Depends { name: "QtcSsh" }
cpp.includePaths: ["."] cpp.includePaths: ["."]

View File

@@ -667,7 +667,9 @@ bool fillParameters(DebuggerStartParameters *sp, const Kit *kit, QString *errorM
IDevice::ConstPtr device = DeviceKitInformation::device(kit); IDevice::ConstPtr device = DeviceKitInformation::device(kit);
if (device) { if (device) {
sp->connParams = device->sshParameters(); sp->connParams = device->sshParameters();
sp->remoteChannel = sp->connParams.host + QLatin1Char(':') + QString::number(sp->connParams.port); // Could have been set from command line.
if (sp->remoteChannel.isEmpty())
sp->remoteChannel = sp->connParams.host + QLatin1Char(':') + QString::number(sp->connParams.port);
} }
return true; return true;
} }

View File

@@ -444,8 +444,8 @@ static bool fixupEngineTypes(DebuggerStartParameters &sp, RunConfiguration *rc,
if (const Target *target = rc->target()) if (const Target *target = rc->target())
if (!fillParameters(&sp, target->kit(), errorMessage)) if (!fillParameters(&sp, target->kit(), errorMessage))
return false; return false;
const bool useCppDebugger = aspect->useCppDebugger(); const bool useCppDebugger = aspect->useCppDebugger() && (sp.languages & CppLanguage);
const bool useQmlDebugger = aspect->useQmlDebugger(); const bool useQmlDebugger = aspect->useQmlDebugger() && (sp.languages & QmlLanguage);
if (useQmlDebugger) { if (useQmlDebugger) {
if (useCppDebugger) { if (useCppDebugger) {
sp.masterEngineType = QmlCppEngineType; sp.masterEngineType = QmlCppEngineType;

View File

@@ -289,6 +289,7 @@ int AttachCoreDialog::exec()
{ {
connect(d->selectRemoteCoreButton, SIGNAL(clicked()), SLOT(selectRemoteCoreFile())); connect(d->selectRemoteCoreButton, SIGNAL(clicked()), SLOT(selectRemoteCoreFile()));
connect(d->remoteCoreFileName, SIGNAL(textChanged(QString)), SLOT(changed())); connect(d->remoteCoreFileName, SIGNAL(textChanged(QString)), SLOT(changed()));
connect(d->localExecFileName, SIGNAL(changed(QString)), SLOT(changed()));
connect(d->localCoreFileName, SIGNAL(changed(QString)), SLOT(changed())); connect(d->localCoreFileName, SIGNAL(changed(QString)), SLOT(changed()));
connect(d->forceLocalCheckBox, SIGNAL(stateChanged(int)), SLOT(changed())); connect(d->forceLocalCheckBox, SIGNAL(stateChanged(int)), SLOT(changed()));
connect(d->kitChooser, SIGNAL(activated(int)), SLOT(changed())); connect(d->kitChooser, SIGNAL(activated(int)), SLOT(changed()));

View File

@@ -354,7 +354,7 @@ QtcPlugin {
files: ["outputparser_test.h", "outputparser_test.cpp"] files: ["outputparser_test.h", "outputparser_test.cpp"]
} }
ProductModule { Export {
Depends { name: "Qt.network" } Depends { name: "Qt.network" }
} }
} }

View File

@@ -793,7 +793,7 @@ bool TextToModelMerger::load(const QString &data, DifferenceHandler &differenceH
return false; return false;
} }
if (!warnings.isEmpty() && differenceHandler.isValidator()) { if (!warnings.isEmpty() && differenceHandler.isValidator() && !m_rewriterView->inErrorState()) {
QString title = QCoreApplication::translate("QmlDesigner::TextToModelMerger", "This .qml file contains features " QString title = QCoreApplication::translate("QmlDesigner::TextToModelMerger", "This .qml file contains features "
"which are not supported by Qt Quick Designer"); "which are not supported by Qt Quick Designer");

View File

@@ -85,7 +85,7 @@ QtcPlugin {
"images/qmlfile.png", "images/qmlfile.png",
] ]
ProductModule { Export {
Depends { name: "QmlJSTools" } Depends { name: "QmlJSTools" }
} }
} }

View File

@@ -78,7 +78,7 @@ QtcPlugin {
files: ["qmljstools_test.cpp"] files: ["qmljstools_test.cpp"]
} }
ProductModule { Export {
Depends { name: "CppTools" } Depends { name: "CppTools" }
Depends { name: "QmlDebug" } Depends { name: "QmlDebug" }
} }

View File

@@ -109,8 +109,7 @@ QtcPlugin {
"QtSupport.mimetypes.xml", "QtSupport.mimetypes.xml",
] ]
Export {
ProductModule {
Depends { name: "cpp" } Depends { name: "cpp" }
cpp.includePaths: "../../shared" cpp.includePaths: "../../shared"
cpp.defines: [ cpp.defines: [

View File

@@ -113,7 +113,7 @@ QtcPlugin {
"images/embeddedtarget.png", "images/embeddedtarget.png",
] ]
ProductModule { Export {
Depends { name: "Core" } Depends { name: "Core" }
Depends { name: "QtcSsh" } Depends { name: "QtcSsh" }
} }

View File

@@ -268,7 +268,7 @@ QtcPlugin {
] ]
} }
ProductModule { Export {
Depends { name: "Find" } Depends { name: "Find" }
Depends { name: "Locator" } Depends { name: "Locator" }
} }