Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Simple Camera Example wanted
i would like to learn how to manage raw camera data using Qt.
Would be great if could see some elementary code for reading
raw pixel data and display them as picture.
Just to make things clear, are you talking about the RAW file format or the raw data coming from a camera ?
You are right, the question is not clear.
Things i want to do is to read a 16x4 IR Sensor Array, which delivers
raw data via I2C. This is input of a microcontroller which delivers this data
via serial port to the pc. The Qt-part on PC should be able to display 64 x 16bit Arraydata and swapping picture to the next incoming dataarray sufficient quickly.
I thing i 'll do something with QDataStream and QByteArray, but i do not know
which classes are able to display the data as pic, QPixMap, QImage, etc.
link to the Sensor, in background is an application visible, which is whati want to do.
I think QImage is a good point to start
If you do the processing in a background thread then you need QImage, otherwise you could go directly with QPixmap