Developing Projects with the IDE

To use the QNX Momentics IDE to write applications targeted for QNX Neutrino systems, you must define projects, which are containers that store your source code, configuration files, and binary files.

The IDE contains wizards for creating projects based on programming language and whether you're writing an application or library. In this guide, we focus mostly on QNX projects, which support C or C++ programs on multiple processors, with standard or recursive makefiles. You can create non-QNX projects that are supported by the Eclipse platform; see Creating a non-QNX project for details.

The general procedure of developing and running an application is as follows:
  1. Create an application project using the appropriate wizard.
  2. Write the code to implement whatever functionality your application is meant to provide. Or, import existing code that provides this functionality.
  3. If you want to add libraries to your project, update the makefile as needed.
  4. Build the application to produce a binary. Fix any errors and rebuild the application as necessary.
  5. Run the application on the target and verify the proper behavior.

These steps are explained in the sections that follow, which demonstrate how to develop and run a “Hello World” application. We don't provide an example of developing a library project, but you can follow steps 1 through 4 to do this.