forked from qt-creator/qt-creator
Android: Ensure that ANDROID_NDK_ROOT is set while parsing the mkspec
Task-number: QTCREATORBUG-11821 Change-Id: Icbf8d6dd84da6ddba7d9c9e540916a804fb962f1 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
This commit is contained in:
committed by
Alessandro Portale
parent
88549467b0
commit
579da1faf1
@@ -125,6 +125,13 @@ void AndroidQtVersion::addToEnvironment(const ProjectExplorer::Kit *k, Utils::En
|
||||
AndroidConfigurations::currentConfig().bestNdkPlatformMatch(AndroidManager::buildTargetSDK(target)));
|
||||
}
|
||||
|
||||
Utils::Environment AndroidQtVersion::qmakeRunEnvironment() const
|
||||
{
|
||||
Utils::Environment env = Utils::Environment::systemEnvironment();
|
||||
env.set(QLatin1String("ANDROID_NDK_ROOT"), AndroidConfigurations::currentConfig().ndkLocation().toUserOutput());
|
||||
return env;
|
||||
}
|
||||
|
||||
QString AndroidQtVersion::description() const
|
||||
{
|
||||
//: Qt Version is meant for Android
|
||||
|
||||
Reference in New Issue
Block a user