<div dir="ltr">Hello, <div><br><div>I recently started using Krita on Chromebook with USI Pen support (Acer Chromebook Spin 713). Even in Beta Krita already is the best drawing application available on Chromebook! It is a pleasure to use it with a USI Pen with pressure supported.</div><div><br></div><div><b>Problem</b> - Krita does not recognize USI Pen right click, or to be strict - Krita does not recognize right click when I touch the canvas with USI Pen having Pen button pressed (this works as right click in other apps) - hence I cannot change the drawing tool using tools wheel :(.</div><div><br></div><div><b>Potential root cause</b>: support for USI Pen buttons has been added in Android 6.0 (API 23) - <span style="background-color:unset;color:unset;font-family:"Roboto Mono",monospace;font-size:unset;font-variant-ligatures:unset;font-variant-caps:unset;font-weight:unset;letter-spacing:unset;text-align:unset;text-decoration-line:unset;text-indent:unset;text-transform:unset;word-spacing:unset"><a href="https://developer.android.com/about/versions/marshmallow/android-6.0#bluetooth-stylus">https://developer.android.com/about/versions/marshmallow/android-6.0#bluetooth-stylus</a></span>, Looks like Krita for Android(and Chromebooks) is build with Android API 21, or 22 (at least this is what I found in building instructions)</div><div><br></div><div>I tried to rebuild Krita myself to check if the statement above is correct. I am new to building KDE applications and I failed :(. I was able to build Krita for Linux fine, by following instructions from <a href="https://docs.krita.org/en/untranslatable_pages/building_krita.html#building-on-linux">https://docs.krita.org/en/untranslatable_pages/building_krita.html#building-on-linux</a>, but failed to build Krita for Android following <a href="https://docs.krita.org/en/untranslatable_pages/building_krita.html#building-on-android">https://docs.krita.org/en/untranslatable_pages/building_krita.html#building-on-android</a></div><div>It stopped while building few kf5 components due to QT versions mismatch:<br></div><div>{code}</div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">CMake Error at CMakeLists.txt:15 (find_package):
</span><br>Could not find a configuration file for package "Qt5" that is compatible
<br>with requested version "5.14.0".
<br>
<br>The following configuration files were considered but not accepted:
<br>
<br>/home/appimage/build/i/lib/cmake/Qt5/Qt5Config.cmake, version: 5.12.9<br></span></div><div>{code}</div><div>I used "git clone / git checkout tags/4.4.1" to get sources. I faced the same problem while I was trying to use Docker container for building as described at: <a href="https://docs.krita.org/en/untranslatable_pages/building/build_krita_with_docker_on_linux.html">https://docs.krita.org/en/untranslatable_pages/building/build_krita_with_docker_on_linux.html</a></div><div><br></div><div><b>Questions</b>:</div><div>- Can someone confirm why USI Pen right click does not work? Is the too low Android API level a reasonable root cause? </div><div>- Is there a different instruction I can follow to rebuild Krita for Android? </div><div><br></div><div>regards, Rafał</div><div><br></div><div><br></div></div></div>