Building for QNX

From Qt Wiki
Revision as of 19:08, 11 June 2019 by Mats (talk | contribs) (Created page with "Before you build the OpenGL Runtime for QNX, you will need to install Qt for QNX and Qt 3D Studio. == Install Qt for QNX == 1. Download and install QNX SDP 7.0 from the [htt...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Before you build the OpenGL Runtime for QNX, you will need to install Qt for QNX and Qt 3D Studio.

Install Qt for QNX

1. Download and install QNX SDP 7.0 from the QNX software center.

2. Run the Qt online installer. You can get it from https://www.qt.io/download.

3. Select the desired prebuilt QNX component.

[image 1]

4. Select the folder where your QNX SDP is installed.

[image 2]

5. Press Install. The Qt Creator will now run.

Install Qt 3D Studio

1. Clone the Qt 3D Studio repository from https://code.qt.io/qt3dstudio/qt3dstudio.git. You can clone the repo with the git clone command:

 git clone git://code.qt.io/qt3dstudio/qt3dstudio.git

Note: If you want to use the HTTPS protocol, you can clone the Qt 3D Studio with the following command:

 git clone https://code.qt.io/qt3dstudio/qt3dstudio.git

2. Open qt3dstudio.pro in the Qt Creator. qt3dstudio.pro is located in the root of the cloned repository.

[image]

3. Select desired prebuilt QNX Component.

4. Press Configure Project.

5. Select the Project tab and Build Settings.

6. Add a build step with the argument install.

7. From the menu, select Build > Build Project.

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. In Qt Creator, select File > Open Project or File.

3. Browse to the root folder of the cloned Open GL Runtime repo, select ogl-runtime.pro and select open.

4. Select the desired prebuilt QNX component and press Configure Project.

[image]

5. Add build step install

[image]

5. Build.

6. The Runtime is installed in the same folder where you have installed the QNX prebuilt components.

Deploy the OpenGL Runtime

To deploy to the target device, follow the steps below:

1. In Qt Creator, select Tools > Options.

2. Select the Devices tab

3. Select Add, and select QNX Device.