Building for Embedded Linux: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 13: Line 13:


2. Run the following ''git submodule'' commands:
2. Run the following ''git submodule'' commands:
   ''git submodule init''
   ''git submodule update --init --recursive''
  ''git submodule update''


3. Open ''ogl-runtime.pro'' in Qt Creator. ''ogl-runtime.pro'' is located in the root of the cloned repository.
3. Open ''ogl-runtime.pro'' in Qt Creator. ''ogl-runtime.pro'' is located in the root of the cloned repository.
Line 26: Line 25:
5. Add a build step with argument ''install''.
5. Add a build step with argument ''install''.


[[File:Opengl runtime build step.png]]
[[File:Embedded-linux-2.png]]


6. From the menu, select ''Build'' > ''Build Project "opengl-runtime"''.
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.
== Deploy the OpenGL Runtime ==
  I.e. ''~/Qt5.12/5.12.3/qnx7_x86_64/''
 
== Deploy The OpenGL Runtime ==


Follow the [https://doc.qt.io/QtForDeviceCreation/b2qt-installation-guides.html Installation guide] for your specific target device.
Follow the [https://doc.qt.io/QtForDeviceCreation/b2qt-installation-guides.html Installation guide] for your specific target device.

Latest revision as of 10:18, 14 June 2019

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 update --init --recursive

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.

Embedded-linux-2.png

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

Deploy the OpenGL Runtime

Follow the Installation guide for your specific target device.