Creating a simple project

To create a simple hello world type of program:
  1. In the C/C++ perspective, click the New C/C++ Project button in the toolbar.

    New QNX C Project button

    (You can use the dropdown menu to create different types of C/C++ projects.)

    The New Project wizard appears.

    Note: There are actually several ways to open the New Project wizard. For details about the wizards, see the Creating a C/C++ project chapter in this guide.
  2. Name your project, and then select the type.

    For detailed information about each of the Project Types see Creating a project in the Getting Started chapter.

    Note: Although the wizard allows it, don't use any of the following characters in your project name:

    | ! $ ( " ) & ` : ; \ ' * ? [ ] # ~ = % < > { }

    Using these characters in a project name will cause problems later.

  3. Select a required toolchain from the Toolchain list.
  4. Click Next.
  5. Select the types of platforms and configurations you want to deploy for this project.
  6. Optional: Click Advanced Settings to edit the project's properties.
  7. Expand C/C++ Build and select Settings.
  8. Click the Binary Parsers tab.
  9. Select a parser. For information about selecting a binary parser, see the Binary Parser tab.
  10. Select the Build Variants tab.
  11. If you want to build both Debug and Release variants of your program, select the build variant that matches your target type.
    Note: For a non-QNX project, you'll also see Coverage and Profiling configurations.

    If you don't want to build both Debug and Release variants, expand the item for your target type and disable Debug or Release. For information about build variants, see the Build Variants tab.

    Note:

    If you have the Memory Analysis tool or Application Profiler tool (or both) selected for your configuration, you can only set either the debug or the release variant when you create a project.

    For a managed project, to make a change to your existing variant(s), you'll need to select File > Clean and then build again to apply the new build options before you make the change to the target variant(s).

  12. Click OK.
  13. Click Finish.

    The IDE creates your new project in your workspace, and your new project is displayed in the Project Explorer view. If a message box prompts you to change perspectives, click Yes.

For information about converting existing projects, see Converting a QNX project to a managed make C/C++ project.

Related concepts
Managed make projects
Choosing an indexer
Related tasks
Creating a make project