Android: Log Qt live apk path and few more code paths

Change-Id: Id743db4865b399c619c04fc393540758352c60e1
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Vikas Pachdha
2018-07-17 13:58:50 +02:00
parent 6fa2901173
commit b8da47af9c
5 changed files with 28 additions and 3 deletions

View File

@@ -34,9 +34,14 @@
#include <utils/url.h>
#include <QCoreApplication>
#include <QLoggingCategory>
using namespace ProjectExplorer;
namespace {
Q_LOGGING_CATEGORY(androidDeviceLog, "qtc.android.build.androiddevice")
}
namespace Android {
namespace Internal {
@@ -51,6 +56,8 @@ AndroidDevice::AndroidDevice()
QString activityPath;
const AndroidConfig &config = AndroidConfigurations::currentConfig();
AndroidManager::apkInfo(config.qtLiveApkPath(), nullptr, nullptr, &activityPath);
qCDebug(androidDeviceLog) << "Using Qt live apk from: " << config.qtLiveApkPath()
<< "Activity Path:" << activityPath;
setQmlsceneCommand(activityPath);
}