Quickstart guide

This guide will help you use the QNX Toolkit to quickly develop a program so you can run it on a QNX OS target.

Prerequisites

The QNX Toolkit has the following prerequisites:

Installation

The QNX Toolkit is an extension for Visual Studio Code that can be downloaded and installed from the Visual Studio Marketplace: https://marketplace.visualstudio.com/items?itemName=qnx.qnx-vscode

After successful installation of QNX Toolkit in Visual Studio Code, you can refer to the Overview tab found on the QNX Toolkit installation page and complete the Getting started with QNX Toolkit walkthrough. You can also refer to the steps below:

Getting started

The following table includes the necessary steps:
To: Go to:
Set the default path to the directory location where QNX projects, targets, and examples are created. By default, the QNX projects root is set to the qnxprojects directory inside your home directory. Developing QNX Projects
Configure the SDP path. Configure the directory location of the QNX Software Development Platform using the Qnx: Sdp Path setting. Alternatively, to use values from environment variables, enter use_env. Scripts for setting up the environment are provided in the root directory of your QNX SDP installation. After running the scripts, launch VS Code from the command line for the changes to take effect. For more information about the specific environment variables, go to Choosing the OS version for building programs in the Programmer's Guide chapter of Programming.
Note:

QNX Toolkit requires an associated QNX SDP to operate; it must be installed independently.

Create a default target. Enter an IP or hostname to connect to a QNX system on the network. Enter vm to begin creating a QNX OS virtual machine. Managing targets
Create a project. Create example projects to help you get started developing applications for the QNX OS. Creating a project
Debug and launch application. Debugging and Launching
Analyze system behavior with the System Profiler. Using the System Profiler
Page updated: