📜 ⬆️ ⬇️

Qt for mobile cross-platform development

I would like to introduce Ekke Gentz’s reflections on the use of Qt 5.6 in cross-platform mobile development. You can also watch a video of Ekke's performance on MobileTechCon (in English). Below is the translation notes.

Perhaps you know that my main activity is the development of business applications for BlackBerry 10. But since BlackBerry PRIV is running Android 5.1.1 (and expected 6.0), users asked me to release cross-platform applications running under BlackBerry 10, Android and iOS (and later Windows 10). I am not a fan of web or hybrid applications, and I prefer the development of native programs. On the other hand, I don’t really want to develop applications for all platforms in a native but different way using different programming languages, development environments, etc.

My development for BlackBerry 10 is conducted in the Cascades UI Framework using QML to describe UI and C ++ / Qt 4.8 for program code, networking, etc. I really like this approach for developing complex GUIs with QML.
')
Qt 5.6 came out last week and I ran some tests. Qt 5.6 contains an evaluation version of qt.labs.controls that provides all the necessary UI controls that are required for mobile applications. Also there is Google Material and Microsoft Universal Style allowing you to elegantly manage the look. New controls eliminate all the difficulties of the previous Qt Quick Controls 1, and event handling is now performed in C ++ (this has always been the case in Cascades). Starting with Qt 5.6, HDPI is supported for all available platforms. All these technical innovations, as well as the new Startup / Indie Dev proposal, prompted me to start cross-platform development with Qt. But using a commercial license is not necessary - there are options for using the Open Source license without even making your own application open. Qt has been around for over 20 years and is free and open source.

Qt allows you to reuse code for cross-platform development:



My performance at MobileTechCon was successful, and later the recording became available . The speech was in German, and I received requests for the release of the English version, so I prepared a translation of the slides and made an English webcast online:



Also, the author of the original post promises to publish a series of notes with a more detailed description of the details and tips for getting started with Qt.

Source: https://habr.com/ru/post/280107/


All Articles