Coexistence

By default, the IDE uses the last installed version of the QNX software that appears in the Select SDK list on the Global QNX Preferences page.

Using toolchains from earlier releases

You can have a QNX SDP 6.6 installed on the same machine as QNX Momentics 6.5.0, 6.4.1, 6.3.x and 6.2.x, and in most cases, the IDE installed with version QNX SDP 6.6 should work with the toolchains from these earlier releases.

Changing versions of the QNX Momentics tool suite

To change versions of the QNX Momentics tool suite for the IDE:
  1. For Windows, run-qde sets up the development environment before starting the IDE, or use qconfig for other hosts in order to set the version of the QNX Momentics tool suite for the IDE you want to use.
  2. Start the IDE.
  3. From the drop-down list on the IDE title bar (QNX Software Developement Platform 6.6), select Use Environment Variables.
  4. Restart the IDE so that the changes made to the environment variables in Step 1 are recognized by the IDE.
    Note: When the IDE restarts, it always uses your current qconfig setting as the default version of the operating system (run-qde sets up the development environment before starting the IDE).

You can have QNX SDP 6.6.0 installed on the same machine as QNX Momentics 6.5.0, 6.4.1, 6.4.0, 6.3.x and 6.2.x; however, the IDE installed with version 6.5.0 doesn't necessarily work with the tool chains from these earlier releases.

Starting the IDE

Once you specify the Use Environment Variables option, when you start the IDE, it uses your current qconfig choice as the default version of the OS. If you haven't chosen a version, the IDE chooses an entry from the directory identified by QNX_CONFIGURATION. If you want to override the IDE's choice, you can choose the appropriate build target.

Before starting the IDE to set up the current development environment:
  • On a Linux host, use qconfig.
  • On a Windows host, use run-qde.

Environment variables

The configuration program sets the environment variables (listed below) according to the version of the QNX Momentics tool suite that you specify. The host uses these environment variables to locate files on the host computer:
Environment variable Description
QNX_CONFIGURATION The location of the qconfig configuration files.
QNX_HOST The location of host-specific files.
QNX_JAVAHOME A directory used for temporary files. The gcc compiler uses temporary files for the output of one stage of compilation used as input to the next stage. For example, the output of the preprocessor is the input to the compiler.
QNX_TARGET The location of target backends on the host machine.
MAKEFLAGS The location of included *.mk files.