Unsolved Is the Shape QML type supported by NXP 1050?
-
Hi,
I'm just learning the Qt for MCU environment. A use case I'm currently investigating requires vector graphic to draw an arc. Reading the Qt for MCU documentation I found the Shape QML type which would fulfill my application case.
In my test I have created a simple project containing a QML file with following content based on the sample code found in Qt documentation:
import QtQuick import QtQuick.Shapes 2.3 Item { width: 480 height: 272 visible: true Shape { width: 200 height: 150 anchors.centerIn: parent visible: true ShapePath { strokeWidth: 4 strokeColor: "red" startX: 20; startY: 20 PathLine { x: 180; y: 130 } PathLine { x: 20; y: 130 } PathLine { x: 20; y: 20 } } } }
Once the library Qul::Shapes is added via target_link_libraries() I can compile the code without errors and flash the target. But no outputs are displayed. The display remains black. Also no runtime error message is displayed on the console (via minicom). Using other QML types works well, so my NXP board and the development tools are working.
My questions are following:
Q1. Is the vector graphic (Shape QML type) supported on the NXP 1050 platform?
Q2. Or are there any other configurations to take in account?
Q3. If not, what alternative do I have to display vector graphic on NXP 1050?
Thanks a lot in advance!