Target: Determine working way to publish Qt5 application in Windows 10 Store both for Windows 10 Desktop and Mobile device families.
Issue: Qt5 WinRT provides separate Qt builds for x86, x64 and armv7 platforms, where each build can auto-generate Visual Studio solution only for specific platform (qmake.exe -tp vc YourProject.pro). So it's possible to have separate .appxupload bundles (generated by Visual Studio) for x86 and armv7, but it's not possible to publish both of them in the Windows Store at the same time.
Additional info: On publishing of C# UWP application Visual Studio creates separate appx packages for all selected platforms(x86, x64, arm) and puts them into the one .appxupload package to be uploaded to the Windows 10 Store. But it looks like because qmake can't create Visual Studio project file for multiple platforms, it's not possible to use C# UWP approach.
I hope that someone already uploaded to Windows 10 Store Qt apps and can share working way of doing this with multiple platforms support.
2 Answers
Based on your description, Qt5 WinRT provides separate Qt builds for x86,x64, and ARM platform, when you create package for your project, you may need to select one architecture at a time, like the screenshot below.
When you have created three different platform packages, you can upload these package and select apposite devices,different operating systems can run different types of packages.
Hope it is help to you.
So far I was able to find only following solution:
It's needed to create different appxupload packages files to be uploaded into Windows 10 Store - one package for armv7 platform (where in Package.appxmanifest it's required to put target devices family as Windows.Mobile) and one package for x86 platform(where in Package.appxmanifest it's required to put target devices family as Windows.Desktop).
<TargetDeviceFamily Name="Windows.Mobile" />
Also the packages should has different application version.
Such 2 packages can be uploaded into one Submission application record at Developer Dashboard and will not conflict with each other.
In case if to try upload both packages with "Windows.Universal" as target device family, MS Store Dashboard complains that packages has similar "Neutral" platforms (even if different platforms were specified in app manifest). Also if both packages are of similar version, you will get web page error on finish of packages uploading.
In case if you will put the support of platform that is not part of the package, such submission will be failed during certification.