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

How to package a Win32 desktop app in MSIX?

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15, 6.2
    • None
    • Visual Studio 2019. Qt 5.15. 

    • 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.

      Attachments

        Activity

          People

            kileppal Kimmo Leppälä
            forderud Fredrik Orderud
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: