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

Unable to launch WinRT/UWP applications with winrtrunner with QtCreator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.0 Alpha
    • 5.12.0 Alpha
    • Packaging & Installer
    • Creator 4.7.0 Built with Qt5.11.1
    • WinRT
    • f8086955b3f6f80cb7a1cb2a1fb1a7907a928183

    Description

      Install for example WinRT x64 MSVC2015 binaries and launch Creator. Open one of the examples, build and try to run. Launch fails with following error:

       

      09:52:19: winrtrunner --device 0 --start --stop --install --wait 0 --profile appx C:/Users/qt/RTA/qt5/Examples/Qt-5.12.0/widgets/widgets/build-analogclock-Qt_5_12_0_for_UWP_64bit_MSVC_2015-Debug/debug/analogclock.exe
      qt.winrtrunner: Using the Appx profile.
      qt.winrtrunner: Unable to register package: "error 0x80070020: Opening the package from location Microsoft.VCLibs.x64.Debug.14.00.appx failed."
      qt.winrtrunner: Failed to install package: "Microsoft.VCLibs.140.00.Debug"
      

      To test manually, open cmd prompt and initialize env by calling:

       

       

      call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86 10.0.14393.0 
      

      Run commands (have Qt in PATH)

      qmake

      nmake

      windeployqt.exe [generated .exe]

      winrtrunner --start --install [generated .exe] will launch the application.

      Even if Creator is then launched from same environment above error will be printed.

      Same with Qt5.11.1

      Attachments

        For Gerrit Dashboard: QTBUG-69809
        # Subject Branch Project Status CR V

        Activity

          People

            owolff Oliver Wolff
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes