<div class="mod-content">
<div id="description-val" class="field-ignore-highlight">
<div class="user-content-block">
<p>Hello,</p>
<p> </p>
<p>it seems to me there's a minor bug in pyqtdeploy-2.2/pyqtdeploy/sysroot/sysroot.py. Line 231, instead of :<br />  toolchain_version = os.environ.get('ANDROID_NDK_TOOLCHAIN_VERSION')<br /> if toolchain_version is None:<br /> sysroot.error(<br /> "the ANDROID_NDK_TOOLCHAIN_VERSION environment variable "<br /> "must be set to an appropriate value (e.g. '4.9')")<br />  <br /> we should read:<br />  <br />  toolchain_version = os.environ.get('ANDROID_NDK_TOOLCHAIN_VERSION')<br /> if toolchain_version is None:<br /> self.error(<br /> "the ANDROID_NDK_TOOLCHAIN_VERSION environment variable "<br /> "must be set to an appropriate value (e.g. '4.9')")<br />  </p>
<p>... in order to avoid the NameError I got. In this file every call to .error() but this line is written self.error() .</p>
<p> </p>
<p>suizokukan (Xavier Faure)</p>
<p> </p>
</div>
</div>
</div>