Creating a QNX project

Project creation is done through wizards, which set up projects based on user-specified settings.

To create a QNX project:
  1. Switch to the C/C++ perspective by clicking its button (Icon: C/C++ perspective) in the toolbar in the upper right corner.
  2. Select File > New > QNX Project to launch the QNX Project wizard.
    The New QNX Project window appears, with the All category selected.
  3. Select a project category from the left-side list, click a project type in the display area on the right, then click Next.
    In this example, we pick the QNX Executable type.
  4. In the New Project dialog, enter a name in the Project name text field.
    Note: Although the wizard allows it, don't use spaces or any of the following characters in your project name:
    | ! $ ( " ) & ` : ; \ ' * ? [ ] # ~ = % < > { }
    These characters cause problems later with compiling and building, because the underlying tools such as make and qcc don't like them in directory and file names.
    In the same dialog, you can also override the project storage location and specify the working sets that you want the project to belong to.
  5. Configure these build settings for the project:
    • the programming language, either C or C++
    • for QNX Library projects, the library type, either shared or static (this field isn't present for our QNX Exectuable example project)
    • the CPU variants, which specify the processor architectures for which the binary files are built
  6. Click Finish.
The IDE does the following: