Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. The problem with the launch of UWP apps
Forum Updated to NodeBB v4.3 + New Features

The problem with the launch of UWP apps

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
7 Posts 3 Posters 2.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Harrix
    wrote on last edited by Harrix
    #1

    I have installed Qt 5.11.1 using the online installer, and Visual Studio 2017 Community. And I have Windows 10 1803.

    For example, I create a basic application Qt Quick Application - Swipe without changing anything in it.

    When I run it through the kit Desktop Qt 5.11.1 MSVC2017 64 bit, everything runs well.

    When I run it through the kit Qt 5.11.1 for UWP 64bit (MSVC 2017), then the run is interrupted by the execution of windeployqt.exe:

    15:14:40: Running steps for project untitled7...
    15:14:40: Starting: "D:\Qt\5.11.1\winrt_x64_msvc2017\bin\qmake.exe" D:\Harrix\Projects\QtProjects\untitled7\untitled7.pro -spec winrt-x64-msvc2017 "CONFIG+=debug" "CONFIG+=qml_debug"
    ..\qml.qrc: Warning: potential duplicate alias detected: 'main.qml'
    ..\qml.qrc: Warning: potential duplicate alias detected: 'main.qml'
    WARNING: winrt_manifest_install.path is not defined: install target not created
    
    WARNING: winrt_manifest_install.path is not defined: install target not created
    
    15:14:41: The process "D:\Qt\5.11.1\winrt_x64_msvc2017\bin\qmake.exe" exited normally.
    15:14:41: Starting: "D:\Qt\Tools\QtCreator\bin\jom.exe" qmake_all
    
    jom 1.1.2 - empower your cores
    
    15:14:42: The process "D:\Qt\Tools\QtCreator\bin\jom.exe" exited normally.
    15:14:42: Starting: "D:\Qt\Tools\QtCreator\bin\jom.exe" 
    	D:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
    15:14:43: The process "D:\Qt\Tools\QtCreator\bin\jom.exe" exited normally.
    15:14:43: Could not start process "windeployqt.exe" D:\Harrix\Projects\QtProjects\untitled7\_build\debug\untitled7.exe --qmldir D:\Harrix\Projects\QtProjects\untitled7
    Error while building/deploying project untitled7 (kit: Qt 5.11.1 for UWP 64bit (MSVC 2017))
    The kit Qt 5.11.1 for UWP 64bit (MSVC 2017) has configuration issues which might be the root cause for this problem.
    When executing step "Run windeployqt"
    15:14:43: Elapsed time: 00:04.
    

    Developer mode is enabled in Windows 10.

    alt text

    alt text

    jsulmJ 1 Reply Last reply
    0
    • H Harrix

      I have installed Qt 5.11.1 using the online installer, and Visual Studio 2017 Community. And I have Windows 10 1803.

      For example, I create a basic application Qt Quick Application - Swipe without changing anything in it.

      When I run it through the kit Desktop Qt 5.11.1 MSVC2017 64 bit, everything runs well.

      When I run it through the kit Qt 5.11.1 for UWP 64bit (MSVC 2017), then the run is interrupted by the execution of windeployqt.exe:

      15:14:40: Running steps for project untitled7...
      15:14:40: Starting: "D:\Qt\5.11.1\winrt_x64_msvc2017\bin\qmake.exe" D:\Harrix\Projects\QtProjects\untitled7\untitled7.pro -spec winrt-x64-msvc2017 "CONFIG+=debug" "CONFIG+=qml_debug"
      ..\qml.qrc: Warning: potential duplicate alias detected: 'main.qml'
      ..\qml.qrc: Warning: potential duplicate alias detected: 'main.qml'
      WARNING: winrt_manifest_install.path is not defined: install target not created
      
      WARNING: winrt_manifest_install.path is not defined: install target not created
      
      15:14:41: The process "D:\Qt\5.11.1\winrt_x64_msvc2017\bin\qmake.exe" exited normally.
      15:14:41: Starting: "D:\Qt\Tools\QtCreator\bin\jom.exe" qmake_all
      
      jom 1.1.2 - empower your cores
      
      15:14:42: The process "D:\Qt\Tools\QtCreator\bin\jom.exe" exited normally.
      15:14:42: Starting: "D:\Qt\Tools\QtCreator\bin\jom.exe" 
      	D:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
      15:14:43: The process "D:\Qt\Tools\QtCreator\bin\jom.exe" exited normally.
      15:14:43: Could not start process "windeployqt.exe" D:\Harrix\Projects\QtProjects\untitled7\_build\debug\untitled7.exe --qmldir D:\Harrix\Projects\QtProjects\untitled7
      Error while building/deploying project untitled7 (kit: Qt 5.11.1 for UWP 64bit (MSVC 2017))
      The kit Qt 5.11.1 for UWP 64bit (MSVC 2017) has configuration issues which might be the root cause for this problem.
      When executing step "Run windeployqt"
      15:14:43: Elapsed time: 00:04.
      

      Developer mode is enabled in Windows 10.

      alt text

      alt text

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Harrix Check our UWP Kit: does it show any warnings/errors?

      1 Reply Last reply
      0
      • H Offline
        H Offline
        Harrix
        wrote on last edited by
        #3

        @jsulm said in The problem with the launch of UWP apps:

        Check our UWP Kit: does it show any warnings/errors?

        And how to do it? The full list of messages from the compiler I gave.

        jsulmJ 1 Reply Last reply
        0
        • H Harrix

          @jsulm said in The problem with the launch of UWP apps:

          Check our UWP Kit: does it show any warnings/errors?

          And how to do it? The full list of messages from the compiler I gave.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • O Offline
            O Offline
            owolff
            wrote on last edited by
            #5

            Can you check, whether there is windeployqt in your Qt installation's folder (does D:\Qt\5.11.1\winrt_x64_msvc2017\bin\windeployqt.exe exist)?

            Also can you create a bug report on bugreports.qt.io? "Proper" bug reports are preferred over forum posts as they can be tracked easier and do not get lost.

            H 1 Reply Last reply
            0
            • O owolff

              Can you check, whether there is windeployqt in your Qt installation's folder (does D:\Qt\5.11.1\winrt_x64_msvc2017\bin\windeployqt.exe exist)?

              Also can you create a bug report on bugreports.qt.io? "Proper" bug reports are preferred over forum posts as they can be tracked easier and do not get lost.

              H Offline
              H Offline
              Harrix
              wrote on last edited by
              #6

              @owolff D:\Qt\5.11.1\winrt_x64_msvc2017\bin\windeployqt.exe exist

              The message about the bug was created https://bugreports.qt.io/browse/QTBUG-70175

              1 Reply Last reply
              1
              • H Offline
                H Offline
                Harrix
                wrote on last edited by
                #7

                On a virtual machine with a clean Windows 10 installed Visual Studio Community 2017 and Qt according to the scheme described in the bug. If the Qt interface language is set as the system language, the WinRT program is compiled. If you select any other interface language, the application does not compile. However, after a while, the application stops compiling anyway.

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved