Qt development for OLED and TFT screens on Raspberry Pi
-
Hi all,
I am trying to understand how Qt application talks with a display (could be I2C based or SPI based like ILI9341) on an embedded device (I plan to use Raspberry Pi).
For example, suppose I develop a simple dialog box with a button on Qt creator. How do I display this UI on any screen that is connected on my Raspberry Pi. Where in Qt creator can I configure this? and if so how does the application know which SPI port the device is using. What I am trying to get at is that how do I specify my display device for Qt to correctly display it. Do I have to use the library for the said displays (OLED/TFT).
Any suggestions are welcome and please let me know if you need any clarification about my question.
Best,
Vishnu
-
Hi and welcome to devnet,
That's usually the role of your system to provide access to the display. If you can start your RPi and it shows something there, then it's already a good start as it means it's a device that is seen as a screen.
If running Qt standalone, you can check this part of the documentation about embedded devices development.