From 8d27ec664a2dbdd3a4941965dbf3883e671b7bcc Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Wed, 11 Feb 2015 10:01:56 +0100 Subject: Android: Fix debugging applications that link many modules When debugging an application we will add a few arguments to the command line for launching the application. We would do the same for every library etc. required by the modules linked to the application. At some point, the command line would become too long and fail to execute. Passing the libraries, libs_prefix, etc. on the command line is not necessary, since the parameters are already included in the AndroidManifest.xml, otherwise it would not be possible to launch the application from the device itself. Change-Id: I93a7f64a4ce32ebb2b25c54b0d17ae2b23706e24 Task-number: QTCREATORBUG-13691 Reviewed-by: Daniel Teske --- src/plugins/android/androidrunner.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/plugins/android/androidrunner.cpp b/src/plugins/android/androidrunner.cpp index 5e017f20f9..d833578a79 100644 --- a/src/plugins/android/androidrunner.cpp +++ b/src/plugins/android/androidrunner.cpp @@ -390,14 +390,6 @@ void AndroidRunner::asyncStart() args << _("-e") << _("qml_debug") << _("true"); args << _("-e") << _("qmljsdebugger") << QString::fromLatin1("port:%1,block").arg(m_qmlPort); } - if (m_useLocalQtLibs) { - args << _("-e") << _("use_local_qt_libs") << _("true"); - args << _("-e") << _("libs_prefix") << _("/data/local/tmp/qt/"); - args << _("-e") << _("load_local_libs") << m_localLibs; - args << _("-e") << _("load_local_jars") << m_localJars; - if (!m_localJarsInitClasses.isEmpty()) - args << _("-e") << _("static_init_classes") << m_localJarsInitClasses; - } QProcess adb; adb.start(m_adb, args); -- cgit v1.2.1