Qt UWP

Qt for UWP

Qt – UWP – Raspberry Pi
Stefan Wick
github.com/StefanWickDev/UWP-FullTrust/tree/master/UWP_FullTrust_1, UWP with Desktop Extension Tutorial – Part 1
UWP with Desktop Extension – Part 1
UWP with Desktop Extension – Part 2

QT “Hello, world” on Windows 10
Error in Qt Creator: “The environment variable ExtensionSdkDir is not set”
‘App installer failed to install package dependencies. Ask the developer for Microsoft.VCLibs.140.00
C++ Runtime v14 framework package for Desktop Bridge (Project Centennial)
C++ Runtime framework packages for Desktop Bridge
DEP0800: Cannot deploy UWP app after upgrading to VS 2015 Update 3
How to silent install an UWP appx?

QtWS15- Developing for Windows 10 With Qt, Maurice Kalinowski, The Qt Company

Compile instructions (Windows – MSVC with Qt Creator)
How to configure a usable Kit for Qt after reinstalling Visual Studio 2017
Adding MSVC 2017 to Qt
Qt Visual Studio Tools
Qt Tools and Versions & MSVC 2019
$Bluetooth mit einer Universal Windows App
How to use Qt with Visual Studio 2017?
QTVSADDINBUG-591 Support Visual Studio 2019

Qt Visual Studio Tools 2.2.0 Released, February 26, 2018
Qt Visual Studio Tools 2.3.1 Released, January 21, 2019

Use the Microsoft C++ toolset from the command line
github.com/musescore/MuseScore/blob/master/msvc_build.bat

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64
cd c:\Users\andreas\Documents\QtProjects\FluoedemaSource\BleTest
C:\Qt\5.12.5\msvc2017_64\bin
C:\Program Files (x86)\Windows Kits\10

>CALL "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64 10.0.17763.132 -vcvars_ver=14.16
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.3.8
** Copyright (c) 2019 Microsoft Corporation
**********************************************************************
[ERROR:winsdk.bat] Windows SDK 10.0.17763.132 : 'C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.132\um' not found or was incomplete
The input line is too long.
The syntax of the command is incorrect.


>CALL "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"

>CALL "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64 10.0.17763.0 -vcvars_ver=14.16.27023
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.3.8
** Copyright (c) 2019 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'

> msvc_build.bat relwithdebinfo
Build folder is: msvc.build_x64
Install folder is: msvc.install_x64
A subdirectory or file msvc.build_x64 already exists.
A subdirectory or file msvc.install_x64 already exists.
Building CMake configuration...
CMake Error at CMakeLists.txt:3 (project):
  Generator

    Visual Studio 15 2017 Win64

  could not find any instance of Visual Studio.



-- Configuring incomplete, errors occurred!
See also "C:/Users/andreas/Documents/QtProjects/FluoedemaSource/BleTest/msvc.build_x64/CMakeFiles/CMakeOutput.log".
Building MuseScore...
The system cannot find the path specified.
CMake Error:
  Generator

    Visual Studio 15 2017 Win64

  could not find any instance of Visual Studio.


=================

Qt for UWP 64bit (MSVC 2015)

> CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 10.0.18362.0
> set "ExtensionSdkDir=C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs"
>winrtrunner --device 0 --start --stop --wait 0 --profile appx C:/Users/andreas/Documents/QtProjects/FluoedemaSource/build-BleTest4-Qt_5_12_5_for_UWP_64bit_MSVC_2015-Debug/debug/BleTest4.exe

qt.winrtrunner: Using the Appx profile.
qt.winrtrunner: Unable to register package: "Windows cannot install package fd5fcfd3-6131-4810-9462-3c5bb061b29d_1.0.0.0_x64__a281374cnhzmt because this package depends on a framework that could not be found. Provide the framework \"Microsoft.VCLibs.140.00.Debug\" published by \"CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US\", with neutral or x64 processor architecture and minimum version 14.0.0.0, along with this package to install. The frameworks with name \"Microsoft.VCLibs.140.00.Debug\" currently installed are: {}"

PS C:\Users\andreas> Add-AppxPackage "C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\Appx\Debug\x86\Microsoft.VCLibs.x86.Debug.14.00.appx"
Add-AppxPackage : Cannot find path

PS C:\Users\andreas> Add-AppxPackage "C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs.Desktop\14.0\Appx\Debug\x64\Microsoft.VCLibs.x64.Debug.14.00.Desktop.appx"

PS> Get-AppxPackage
PS> Get-AppxPackage | Select Name, PackageFullName
PS> Get-AppxPackage Microsoft.VCLibs.140.00 | Remove-AppxPackage

Microsoft.VCLibs.140.00.Debug.UWPDesktop_14.0.24222.0_x64__8wekyb3d8bbwe
Microsoft.VCLibs.140.00.UWPDesktop_14.0.26905.0_x64__8wekyb3d8bbwe
Microsoft.VCLibs.140.00.UWPDesktop_14.0.27629.0_x64__8wekyb3d8bbwe
Microsoft.VCLibs.140.00.UWPDesktop_14.0.27629.0_x86__8wekyb3d8bbwe
Microsoft.VCLibs.140.00_14.0.27323.0_x64__8wekyb3d8bbwe
Microsoft.VCLibs.140.00_14.0.27323.0_x86__8wekyb3d8bbwe

> Get-AppxPackage Microsoft.VCLibs.140.00.Debug*
Name              : Microsoft.VCLibs.140.00.Debug.UWPDesktop
Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture      : X64
ResourceId        :
Version           : 14.0.24222.0
PackageFullName   : Microsoft.VCLibs.140.00.Debug.UWPDesktop_14.0.24222.0_x64__8wekyb3d8bbwe
InstallLocation   : C:\Program
                    Files\WindowsApps\Microsoft.VCLibs.140.00.Debug.UWPDesktop_14.0.24222.0_x64__8wekyb3d8bbwe
IsFramework       : True
PackageFamilyName : Microsoft.VCLibs.140.00.Debug.UWPDesktop_8wekyb3d8bbwe
PublisherId       : 8wekyb3d8bbwe
IsResourcePackage : False
IsBundle          : False
IsDevelopmentMode : False
NonRemovable      : False
IsPartiallyStaged : False
SignatureKind     : Developer
Status            : Ok
C:\Users\andreas\Documents\QtProjects\FluoedemaSource\BleTest_VC\BleTest_VC\BleTest_VC.vcxproj : warning  : The build tools for Visual Studio 2019 (v142) cannot be found. Install Visual Studio 2019 (v142) to build using the Visual Studio 2019 (v142) build tools.

C:\Users\andreas\Documents\QtProjects\FluoedemaSource\BleTest_VC\BleTest_VC\BleTest_VC.vcxproj : warning  : Platform 'x64' referenced in the project file 'BleTest_VC' cannot be found.

error : Designtime build failed for project 'C:\Users\andreas\Documents\QtProjects\FluoedemaSource\BleTest_VC\BleTest_VC\BleTest_VC.vcxproj' configuration 'Debug|x64'. IntelliSense might be unavailable.
	Set environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate.
C:\Users\andreas\Documents\QtProjects\FluoedemaSource\BleTest2_VC\BleTest2_VC\BleTest2_VC.vcxproj : warning  : The build tools for Visual Studio 2019 (v142) cannot be found. Install Visual Studio 2019 (v142) to build using the Visual Studio 2019 (v142) build tools.

C:\Users\andreas\Documents\QtProjects\FluoedemaSource\BleTest2_VC\BleTest2_VC\BleTest2_VC.vcxproj : warning  : Platform 'x64' referenced in the project file 'BleTest2_VC' cannot be found.

error : Designtime build failed for project 'C:\Users\andreas\Documents\QtProjects\FluoedemaSource\BleTest2_VC\BleTest2_VC\BleTest2_VC.vcxproj' configuration 'Debug|x64'. IntelliSense might be unavailable.
	Set environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate.
Running Windows Runtime device detection.
C:/Qt/5.12.5/winrt_x64_msvc2017/bin/winrtrunner.exe --list-devices
Running Windows Runtime device detection.
C:/Qt/5.12.5/winrt_x64_msvc2017/bin/winrtrunner.exe --list-devices
Running Windows Runtime device detection.
C:/Qt/5.12.5/winrt_x64_msvc2017/bin/winrtrunner.exe --list-devices
Found 1 Windows Runtime devices.
Found 1 Windows Runtime devices.
Found 1 Windows Runtime devices.
Cannot parse project "BleTest": No kit selected.
Running Windows Runtime device detection.
C:/Qt/5.12.5/winrt_x64_msvc2017/bin/winrtrunner.exe --list-devices
Running Windows Runtime device detection.
C:/Qt/5.12.5/winrt_x64_msvc2017/bin/winrtrunner.exe --list-devices
Running Windows Runtime device detection.
C:/Qt/5.12.5/winrt_x64_msvc2017/bin/winrtrunner.exe --list-devices
Found 1 Windows Runtime devices.
Found 1 Windows Runtime devices.
Found 1 Windows Runtime devices.
Project ERROR: Cannot run target compiler 'cl'. Output:
===================
===================
Maybe you forgot to setup the environment?
Error while parsing file C:\Users\andreas\Documents\QtProjects\FluoedemaSource\BleTest\BleTest.pro. Giving up.
Project ERROR: Cannot run target compiler 'cl'. Output:
===================
===================
Maybe you forgot to setup the environment?
Error while parsing file C:\Users\andreas\Documents\QtProjects\FluoedemaSource\BleTest\BleTest.pro. Giving up.
Project ERROR: Cannot run target compiler 'cl'. Output:
===================
===================
Maybe you forgot to setup the environment?
Error while parsing file C:\Users\andreas\Documents\QtProjects\FluoedemaSource\BleTest2\BleTest2.pro. Giving up.

Leave a Reply

Your email address will not be published. Required fields are marked *