The UWP Release build output is in the right format for distribution via the Microsoft Store. Side-track: Distributing via Microsoft Store Use the Selector control on the left pane to switch between classic desktop and UWP flavors to test your app code in both environments: Now you can hit F5 to compile, launch and debug your project. Then finish the project creation by accepting all the defaults. Also be sure you select the UWP-ARMv7-MSVC2017 kit as we will need it for the Raspberry Pi. Let’s select one of the classic desktop kits and one of UWP kits (make sure the processor architecture works for your dev machine). Select an application type, such as “Qt Widget Application” and give it a name. Then launch the Qt Creator IDE to create your first Qt application – or select one of the examples that come with the tools.
QT PLATFORM WINDOWS INSTALL
Creating a Qt UWP sample appįirst step is to install Qt on our development box from.
QT PLATFORM WINDOWS WINDOWS 10
In short, Qt is a great cross-platform option worth considering when you want to get the most out of Windows 10 and need to run the same code on Windows 7, Linux, Mac, Android or iOS. Even if the app has a bug and the process gets hacked it won’t be able to act outside of its sandbox. It won’t be able to use the internet, read arbitrary files from the disk or mess with the system’s registry. In this model, for example, a calculator app only gets the capabilities it needs. The AppContainer ensures that the app process won’t have any undesired impact on system stability or security by keeping it in a sandbox that is defined by UWP’s capability model. Last, and certainly not least, running your Qt app as UWP will let you take advantage of the AppContainer – the unsung hero of the Windows app platform. So this means you can compile and package your Qt app as a UWP app package that can then run on any Windows 10 device – PC, Xbox, HoloLens, Surface Hub and Window IoT Core!Įven if you are building only for desktop PC, this can be interesting to consider if you want to take advantage of new Windows 10 UWP APIs or modern app deployment incl. And I mean UWP proper here, not Desktop Bridge for PCs. So what to do here? Qt support for UWPĪ little know fact about the Qt application framework is that it is compliant with the UWP app model and API specifications. The latter exclusively runs UWP applications, but UWP apps typically can’t run on Raspbian. One of my requirements for the app was that it needs to run with Raspbian (Linux) as well as with Windows IoT Core installed on my Pi. I was looking for an app framework for a simple app I wanted to write for my Raspberry Pi 3. Ok, the title sounds like technology bingo – three apparently unrelated technologies.