Prvi koraki s Kirigamijem

Kako ustvariti svojo prvo aplikacijo s programom Kirigami

Ta vadnica vas bo vodila skozi proces ustvarjanja lastne konvergentne aplikacije z uporabo ogrodja Kirigami. Konvergentna aplikacija v tem kontekstu pomeni, da lahko uporabniki brez težav uporabljajo program ne glede na napravo, v kateri se izvaja. Če je v rabi na namiznem računalniku, se bo prilagodil velikemu zaslonu ter miški in tipkovnici; če se uporablja na mobilnem telefonu, bo sprejel vnos z zaslona na dotik in se prilagodil manjšemu pokončnemu zaslonu. In tako naprej.

Kirigami is built on top of the QML language and Qt Quick Controls 2 components provided by the Qt project. QML has built in support for touch systems, which makes it ideal for mobile apps. Qt Quick components are reusable visual items we can use when building our applications’ interfaces. Kirigami is a set of Qt Quick components designed for creating convergent applications.

While you will use QML to create the visual part of your application, the business logic – the code that does the heavy lifting for your application’s functionality – is usually created in C++ for performance reasons. We will also explore how to integrate our business logic with our UI in the tutorials below.