Qt-为 UWP 构建项目

Qt-Building a project for UWP

我的电脑上有 windows 10(64 位)和 Qt 5.7(32 位)和 Visual Studio 2015。 我通过 Qt 在线安装程序从 Qt 5.9 安装了 UWP arm7(MSVC2015)、UWP X86(MSVC2015) 和 UWP X64(MSVC2015)。 我可以 运行 在具有 windows 7、8、10 的任何计算机上进行项目。 但是我在为 UWP 构建相同项目时出错。 编译输出: 错误:QT 中的未知模块:serialport

Qt Serial Port 模块 doesn't support Qt's WinRT platform.

为了阐明 WinRT 如何与 Windows 10 UWP、Qt 的 WinRT platform targets devices running Windows 10 以及 Windows Phone 8.1 和 Windows RT 相关。