Building for Embedded Linux

From Qt Wiki
Revision as of 05:45, 13 June 2019 by Mats (talk | contribs)
Jump to navigation Jump to search

Before you build the OpenGL Runtime for Embedded Linux, you will need to install Qt for Embedded Linux.

Install Qt for Embedded Linux

Follow the Installation guide for your specific target device.

Build the OpenGL Runtime

1. Clone the OpenGL Runtime repository from https://code.qt.io/cgit/qt3dstudio/ogl-runtime.git/. You can clone the repo with the git clone command:

 git clone git://code.qt.io/qt3dstudio/ogl-runtime.git

Note: If you want to use the HTTPS protocol, you can clone the OpenGL Runtime repo with the following command:

 git clone https://code.qt.io/qt3dstudio/ogl-runtime.git

2. Run the following git submodule commands:

 git submodule init
 git submodule update

3. Open ogl-runtime.pro in Qt Creator. ogl-runtime.pro is located in the root of the cloned repository.

Ogr-runtime-pro.png

4. Select the desired prebuilt Embedded Linux component and select Configure Project.

Embedded-linux.png

5. Add a build step with argument install.

Opengl runtime build step.png

6. From the menu, select Build > Build Project "opengl-runtime".

7. The Runtime is installed to the same folder where you have installed the QNX prebuilt components.

 I.e. ~/Qt5.12/5.12.3/qnx7_x86_64/

Deploy the OpenGL Runtime

Follow the Installation guide for your specific target device.