Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
The problem with the launch of UWP apps
Harrix last edited by 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.
@Harrix Check our UWP Kit: does it show any warnings/errors?
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.
This post is deleted!
owolff last edited by
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.
@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
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.