Does anyone knows how to draw an image in Linux, Raspberry Pi, Qt with double framebuffer in same time. I mean i want to run my application on LCD display and draw image to HDMI in same time.
相关问题
- QML: Cannot read property 'xxx' of undefin
- Is shmid returned by shmget() unique across proces
- QTextEdit.find() doesn't work in Python
- how to get running process information in java?
- Error building gcc 4.8.3 from source: libstdc++.so
I wrote this code, but I saw a lot of questions on the Internet how to display the image on Linux fraimbuffer. I'll leave it here, maybe someone need help with it. That code was tested on Raspberry Pi 2 model B,B+ and Linux Kernel 4.4.y. with Qt 5.6
File: fbdi.pro
File: fbdi.cpp