GUI Framework for Boundary Devices Nitrogen6X

cancel
Showing results for 
Search instead for 
Did you mean: 

GUI Framework for Boundary Devices Nitrogen6X

854 Views
az
Contributor I

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++?

Labels (2)
Tags (3)
0 Kudos
6 Replies

415 Views
OtavioSalvador
Senior Contributor II

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.

0 Kudos

415 Views
LeonardoSandova
Specialist I

Hi Andrew,

In QT5. it is much easier to develop with QML. However, if you need to create customs items/widgets, you can do in C++.

Leo

0 Kudos

415 Views
az
Contributor I

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?

0 Kudos

415 Views
LeonardoSandova
Specialist I

Andrew, I edited my first response. Also, take a look at the demos, there are QML and C++ ones.

0 Kudos

415 Views
az
Contributor I

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?

0 Kudos

415 Views
FranciscoCarril
Contributor V

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/examples/quick

QT5PATH normally would be something like /opt/qt5/,   but it depends where you selected the sysroot when configuring your installation of Qt5.