Deep Tech Getting Started Qt Tips & Tricks

Qt for iOS A to Z

Oslo Room October 19, 2016 2:40 pm - 3:35 pm

Bookmark and Share

Mike Krus

Since version 5.2, Qt has been available on iOS. In this talk, we go through the process of building a simple QML application, run in the simulator, and deploy to a device. We first look at the creator project and settings that are specific to iOS such as targeted devices, SDKs, required capabilities, etc. We also look at Qt Creator tooling related to simulator and devices deployment. We will mention where Xcode still outperforms Creator, in particular when it comes to debugging and performance analysis. After looking at a simple QML app, we investigate the coverage Qt relative to the native capabilities. In particular we’ll focus on text editing, keyboard customising, keyboard avoidance, accessing the sensors (location, orientation, camera), support of different screen sizes and DPI, etc. Then we look at how integrating with the native toolkits for accessing feature not covered by the QML layer. Using Objective C++ and Qt’s iOS specific integration layer, we show how to access features from UIKit. Finally we will look at performance pitfalls that are common on iOS and how to detect and mitigate them using a variety of tools.