qgroundcontrol icon indicating copy to clipboard operation
qgroundcontrol copied to clipboard

QGC at MS store

Open Jai-GAY opened this issue 4 years ago • 4 comments

Tell us a bit about the feature:

  • What problem does it solve? Non admin installation
  • What does it do? cannot install
  • What flight stacks must it work with? (All, PX4, ArduPilot), all
  • Relevant vehicle types? (All, multirotor, fixed-wing, VTOL, submarine, etc.), Multirotor
  • Are there other systems that have this feature? IrfanView64
  • What communication/integration standards does the feature rely on (e.g. MAVLink commands etc.), None

Any additional context you can provide will make the feature easier to evaluate (e.g. mockups, detailed specification, etc.) MS Store IrfanView64

The team should immediately look into getting the installation from the MS store for users as some users are using cooperate issued devices where administrator right is not given.

Jai-GAY avatar Apr 09 '21 01:04 Jai-GAY

... or alternatively Chocolatey as other opensource software.

thopiekar avatar Apr 15 '21 18:04 thopiekar

@Jai-GAY , are you asking for a MS Store App for QGroundControl?

rajeshroy402 avatar Apr 16 '21 09:04 rajeshroy402

Little follow up on store distribution since I was curious.. https://docs.microsoft.com/en-us/windows/uwp/publish/

thopiekar avatar May 13 '21 13:05 thopiekar

After reading a bit about the subject, here the current findings.

Microsoft Store

ms_store_faq

Source: Top questions

How to publish your MSIX package to the Microsoft Store?

QGroundControl

Qt for WinRT

Qt for WinRT (in Qt 5.12) is now Qt for UWP (in Qt 5.15)

Qt for WinRT allows you to run Qt applications on devices supporting the Windows Store App APIs.

A recompilation against WinRT libraries would be necessary. But this does not work, because Qt Serial Port is not supported in Qt for WinRT.

Qt for UWP Qt Add-Ons Platform support (UWP is missing)

  • Qt Serial Port: Windows, Linux, macOS, and QNX.

MSIX package

MSIX is a modern app package format that provides a universal packaging experience for all Windows apps, WPF, Windows Forms and Win32 apps.

Source: Features that require package identity

Packaging Tools from the Microsoft Store: MSIX Packaging Tool

Documentation

Building an MSIX package from your code

  • What to know before packaging your desktop app
  • Packaging your desktop or UWP app in Visual Studio
  • CI/CD Pipelines for MSIX Builds and Deployments
  • Packaging from the command line
  • Extending your MSIX application

Integrate your desktop app with Windows 10 and UWP

QGroundControl is already packaged with windeployqt and should contain everything it needs to run. The only thing missing at a first glance is a manifest file for the MSIX package.

Thoughts

Going the MSIX route should work and a local proof-of-concept would not need much effort.

I did not look into:

  • What is the appropriate Microsoft Store registration (individual or company?) probably company
  • Certificate to sign the package
  • Integration into CI/CD (link above looks like Azure DevOps integration, not necessarily others)

kistlin avatar Jun 19 '21 12:06 kistlin