C
Building Qt 3D Studio OpenGL Runtime for QNX
Before you build the Qt 3D Studio OpenGL Runtime for QNX, you will need to install Qt for QNX and Qt 3D Studio.
Install Qt for QNX
- Download and install QNX SDP 7.0 from the QNX software center.
- Run the Qt online installer. You can get it from https://www.qt.io/download.
- Select the desired prebuilt QNX component, select Next.
- Select the folder where your QNX SDP is installed.
- Press Next, then press Install. The Qt Creator will now run.
Build Qt 3D Studio
- 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.
- Run the following
git submodule
command:git submodule update --init --recursive
- Open
qt3dstudio.pro
in the Qt Creator.qt3dstudio.pro
is located in the root of the cloned repository. - Select desired prebuilt QNX Component.
- Press Configure Project.
- Select the Project tab and Build Settings.
- Add a build step with the argument
install
. - From the menu, select Build > Build Project "qt3dstudio".
Build the Qt 3D Studio OpenGL Runtime
- Clone the Qt 3D Studio 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 Qt 3D Studio OpenGL Runtime repo with the following command:
git clone https://code.qt.io/qt3dstudio/ogl-runtime.git
- Run the following {git submodule} command:
git submodule update --init --recursive
- Open
ogl-runtime.pro
in Qt Creator.ogl-runtime.pro
is located in the root of the cloned repository. - Select the desired prebuilt QNX component and select Configure Project.
- Add a build step with argument
install
. - From the menu, select Build > Build Project "opengl-runtime".
- The Qt 3D Studio OpenGL Runtime is installed to the same folder where you have installed the QNX prebuilt components. For example
~/Qt5.12/5.12.3/qnx7_x86_64/
.
Deploy the Qt 3D Studio OpenGL Runtime
To deploy to the target device, follow the steps below:
- In Qt Creator, select Tools > Options from the menu.
- Select the Devices tab.
- Select Add.
- Select QNX Device, then press Start Wizard.
- Select Deploy Qt Libraries. This will also deploy Qt and Qt 3D Studio binaries and libraries.
Available under certain Qt licenses.
Find out more.