Coexistence

By default, the IDE uses the last installed version of the QNX software that appears in the Select Install list on the Global QNX Preferences page (select Window > Preferences , and then select QNX).

Using toolchains from earlier releases

You can have a QNX Software Development Platform version 6.5.0 installed on the same machine as QNX Momentics 6.4.1, 6.3.x and 6.2.x, and in most cases, the IDE installed with version 6.5.0 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. Use QWinCfg for Windows, or use qconfig for other hosts, to set the version of the QNX Momentics Tool Suite for the IDE you want to use.
  2. Start the IDE.
  3. Select Window > Preferences , and then select QNX.
  4. Select Use Environment Variables from the Select Install list on the Global QNX Preferences page.

  5. Click OK for the changes to take effect.
  6. 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 or QWinCfg setting as the default version of the operating system.
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.

On Windows hosts, you can use the configuration program (QWinCfg) to let you change versions of the QNX Momentics Tool Suite for the IDE, and on Linux, use qconfig. You can have a QNX Software Development Platform version 6.5.0 installed on the same machine as QNX Momentics 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.

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.
Related concepts
General migration considerations
Compiler issues
Binary compatibility
CDT impact on the IDE
IDE location
Missing features in context menus
Reverting to an older version of the IDE
Related tasks
Old launch configurations don't switch perspectives automatically
System Builder Console doesn't come to front