<div dir="rtl"><div dir="rtl"><div dir="ltr"><font face="arial, sans-serif">Thanks :)<br>Well, maybe once I gain the needed knowledge :)</font></div><div dir="ltr"><font face="arial, sans-serif"><br></font></div><div dir="ltr"><font face="arial, sans-serif">Now I tried it on my ArchLinux. Using NDK r19c, SDK 22&26, Qt 5.12.2, PyQt5.12.1.<br>I'm getting</font></div><div dir="ltr"><font face="monospace">/home/safa/Android/Ndk/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -c -D__ANDROID_API__=26 -target aarch64-none-linux-android -gcc-toolchain /home/safa/Android/Ndk/android-ndk-r19c/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64 -fno-limit-debug-info -DANDROID_HAS_WSTRING --sysroot=/home/safa/Android/Ndk/android-ndk-r19c/sysroot -isystem /home/safa/Android/Ndk/android-ndk-r19c/sysroot/usr/include/aarch64-linux-android -isystem /home/safa/Android/Ndk/android-ndk-r19c/sources/cxx-stl/llvm-libc++/include -isystem /home/safa/Android/Ndk/android-ndk-r19c/sources/android/support/include -isystem /home/safa/Android/Ndk/android-ndk-r19c/sources/cxx-stl/llvm-libc++abi/include -fstack-protector-strong -DANDROID -O2 -O2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -D_REENTRANT -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DPy_LIMITED_API=0x03040000 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I. -I../../../include/python3.7 -I../qpy/QtCore -I/home/safa/Qt5.12.2/5.12.2/android_arm64_v8a/include -I/home/safa/Qt5.12.2/5.12.2/android_arm64_v8a/include/QtCore -I. -I/home/safa/Qt5.12.2/5.12.2/android_arm64_v8a/mkspecs/android-clang -o qpycore_post_init.o qpycore_post_init.cpp<br>In file included from qpycore_post_init.cpp:23:<br>In file included from /home/safa/Qt5.12.2/5.12.2/android_arm64_v8a/include/QtCore/QMutex:1:<br>In file included from /home/safa/Qt5.12.2/5.12.2/android_arm64_v8a/include/QtCore/qmutex.h:43:<br>/home/safa/Qt5.12.2/5.12.2/android_arm64_v8a/include/QtCore/qglobal.h:45:12: fatal error: 'type_traits' file not found<br>#  include <type_traits><br>           ^~~~~~~~~~~~~<br>1 error generated.<br>make[1]: *** [Makefile:1027: qpycore_post_init.o] Error 1<br>make[1]: Leaving directory '/home/safa/0000-PyQt_Andoird/pyqtdeploy-2.4/demo/sysroot-android-64/build/PyQt5_gpl-5.12.1/QtCore'<br>make: *** [Makefile:53: sub-QtCore-make_first-ordered] Error 2<br>pyqtdeploy-sysroot: Execution failed: returned exit code 2<br>[safa@archlinux demo]$<br></font></div><div dir="ltr"><div>I'm pretty sure that this is about gcc/clang/c++17, but I'm using the proper versions, I suppose.</div><div><br></div><div>Thanks.</div><div dir="ltr"></div></div></div><br><div class="gmail_quote"><div dir="rtl" class="gmail_attr">‫في الخميس، 12 سبتمبر 2019 في 10:35 ص تمت كتابة ما يلي بواسطة ‪Phil Thompson‬‏ <‪<a href="mailto:phil@riverbankcomputing.com">phil@riverbankcomputing.com</a>‬‏>:‬<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 12/09/2019 09:25, Safa Alfulaij wrote:<br>
> Hi all,<br>
> I'm trying to follow the documentation of pyqtdeploy to build the demo <br>
> on<br>
> my Android device.<br>
> I'm now stuch where I get:<br>
> <br>
> D:\0000-pyQt_Android\pyqtdeploy-2.4\demo>python build-demo.py<br>
> --target=android-64 --source-dir="D:\0000-pyQt_Android\libraries"<br>
> --installed-qt-dir="C:\QtOld\5.12.3"<br>
> pyqtdeploy-sysroot: win-64 is not a supported android-64 development <br>
> host<br>
> Is it that I have to use my Linux distro to build for Android? Or am I<br>
> doing something wrong?<br>
> Using Windows 10-64bit<br>
<br>
You have to use Linux or macOS as the host. Using Windows as a host <br>
shouldn’t require too many changes, so patches welcome...<br>
<br>
Phil<br>
<br>
</blockquote></div></div>