{"id":10296,"date":"2019-11-08T08:43:38","date_gmt":"2019-11-08T08:43:38","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=10296"},"modified":"2019-11-08T16:27:48","modified_gmt":"2019-11-08T16:27:48","slug":"qt-uwp","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=10296","title":{"rendered":"Qt UWP"},"content":{"rendered":"<p><a href=\"https:\/\/doc.qt.io\/qt-5\/winrt-support.html\">Qt for UWP<\/a><\/p>\n<p><a href=\"https:\/\/stefanwick.com\/2018\/10\/21\/qt-uwp-raspberry-pi\/\">Qt \u2013 UWP \u2013 Raspberry Pi<\/a><br \/>\n<a href=\"https:\/\/www.linkedin.com\/in\/stefan-wick-2a822b4\/\">Stefan Wick<\/a><br \/>\n<a href=\"https:\/\/github.com\/StefanWickDev\/UWP-FullTrust\/tree\/master\/UWP_FullTrust_1\">github.com\/StefanWickDev\/UWP-FullTrust\/tree\/master\/UWP_FullTrust_1<\/a>, UWP with Desktop Extension Tutorial &#8211; Part 1<br \/>\n<a href=\"https:\/\/stefanwick.com\/2018\/04\/06\/uwp-with-desktop-extension-part-1\/\">UWP with Desktop Extension \u2013 Part 1<\/a><br \/>\n<a href=\"https:\/\/stefanwick.com\/2018\/04\/06\/uwp-with-desktop-extension-part-2\/\">UWP with Desktop Extension \u2013 Part 2<\/a><\/p>\n<p><a href=\"https:\/\/medium.com\/@mogrifier\/qt-hello-world-on-windows-10-46af81c0e098\">QT \u201cHello, world\u201d on Windows 10<\/a><br \/>\n<a href=\"https:\/\/stackoverflow.com\/questions\/38200715\/error-in-qt-creator-the-environment-variable-extensionsdkdir-is-not-set\/38269704\">Error in Qt Creator: \u201cThe environment variable ExtensionSdkDir is not set\u201d<\/a><br \/>\n<a href=\"https:\/\/stackoverflow.com\/questions\/48317487\/app-installer-failed-to-install-package-dependencies-ask-the-developer-for-mic?rq=1\">&#8216;App installer failed to install package dependencies. Ask the developer for Microsoft.VCLibs.140.00<\/a><br \/>\n<a href=\"https:\/\/www.microsoft.com\/en-us\/download\/confirmation.aspx?id=53175\">C++ Runtime v14 framework package for Desktop Bridge (Project Centennial)<\/a><br \/>\n<a href=\"https:\/\/support.microsoft.com\/en-us\/help\/3176696\/c-runtime-framework-packages-for-desktop-bridge\">C++ Runtime framework packages for Desktop Bridge<\/a><br \/>\n<a href=\"https:\/\/stackoverflow.com\/questions\/38088960\/dep0800-cannot-deploy-uwp-app-after-upgrading-to-vs-2015-update-3,\">DEP0800: Cannot deploy UWP app after upgrading to VS 2015 Update 3<\/a><br \/>\n<a href=\"https:\/\/stackoverflow.com\/questions\/49567498\/how-to-silent-install-an-uwp-appx\">How to silent install an UWP appx?<\/a><\/p>\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=o5Xdt-j3hkA\">QtWS15- Developing for Windows 10 With Qt, Maurice Kalinowski, The Qt Company<\/a><\/p>\n<p><a href=\"https:\/\/musescore.org\/de\/handbook\/developers-handbook\/compilation\/compile-instructions-windows-visual-studio\/compile\">Compile instructions (Windows &#8211; MSVC with Qt Creator)<\/a><br \/>\n<a href=\"https:\/\/stackoverflow.com\/questions\/57026997\/how-to-configure-a-usable-kit-for-qt-after-reinstalling-visual-studio-2017\">How to configure a usable Kit for Qt after reinstalling Visual Studio 2017<\/a><br \/>\n<a href=\"https:\/\/stackoverflow.com\/questions\/56887249\/adding-msvc-2017-to-qt\">Adding MSVC 2017 to Qt<\/a><br \/>\n<a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=TheQtCompany.QtVisualStudioTools-19123\">Qt Visual Studio Tools<\/a><br \/>\n<a href=\"https:\/\/forum.qt.io\/topic\/104123\/qt-tools-and-versions-msvc-2019\">Qt Tools and Versions &#038; MSVC 2019<\/a><br \/>\n<a href=\"https:\/\/www.mikrocontroller.net\/topic\/395559\">$Bluetooth mit einer Universal Windows App<\/a><br \/>\n<a href=\"https:\/\/forum.qt.io\/topic\/78962\/how-to-use-qt-with-visual-studio-2017\">How to use Qt with Visual Studio 2017?<\/a><br \/>\n<a href=\"https:\/\/bugreports.qt.io\/browse\/QTVSADDINBUG-591\">QTVSADDINBUG-591 Support Visual Studio 2019<\/a><\/p>\n<p><a href=\"https:\/\/www.qt.io\/blog\/2018\/02\/26\/qt-visual-studio-tools-2-2-0-released\">Qt Visual Studio Tools 2.2.0 Released<\/a>, February 26, 2018<br \/>\n<a href=\"https:\/\/www.qt.io\/blog\/2019\/01\/21\/qt-visual-studio-tools-2-3-1-released\">Qt Visual Studio Tools 2.3.1 Released<\/a>, January 21, 2019<\/p>\n<p><a href=\"https:\/\/docs.microsoft.com\/en-us\/cpp\/build\/building-on-the-command-line?view=vs-2019\">Use the Microsoft C++ toolset from the command line<\/a><br \/>\n<a href=\"https:\/\/github.com\/musescore\/MuseScore\/blob\/master\/msvc_build.bat\">github.com\/musescore\/MuseScore\/blob\/master\/msvc_build.bat<\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX64\\x64\r\ncd c:\\Users\\andreas\\Documents\\QtProjects\\FluoedemaSource\\BleTest\r\nC:\\Qt\\5.12.5\\msvc2017_64\\bin\r\nC:\\Program Files (x86)\\Windows Kits\\10\r\n\r\n&gt;CALL &quot;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Auxiliary\\Build\\vcvarsall.bat&quot; amd64 10.0.17763.132 -vcvars_ver=14.16\r\n**********************************************************************\r\n** Visual Studio 2019 Developer Command Prompt v16.3.8\r\n** Copyright (c) 2019 Microsoft Corporation\r\n**********************************************************************\r\n&#x5B;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\r\nThe input line is too long.\r\nThe syntax of the command is incorrect.\r\n\r\n\r\n&gt;CALL &quot;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat&quot;\r\n\r\n&gt;CALL &quot;C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Auxiliary\\Build\\vcvarsall.bat&quot; amd64 10.0.17763.0 -vcvars_ver=14.16.27023\r\n**********************************************************************\r\n** Visual Studio 2019 Developer Command Prompt v16.3.8\r\n** Copyright (c) 2019 Microsoft Corporation\r\n**********************************************************************\r\n&#x5B;vcvarsall.bat] Environment initialized for: 'x64'\r\n\r\n&gt; msvc_build.bat relwithdebinfo\r\nBuild folder is: msvc.build_x64\r\nInstall folder is: msvc.install_x64\r\nA subdirectory or file msvc.build_x64 already exists.\r\nA subdirectory or file msvc.install_x64 already exists.\r\nBuilding CMake configuration...\r\nCMake Error at CMakeLists.txt:3 (project):\r\n  Generator\r\n\r\n    Visual Studio 15 2017 Win64\r\n\r\n  could not find any instance of Visual Studio.\r\n\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\nSee also &quot;C:\/Users\/andreas\/Documents\/QtProjects\/FluoedemaSource\/BleTest\/msvc.build_x64\/CMakeFiles\/CMakeOutput.log&quot;.\r\nBuilding MuseScore...\r\nThe system cannot find the path specified.\r\nCMake Error:\r\n  Generator\r\n\r\n    Visual Studio 15 2017 Win64\r\n\r\n  could not find any instance of Visual Studio.\r\n\r\n\r\n=================\r\n\r\nQt for UWP 64bit (MSVC 2015)\r\n\r\n&gt; CALL &quot;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat&quot; amd64 10.0.18362.0\r\n&gt; set &quot;ExtensionSdkDir=C:\\Program Files (x86)\\Microsoft SDKs\\Windows Kits\\10\\ExtensionSDKs&quot;\r\n&gt;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\r\n\r\nqt.winrtrunner: Using the Appx profile.\r\nqt.winrtrunner: Unable to register package: &quot;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 \\&quot;Microsoft.VCLibs.140.00.Debug\\&quot; published by \\&quot;CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US\\&quot;, with neutral or x64 processor architecture and minimum version 14.0.0.0, along with this package to install. The frameworks with name \\&quot;Microsoft.VCLibs.140.00.Debug\\&quot; currently installed are: {}&quot;\r\n\r\nPS C:\\Users\\andreas&gt; Add-AppxPackage &quot;C:\\Program Files (x86)\\Microsoft SDKs\\Windows Kits\\10\\ExtensionSDKs\\Microsoft.VCLibs\\14.0\\Appx\\Debug\\x86\\Microsoft.VCLibs.x86.Debug.14.00.appx&quot;\r\nAdd-AppxPackage : Cannot find path\r\n\r\nPS C:\\Users\\andreas&gt; Add-AppxPackage &quot;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&quot;\r\n\r\nPS&gt; Get-AppxPackage\r\nPS&gt; Get-AppxPackage | Select Name, PackageFullName\r\nPS&gt; Get-AppxPackage Microsoft.VCLibs.140.00 | Remove-AppxPackage\r\n\r\nMicrosoft.VCLibs.140.00.Debug.UWPDesktop_14.0.24222.0_x64__8wekyb3d8bbwe\r\nMicrosoft.VCLibs.140.00.UWPDesktop_14.0.26905.0_x64__8wekyb3d8bbwe\r\nMicrosoft.VCLibs.140.00.UWPDesktop_14.0.27629.0_x64__8wekyb3d8bbwe\r\nMicrosoft.VCLibs.140.00.UWPDesktop_14.0.27629.0_x86__8wekyb3d8bbwe\r\nMicrosoft.VCLibs.140.00_14.0.27323.0_x64__8wekyb3d8bbwe\r\nMicrosoft.VCLibs.140.00_14.0.27323.0_x86__8wekyb3d8bbwe\r\n\r\n&gt; Get-AppxPackage Microsoft.VCLibs.140.00.Debug*\r\nName              : Microsoft.VCLibs.140.00.Debug.UWPDesktop\r\nPublisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US\r\nArchitecture      : X64\r\nResourceId        :\r\nVersion           : 14.0.24222.0\r\nPackageFullName   : Microsoft.VCLibs.140.00.Debug.UWPDesktop_14.0.24222.0_x64__8wekyb3d8bbwe\r\nInstallLocation   : C:\\Program\r\n                    Files\\WindowsApps\\Microsoft.VCLibs.140.00.Debug.UWPDesktop_14.0.24222.0_x64__8wekyb3d8bbwe\r\nIsFramework       : True\r\nPackageFamilyName : Microsoft.VCLibs.140.00.Debug.UWPDesktop_8wekyb3d8bbwe\r\nPublisherId       : 8wekyb3d8bbwe\r\nIsResourcePackage : False\r\nIsBundle          : False\r\nIsDevelopmentMode : False\r\nNonRemovable      : False\r\nIsPartiallyStaged : False\r\nSignatureKind     : Developer\r\nStatus            : Ok\r\n<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nC:\\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.\r\n\r\nC:\\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.\r\n\r\nerror : 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.\r\n\tSet environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate.\r\nC:\\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.\r\n\r\nC:\\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.\r\n\r\nerror : 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.\r\n\tSet environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate.\r\n<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nRunning Windows Runtime device detection.\r\nC:\/Qt\/5.12.5\/winrt_x64_msvc2017\/bin\/winrtrunner.exe --list-devices\r\nRunning Windows Runtime device detection.\r\nC:\/Qt\/5.12.5\/winrt_x64_msvc2017\/bin\/winrtrunner.exe --list-devices\r\nRunning Windows Runtime device detection.\r\nC:\/Qt\/5.12.5\/winrt_x64_msvc2017\/bin\/winrtrunner.exe --list-devices\r\nFound 1 Windows Runtime devices.\r\nFound 1 Windows Runtime devices.\r\nFound 1 Windows Runtime devices.\r\nCannot parse project &quot;BleTest&quot;: No kit selected.\r\n<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nRunning Windows Runtime device detection.\r\nC:\/Qt\/5.12.5\/winrt_x64_msvc2017\/bin\/winrtrunner.exe --list-devices\r\nRunning Windows Runtime device detection.\r\nC:\/Qt\/5.12.5\/winrt_x64_msvc2017\/bin\/winrtrunner.exe --list-devices\r\nRunning Windows Runtime device detection.\r\nC:\/Qt\/5.12.5\/winrt_x64_msvc2017\/bin\/winrtrunner.exe --list-devices\r\nFound 1 Windows Runtime devices.\r\nFound 1 Windows Runtime devices.\r\nFound 1 Windows Runtime devices.\r\nProject ERROR: Cannot run target compiler 'cl'. Output:\r\n===================\r\n===================\r\nMaybe you forgot to setup the environment?\r\nError while parsing file C:\\Users\\andreas\\Documents\\QtProjects\\FluoedemaSource\\BleTest\\BleTest.pro. Giving up.\r\nProject ERROR: Cannot run target compiler 'cl'. Output:\r\n===================\r\n===================\r\nMaybe you forgot to setup the environment?\r\nError while parsing file C:\\Users\\andreas\\Documents\\QtProjects\\FluoedemaSource\\BleTest\\BleTest.pro. Giving up.\r\nProject ERROR: Cannot run target compiler 'cl'. Output:\r\n===================\r\n===================\r\nMaybe you forgot to setup the environment?\r\nError while parsing file C:\\Users\\andreas\\Documents\\QtProjects\\FluoedemaSource\\BleTest2\\BleTest2.pro. Giving up.\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Qt for UWP Qt \u2013 UWP \u2013 Raspberry Pi Stefan Wick github.com\/StefanWickDev\/UWP-FullTrust\/tree\/master\/UWP_FullTrust_1, UWP with Desktop Extension Tutorial &#8211; Part 1 UWP with Desktop Extension \u2013 Part 1 UWP with Desktop Extension \u2013 Part 2 QT \u201cHello, world\u201d on Windows 10 Error in Qt Creator: \u201cThe environment variable ExtensionSdkDir is not set\u201d &#8216;App installer failed to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-10296","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/10296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10296"}],"version-history":[{"count":21,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/10296\/revisions"}],"predecessor-version":[{"id":10317,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/10296\/revisions\/10317"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}