Contents
Can you use raspberrypi2eglfs-qt on embedded Linux?
For detailed, generic information about eglfs and Qt on Embedded Linux check the Qt documentation. Qt 5.6 with Raspbian Wheezy / Jessie Qt 5.9.1 with Raspbian Stretch on Raspberry 3 model B Qt 5.10 with Raspbian Stretch on Raspberry 1 model B Qt 5.10.1 with Raspbian Stretch on Raspberry 3 model B Qt 5.10.1 with Raspbian Stretch on Raspberry Zero W
Can you run Qt5 on a Raspberry Pi?
You will not be able to run qmake and make on the Raspberry Pi itself if you cross compile. This tutorial is meant to show you how to natively compile Qt 5 on the Raspberry Pi so that you can use qmake and make on the Raspberry Pi itself without cross compiling or relying on an external desktop.
What is cross compile parameter on Raspberry Pi?
The CROSS_COMPILE parameter is the path to the compiler (without the g). If you do not do this properly it will complain that it is not being cross compiled.
What should the DPI be on raspberrypi2eglfs-qtbase?
When using ordinary monitors via HDMI, the default 100 dpi may be acceptable. It is also wise to carefully check the output of configure (saved as config.summary) before proceeding to build qtbase.
Is it possible to deploy Qt as an executable?
Deploying Qt’s Libraries Unless Qt is part of the system libraries it must be redistributed with your application. The minimum is to redistribute the run-time of the libraries used by the application. However, with static linking, the Qt run-times can be compiled into the executable.
How to experiment with Qt on Raspberry Pi?
For the Raspberry Pi Camera Module take a look at the raspistill application sources for an example on how to get the camera preview image into an OpenGL texture. If you wish to experiment with Qt Multimedia, try the following:
How to deploy plugin based applications in Qt?
To deploy plugin-based applications, you can use the shared library approach. Shared libraries also provide smaller, more flexible executables. For example, using the shared library approach, the user is able to independently upgrade the Qt library used by the application.