在 Qt 中调试 android 时缺少 dll 文件

dll file missing when debugging for android in Qt

我已经从 here (the qt-opensource-windows-x86-5.10.1.exe) 安装了 Windows 10(64 位)的 Qt。问题是当我使用 Android 套件创建 "QT Quick Application - Empty" 和 运行 时(Android for armeabi-v7a(GCC 4.9,Qt 5.10.1 for Android armv7)) 我明白了 window:

英文是这样写的:"mkdir.exe - system error. Code execution could not be continued because the file cygintl-2.dll was not found. Re-installing the app may resolve the problem".

当我单击“确定”时,我在 qt creator 的问题面板上收到消息 "error: [install_target] Error 53"。

这是编译输出:

Starting: "C:\Qt\Qt5.10.1\Tools\mingw530_32\bin\mingw32-make.exe" "INSTALL_ROOT=C:/Users/Thanasis/Documents/qt/build-map-Android_for_armeabi_v7a_GCC_4_9_Qt_5_10_1_for_Android_armv7-Debug/android-build" install
  3 [main] sh 7616 tty_list::allocate_tty: No tty allocated
Makefile:587: recipe for target 'install_target' failed
mingw32-make: *** [install_target] Error 53
18:40:52: The process "C:\Qt\Qt5.10.1\Tools\mingw530_32\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project map (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.10.1 for Android armv7))
When executing step "Copy application data"

我搜索了这个dll并从here下载了它,然后将它复制到System32文件夹中,但弹出相同的错误消息。

问题终于解决了。我关注了 this answer and installed openSSH from this link 并且成功了!!! :D