[Interest] QML standard components for mobile

Nuno Santos nunosantos at imaginando.pt
Fri Dec 5 13:00:45 CET 2014


In my opinion, the real power of QML is precisely the fact that you don’t need to stick to the native iOS/Android look and keep the exact same look and feel on both platforms (obviously you will have some limitations but depending on the kind of application you are developing, they will be easily overpassed).

Regarding the components, with listview, repeaters, rows, columns, grid, etc you will definitely be able to do almost everything you need.

For more desktop like controls you have QtQuickControls subset (some of them might also be useful for general application development ex: StackView). For elastic layouts you should investigate QtQuickLayouts

http://qt-project.org/doc/qt-5/qtquickcontrols-index.html <http://qt-project.org/doc/qt-5/qtquickcontrols-index.html>
http://qt-project.org/doc/qt-5/qtquicklayouts-index.html <http://qt-project.org/doc/qt-5/qtquicklayouts-index.html>

Creating custom components in QML is also a breeze. 

I think that most important to retain is the paradigm shift. Taking advantage of states, bindings, etc instead of making changes in response to events “by hand”.

The most important steps is to do something. After a couple of small applications you will be up and running in not time.

QML Book is definitely a nice resource for learning. Qt documentation as well! 

Take this info into account as well:

http://qt-project.org/doc/qt-5/qtquick-performance.html <http://qt-project.org/doc/qt-5/qtquick-performance.html>


Nuno Santos

> On 05 Dec 2014, at 11:51, Daniel França <daniel.franca at gmail.com> wrote:
> Hi all,
> I started learning QML and would like to ask for some directions.
> My purpose is for mobile development, I've already done a few projects using Qt/C++ for desktop, but I didn't code anything for mobile.
> The first thing I was trying to find is if there's already some standard mobile components for qml, like side menu, button bars, grids, etc.
> Something that would make easier to have a mockup on Fluid or something similar, and then implement it on QML.
> Would be great to have components that'll look native at IOS and Android, or at least something like a "Bootstrap" for QML.
> or if I should do implement this components myself.
> I tried to search for a set of components like that but couldn't find anything.
> I'm reading this book btw: http://qmlbook.org/ <http://qmlbook.org/>
> Thanks for any help.
> Regards,
> Daniel França
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20141205/0bfaf396/attachment.html>

More information about the Interest mailing list