Creating a target connection
A target connection defines connection settings for a target machine. Each connection provides a launch target that you can select in the launch bar to specify where an application is to run.
These instructions assume you have a target machine that you plan to connect to through a specified hostname or
IP address. There are other target types you can use, as explained in Supported target types
.
For the target connection to be active (and hence, usable for launching applications), you must ensure
that the corresponding target is accessible to the host machine through TCP/IP.
Information on setting up an IP link with a target is given in IP communication
.
-
In the launch bar at the top of the IDE UI, click the button for the Launch Target
dropdown, which is the rightmost dropdown:
- Select New Launch Target to open the launch target wizard selector.
- Select QNX Target in the list of target types, then click Next to open the New QNX Target window.
- Optional:
In the Target Name field, you can uncheck the Same as hostname box
and enter a nondefault name for the launch target.
For convenience, this box is initially checked so the value entered in the Connection field (in the next step) is used as the launch target name.Note:This IDE dialog uses the standard networking term of hostname to refer to the name of the machine you're connecting to. In this case, it's the target machine, not the host (development) machine.
-
In the Connection field, enter either the hostname or IP address of the target machine.
The port number is preset and is used by the qconn agent, which handles IP communication.
- Click Finish to create the target connection.


You can now select the new launch target to tell the IDE to debug, profile, or run an application on the target using the corresponding connection settings.
You can also edit the target connection settings
by clicking the button ()
on the right of its name.
- Sending a signal to a process
- Gathering profiling data from a process
- Terminating a process from the launch bar
- Increase the qconn priority (e.g., to 21); its default priority is 10.
- Decrease the priority of the busy process (e.g., to 9); this can be configured in the Arguments tab of the launch configuration, when launching the process.
- For a virtual machine target, configure the target to have more cores; this is especially recommended for QNX VM targets.
- Increase the qconn socket timeout, by specifying the following line in qde.ini:
Dcom.qnx.qconn.defaultReadTimeout=30000
. This example makes the timeout 30 seconds, but this may not work depending on how badly the process starves the CPU.