Hi I'm new to embedded linux development and QT. I got a Boundary Devices Nitrogen6X, which uses the i.MX6 processor.To build an real-time application on it, which GUI framework do I use? QT with QML or QT with C++?
In QT5. it is much easier to develop with QML. However, if you need to create customs items/widgets, you can do in C++.
Thanks Leo. I saw those QML GUI element are pretty simple, do I need to implement custom ones a lot or there is a full set of elements that I don't know of?
Andrew, I edited my first response. Also, take a look at the demos, there are QML and C++ ones.
Where can I find the demos? Do you mean the demos from QTCreator?
Do I create a QT Quick 1 or QT Quick 2 application for embedded linux?
If you are going to use Qt5 it is recommended to work with Qt Quick 2 applications since these are hardware accelerated and work best.
To find the themos if you already have installed Qt5 the demos and examples are found in :
QT5PATH normally would be something like /opt/qt5/, but it depends where you selected the sysroot when configuring your installation of Qt5.
This is not easy to answer. QML is nicer for some type of application and worse for others. It all depends on your use case.
Usually the part which is critical for GPU acceleration is a small part of the application and the rest of it should be done with the tool which is better for your goal, so you get it easily done and with smaller total cost.
Retrieving data ...