Tutorial 4: Importing a QNX BSP into the IDE

QNX BSPs are distributed as .zip archives. You can import these packages into the IDE.
To import a BSP:
  1. Click File > Import, then expand QNX.
  2. Select QNX Source Package and BSP, then click Next.

    Specify the method that you want to use to select a file: either a Foundary27 SVN repository or a local archive file (i.e. $QNX_TARGET/usr/src/archives).

  3. For this tutorial, select Import from Foundry27 SVN repository, then click Next.
  4. Select a package by specifying a name in the Search Package by Name field, or expand the existing packages in the Known Foundry27 Source Packages list to pick a package from there.

    The panel shows the Foundry27 packages in a tree structure. The packages are expandable if they contain sub-packages. The Description field provides a brief description about the selected package.

  5. For this tutorial, select the x86 BIOS package, then click Next.

    If this is the first time you're performing a checkout from Foundry27, the SVN New Repository Wizard is displayed.

    You need to specify your user ID and password that correspond to your Foundry27 account. Also, you need to be successfully authenticated before you can proceed to the next panel.

  6. Click Finish to begin importing the package.

    You might see a list of dependent package(s) with a warning message at the bottom of the panel. The package won't build if you don't check out the dependencies for the selected package.

    Note: You might have to select any required dependency checkbox(s); you need to select which dependent package(s) to check out at the same time.

    The IDE sets up the required project properties (compiler options, build targets, and so on) so that the projects are able to build after the checkout process. In addition, the IDE maintains the source tree layout (to preserve the current status of the checked out source), sets up prebuilt and staging areas for the project (when necessary), and also creates the BSP project.

  7. After the checkout of the BSP completes, right-click on the BSP project and select Build.

    The src project will be auto-built by the BSP project.

    The IDE will build all of the source under one project. Because the IDE creates a dependency between the BSP project and the src project, you don't need to build the src project.

    When you import a QNX BSP, the IDE opens the QNX BSP perspective. This perspective combines the minimum elements from both the C/C++ perspective and the QNX System Builder perspective.

Congratulations! You've just imported a QNX BSP into the IDE.