Home
Developer Resources
Technical Articles

QNX Technical Articles

QNX Software Development Platform 6.6: Installation NoteWindows Hosts

Date of this edition: Wednesday, January 25, 2017

Target OS: This development suite produces software that's compatible with targets that are running the QNX Neutrino RTOS 6.6.

Host OS: You can install this package on Microsoft Windows 8 Professional 64-bit, Microsoft Windows 7 Professional 64-bit, or XP Professional SP3.

Note:
  • If you installed an alpha version of this software, uninstall it before installing the production version.
  • If you've already installed an evaluation version of QNX SDP 6.6, and you've purchased and received a commercial QNX license or you've received an evaluation extension license, see Commercializing your evaluation software,” below.

This installation note contains the following:

Before you start

Before you install this software, please note the following:
  • QNX SDP includes the QNX Momentics Tool Suite, which you can use to develop applications to run on the QNX Neutrino RTOS on a separate target system.
  • We post CRC and MD5 checksums with the packages in the Download area on our website. If you download a DVD image or an installer from our website, make sure that its checksum matches that given on the website. On Unix-style OSs (e.g. QNX Neutrino, Linux), you can use the cksum utility to calculate the CRC checksum. Microsoft doesn't support such utilities on Windows, but they're available from third parties.
  • There are several QNX Development License streams that govern how QNX SDP can be used in different situations. The key on your license certificate will cause the appropriate license agreement to be displayed when you install QNX SDP; that development license governs your use of the product.

    Once you've installed QNX SDP, you'll find a copy of all the license agreements in base_dir/install/qnx-sdp/6.6, where base_dir is where you installed the software.

    For more information about licensing, visit the Licensing area of http://www.qnx.com, where you'll find details on our licensing model, types of licenses, etc., or email licensing@qnx.com.

  • QNX SDP 6.6 can coexist with QNX CAR 2.0, QNX Software Development Platform 6.5.0, 6.4.0, and 6.4.1, and QNX Momentics 6.3, but if you want QNX SDP 6.6 to replace an older version, you must uninstall the older versions and any updates to them before installing 6.6.
  • For information about new features and known issues in QNX SDP, see the release notes. For the most up-to-date version, go to our website (http://www.qnx.com), log in to your myQNX account, and then go to the Download area.
  • For information about using BSPs with QNX SDP 6.6, see the BSPs and Drivers project on Foundry27.
  • If you log in as a non-administrative user and launch the installer using Run as Administrator, the Desktop and Start Menu icons are created for the Administrator's account, not for the user performing the installation.
  • We provide the Korn shell (ksh.exe), which you'll find under ${QNX_HOST}/usr/bin (e.g. C:\qnx660\host\win32\x86\usr\bin). You may want to create desktop shortcuts for the executables you'll use often.
  • On Windows, the QNX-provided echo.exe interprets the Windows \ separator as an escape character. As a result, environment variable settings won't work if you use \ as a path separator; use / instead. (Ref# 19924, J142704)
  • If your PATH contains quotation marks, ln-w doesn't work properly.

System requirements

Host OS:
  • Windows 8 Professional 64-bit
  • Windows 7 Professional 64-bit
  • Windows XP Professional SP3
Minimum Recommended
Processor Pentium III, 700 MHz Pentium 4, 2 GHz or more
RAM 256 MB 512 MB
Disk space 2.5 GB 3.4 GB
Monitor 1024768 12801024

The System Profiler in the IDE requires a minimum color depth of 16 bits.

Installing QNX SDP

To install QNX SDP, do the following:

  1. If you're using Windows 7, you might have to disable User Account Control (UAC), depending on where you want to install the software. (Ref# 77791, J237891)
  2. Log in to your myQNX account on our website, and then go to the Download area.
  3. Download the QNX SDP 6.6 package, qnx-sdp-6.6-nnnnnnnnnnnn.exe, where nnnnnnnnnnnn is a build number. The package is an executable (.exe) file.

    Windows might insert a number in square brackets before the first period in the filename, but these extra characters shouldn't cause any problems.

  4. Verify that the checksum of the package matches the one given in the Download area.
  5. If you're installing QNX SDP 6.6 on a Windows 7 host that has an existing installation of QNX CAR 2.0 RR, you must manually set your QNX_CONFIGURATION environment variable:
    1. In the Start menu, right-click on Computer.
    2. Select Properties and then click Advanced system settings.
    3. Click Environment Variables.
    4. Under System Variables, click New...
    5. In the Variable name field, type QNX_CONFIGURATION.
    6. In the Variable value field, type the path to the .qnx directory in your previous installation.
    7. Click OK.
  6. Double-click the installer file in Windows Explorer or run it at the command line.
    Note: Windows XP may display a security warning when you install QNX SDP. You can verify the archive's checksum when you download the file from our website.
  7. Follow the instructions on your screen. We recommend you use the default location for the software, C:\qnx660.
    • If you install QNX SDP 6.6 on a host with an existing installation of QNX SDP 6.5.0, the installer asks if you want to use the same QNX_CONFIGURATION directory. If you choose “Yes”, QNX SDP 6.6 licenses are written to the same license file as your QNX SDP 6.5 licenses, and you'll be able to use the Configuration tool or the IDE to choose which version of QNX Neutrino you want to develop applications for. Choosing "No" causes the installer to use QNX SDP 6.6 configuration settings. (Ref# 260840, J393849)
    • If QNX Software Systems has a contract with you to support server-based licenses (Automated License Management), you have a special license key that tells the software to enforce these licenses. In this case, the installer presents a panel where you can specify the hostname or IP address of the server, and the port on which the server is listening for connections. If you're using the default port, you can leave the port blank.

Unattended installation

After you've installed QNX SDP once, you can run the installer unattended on other machines:

  1. Run the installer in graphical mode to generate a response file:
    installer-name r path/installer-responses.txt
      
  2. Use the response file to do further installations in unattended mode:
    installer-name f path/installer-responses.txt i silent
      

Setting up your environment

To set up the environment in a command shell, run:

base_directory\qnx660-env.bat

where base_directory is where you installed QNX SDP (see Determining your base directory,” below). If you can't remember where you installed this product, search for qnx660-env.bat. This file is in the base directory.

Activating the tools

The QNX Momentics Tool Suite and certain related products require activation. If you don't activate the product within the specified timeframe, the product will cease to function until you activate it. No personal data is transferred during the activation process. If your license key indicates that you have a “named user” license, the activation requires that you provide an email address.

Activating automatically

If your development host is connected to the Internet, you can activate QNX SDP automatically.

Activating manually

If your machine isn't connected to the Internet, you must activate your software manually from a machine that is, by doing the following:

  1. In the QNX SDP Activation dialog, click Activate Manually.

    The Manual Activation dialog appears with an activate-prompt key. This dialog has a button that you can use to save the activate-prompt key in a file, drive:\Program Files\QNX Software Systems\license\activate_prompt_key.txt, where drive is the name of the drive where you installed QNX SDP. Using this file eliminates the need to retype the key, which can be error-prone.

  2. Transfer the activate-prompt key to the machine that's connected to the Internet.
  3. Go to our website, http://www.qnx.com/, log in to your myQNX account, and choose Manual Product Activation.
  4. Enter the activate-prompt key into the form that appears, and then click Generate Response Key. This will return an activate-response key.
  5. Copy the activate-response key and paste it in a file.
  6. Transfer the file into drive:\Program Files\QNX Software Systems\license\activate_response_key.txt on your QNX SDP development host.
  7. If you closed the QNX SDP Activation dialog, open it again by entering the following at the command prompt:
    base_directory\qnx660-env.bat
    "$QNX_CONFIGURATION$\bin\qnxactivate.exe" -d "$QNX_CONFIGURATION$"
      
  8. Choose Activate Manually, and use the Load Response from File button to load the activate-response key, and then click Activate.
If you choose not to activate at the time of installation, you can activate later by entering the following at the command prompt:
base_directory\qnx660-env.bat
"$QNX_CONFIGURATION$\bin\qnxactivate.exe" -d "$QNX_CONFIGURATION$"

Commercializing your evaluation software

If you installed an evaluation copy of QNX SDP, and you've now received a commercial QNX license, do the following to add your commercial license:
  1. Set up your environment and run addLicence.exe by entering the following at the command prompt:
    base_directory\qnx660-env.bat
    base_directory\install\qnx-sdp\6.6\addLicense.exe
      

    where base_directory is where you installed QNX SDP (see Determining your base directory,” below).

  2. In the QNX SDP License Key Entry dialog, fill in the field with the license-key information.
  3. When you've finished entering the information, click Add to save the license-key information and configure your QNX SDP tools to use this file.
  4. After entering the license key, you'll be presented with the appropriate license agreement. You'll need to accept it in order to successfully add a license.

Uninstalling QNX SDP

You should uninstall QNX products in the reverse order in which you installed them. To determine this order, open a command window, set up your environment, start bash, and then use a command like this:

ls -lt `$QNX_HOST/usr/bin/find base_directory -name "*uninstall*.exe"`

where base_directory is where you installed QNX SDP.

To uninstall QNX SDP, do the following:

  1. If you're using Windows 7, disable User Account Control (UAC). (Ref# 77791, J237891)
  2. Do one of the following:
    • On Windows 7 or 8, choose Programs and Features, select “QNX Software Development Platform 6.6”, and then click Uninstall/Change.

      or:

    • Choose Add or Remove Programs from the Control Panel, select “QNX Software Development Platform 6.6”, and then click the Remove button.

      or:

    • Go to the directory that contains the base_directory folder and run base_directory\install\qnx-sdp\6.6\uninstaller.exe.
Note: If the uninstaller doesn't fully remove all the components, do the following:
  1. Delete the folder where you installed QNX SDP.
  2. Delete the “QNX Momentics” desktop shortcut and the link in the Start menu.
  3. Find and delete all occurrences of .com.zerog.registry.xml. This is a hidden file, so you must enable the Show hidden files and folders option.
  4. Delete the QNX SDP entries from the Add/Remove Program list by choosing Control Panel > Programs and Features from the Start menu, right-clicking on each QNX SDP entry, and then choosing Delete from the list.

Determining your base directory

If you have a command shell with the environment set up for QNX SDP, you can determine the base directory by using the qconfig command. For example:

C:\qnx660>qconfig
QNX Installations

  Installation Name: QNX Software Development Platform 6.6
            Version: 6.6.0
     Base Directory: C:\qnx660
           QNX_HOST: C:\qnx660\host\win32\x86
         QNX_TARGET: C:\qnx660\target\qnx6

The base directory in this example is C:\qnx660\, but it could be different on your machine, depending on where you installed QNX SDP.

If you can't remember where you installed this product, search for qnx660-env.bat, which you use to set up the environment. This file is in the base directory.

Getting started with the documentation

After you've installed QNX SDP, you'll find an extensive set of HTML documentation that you can read in the Integrated Development Environment's help system. To start the IDE, use the desktop icon or run:

base_directory\run-qde.vbs

where base_directory is where you installed the software.

The QNX Software Development Platform “roadmap” page contains links to the various HTML booksets that accompany the OS. See the Quickstart Guide for a short tutorial that will help you get started, and then refer to the other documents (System Architecture, Programmer's Guide, C Library Reference, Utilities Reference, and so on).

You can install and work with multiple versions of the QNX Neutrino RTOS. Whether you're using the command line or the IDE, you can choose which version of the OS to build programs for. For more information, see the IDE User's Guide or the QNX Neutrino Programmer's Guide.

Technical support

To obtain technical support for any QNX product, visit the Support area on our website (www.qnx.com). You'll find a wide range of support options, including community forums.