This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
You can select a topic from this diagram:
You can easily migrate your old workspace and projects to this release.
Upgrading from a previous version of the IDE involves two basic steps:
Step 1 -- converting your development workspace to be compliant with the latest version of the IDE framework. The IDE performs this process automatically at startup when it detects an older workspace version.
You can redirect the IDE to point at different workspaces
by launching it with this command:
qde -data path_to_workspace |
Step 2 -- converting your individual projects. Depending on which version of the IDE framework you're migrating from (6.2.0 or 6.2.1), you'll have to take different steps to convert your projects.
In addition to the many fixes and enhancements to the QNX plug-ins, Service Pack 2 introduces a completely new version of the IDE, based on Eclipse 3 and CDT 2.
For a list of new workbench features, see What's New in 3.0 in the Workbench User Guide (Help-->Help Contents-->Workbench User Guide-->What's new).
For a list of new CDT features, see What's new in the CDT? in the C/C++ Development User Guide (Help-->Help Contents-->C/C++ Development User Guide-->What's new).
In addition to information about migrating your workspace and your projects, this section includes some issues you might run into.
Your workspace is automatically upgraded the first time you launch the new IDE. This process is entirely automated and cannot be prevented. If you might need to revert to an older version of the IDE, be sure to read the Reverting to an older IDE section.
You will see an error message on-screen during this process:
This is caused by internal changes to many of the perspectives commonly used for C/C++ development. You can safely ignore this error.
To prevent this error from coming up every time you load the IDE (and to prevent a similar error when you exit the IDE):
This error will reappear later if you open a perspective that's currently closed, but that had been used at some point in the older IDE. Use this same process to get rid of the error message. |
Resetting the existing perspectives also gives you full access to all of the new features available in views that were open in those perspectives.
Like your existing workspace, your projects are automatically upgraded to take advantage of the new IDE.
To complete the migration of your projects to the new IDE:
If you have the Intel C/C++ Compiler installed, your will need to update the Error Parser tab in the Properties dialog for each of your projects using ICC.
In the list of error parsers, you'll notice a selected blank entry, and an unselected entry for the ICC error parser:
The selected blank entry is for the 6.3.0 ICC error parser, and the new ICC error parser is the 6.3.0 Service Pack 2 error parser.
If you're using a 6.3.0 workspace instead of a new 6.3.0 Service Pack 2 workspace, you may get errors when doing a file search (Search-->File...):
You can ignore this error; it doesn't affect the search results.
To get rid of this error when doing file searches, create a new workspace and import your previous projects into the new workspace.
When you load an existing project created with an older version of the IDE, the IDE updates the project to take advantage of new features. This can cause problems if you try to load the project into an older version of the IDE.
If you plan on reverting to an older version of the IDE, you need to make a backup copy of your workspace before using the new version of the IDE.
Your workspace is located in C:/QNX630/workspace under Windows, or ~/workspace under QNX, Linux, and Solaris.
Do not use cp to back up your workspace under Windows; use xcopy or an archiving/backup utility. |
You can also import an existing project to an older version of the IDE:
If you're missing new features in context menus, such as the ones available in the C/C++ Projects perspective, or if you're missing standard views, such as the Problems view in the C/C++ perspective, you need to reset your perspective.
To reset your perspective, follow the instructions in the Migrating your workspace section.
By default, the System Builder perspective's Console view doesn't automatically switch to the front when building. In the new IDE, changed views change the style of the view title.
If you prefer the old behavior and want the Console to automatically come to the front during a build:
Because of the internal data structure changes, launch configurations created with an older version of the IDE won't automatically switch to the Debug perspective when used as a debug configuration.
To fix this problem:
This conversion is a one-way process. Although your data files will remain intact, you won't be able to use this workspace with earlier versions of the IDE. |
Click Yes to update your System Builder project, or No to leave it in the 6.2.1 format. You won't be able to use the project with the 6.3 IDE unless you update it.
This is to be expected, because we're upgrading the minor version of installed components, so there may be some UI adjustments. Click OK.
Now you're ready to migrate your existing projects to 6.3.0.
If the 6.3.0 IDE detects any 6.2.1 C/C++ standard make projects at startup, you'll be prompted to convert these projects to the new format:
You must run this conversion process over each 6.2.1 project so it can take full advantage of the new features of the C/C++ Development Tools.
QNX C/C++ projects are automatically converted to the new project format. |
At startup, the conversion wizard automatically checks for projects to convert. Note that you can convert older projects that were never in the workspace (e.g. projects you've brought in via a revision control system).
You can access the Make Project Migration wizard at any time:
Open Window-->Customize Perspective...-->Other-->Update Make Projects |
The IDE will then add an icon (Update Old Make Project) to the toolbar so you can launch the conversion wizard. The icon is activated whenever you select projects that are candidates for conversion.
The conversion wizard looks like this:
This is to be expected, because we're upgrading the major, incompatible versions of installed components and of the workspace itself. Click OK.
Now you're ready to migrate your existing projects to 6.3.0.
The format of 6.2.0 C/C++ projects (include QNX projects) is incompatible with the 6.3.0 format -- you must follow these steps to convert your old projects:
Use the appropriate conversion wizard:
For this type of project: | Open this wizard: |
---|---|
Standard C/C++ | File-->New-->Other...-->C-->Convert to a C/C++ Make Project |
QNX C/C++ | File-->New-->Other...-->QNX-->Migrate QNX 6.2.0 Projects |
Many project options have changed from QNX 6.2.0 to QNX 6.3.0. Although the conversion process will attempt to maintain configuration options, you should verify your individual project files to make sure any new settings have been initialized to the values you want. |