Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-97088

How to package a Win32 desktop app in MSIX?

    XMLWordPrintable

Details

    • Windows

    Description

      Microsoft is actively promoting MSIX as preferred installer format for for Win32 desktop and UWP applications. I've therefore experimented a bit with packaging a CMake-based Qt desktop application using MSIX. There are some instructions for doing this on https://docs.microsoft.com/en-us/windows/msix/desktop/vs-package-overview . However, I've then encountered a problem with MSBuild not "understanding" that Qt DLLs installed with windeployqt also need to be included in the MSIX installer. This problem seem to have previously been reported on https://gitlab.kitware.com/cmake/cmake/-/issues/17242

      I don't really understand what is causing the problem nor know the best approach for fixing it. However, it would be nice if some documentation and/or sample code for MSIX packing could be written, so that Qt developers like me could at least have a starting point.

      Sample project to reproduce: https://github.com/forderud/QtMSIX

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            forderud Fredrik Orderud
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes