Version: 2022.3
Language : English
Get started with QNX
QNX Player settings reference

Install the Unity Editor for QNX

You can install and set up the Unity Editor for QNX on Linux, macOS, and Windows.

Note: Unity Editor for QNX is available under separate terms. For licensing and download information, contact your Account Manager or the Unity Sales team.

System requirements

The system requirements for the Unity Editor, Player, and Server are outlined in the System requirements.

Install Unity for QNX

Follow the steps described below to set up the Unity Editor to run on devices that use QNX.

Prerequisites

  • You must have installed the QNX Software Center.
  • Before starting the Unity Editor, make sure the QNX SDP Environment is set up correctly for the Editor to pick it up.

Linux installation

  1. Unpack Unity.xz to install Unity setup for QNX to a folder of your choice.

  2. Unpack UnitySetup-QNX-Support-for-Editor.xz to install Unity Editor for QNX to the same folder.

  3. Open a shell terminal and run: source path/qnxsdp-env.sh to set up the variables and start the Editor from there.
    Alternatively, you can set the environment variables QNX_TARGET and QNX_HOST either in the current shell terminal or set them globally, and then start the Editor.

  4. Add the following environment variables:

    QNX_TARGET=/path/to/target/qnx7

    QNX_HOST=/path/to/host/platform/arch

    MAKEFLAGS=-I$QNX_TARGET/usr/include (for QNX 7.0 only)

    Add to PATH: $QNX_HOST/usr/bin (for QNX 7.1 only)

macOS installation

  1. ​Double-click Unity.pkg to install it in a folder of your choice.

  2. Double-click UnitySetup-QNX-Support-for-Editor.pkg and install it in the same folder.

  3. Open a shell terminal and run: source path/qnxsdp-env.sh to set the environment variables in the local shell and start the editor from there.
    Alternatively, you can set the environment variables QNX_TARGET and QNX_HOST either locally in a terminal or globally, and then run the editor.

  4. Add the following environment variables:

    QNX_TARGET=/path/to/target/qnx7

    QNX_HOST=/path/to/host/platform/arch

    MAKEFLAGS=-I$QNX_TARGET/usr/include (for QNX 7.0 only)

    Add to PATH: $QNX_HOST/usr/bin (for QNX 7.1 only)

Windows installation

  1. Double-click UnitySetup64-QNX.exe to install Unity setup for QNX to your preferred location.

  2. Double-click UnitySetup-QNX-Support-for-Editor.exe to install it in the same folder.

  3. Open a command prompt and run the qnxsdp-env.bat file to set the variables in the local shell terminal, and start the Editor from there. Alternatively, set the environment variables QNX_TARGET and QNX_HOST either locally in the current command prompt or set them globally, and then start the Editor.

  4. Add the following environment variables:

    QNX_TARGET=/path/to/target/qnx7

    QNX_HOST=/path/to/host/platform/arch

    MAKEFLAGS=-I$QNX_TARGET/usr/include (for QNX 7.0 only)

    Add to PATH: $QNX_HOST/usr/bin (for QNX 7.1 only)

Project setup

You don’t need to set up the project further. When you’ve created or opened a project, the QNX Platform is available.

Troubleshooting

If you notice one of the below issues in the Build Settings window, then the QNX DSP Environment isn’t set up correctly:

  • Unable to find QNX_TARGET in Environment.
  • The build environment does not fit the selected QNX Version.
  • The build environment does not contain the selected QNX Architecture.

Before starting the Editor, always check that you have the QNX DSP Environment set up properly for the Editor to pick it up.

Additional resources

Get started with QNX
QNX Player settings reference