About migrating
When you migrate your workspace and projects from IDE 4.0.1 (SDP 6.3.2) to
IDE 5.0 (SDP 6.6.0), there are two areas that require updating: your
workspace and the migration of your existing projects.
Migrate your workspace
Your workspace is automatically upgraded the first time you launch the new IDE. This process is entirely automated and can't be prevented.
You might receive an error message during this process with the following text:
Could not restore Workbench layout.
Reason: Problems occurred restoring workbench.
This message 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 being displayed when you load the
IDE (and to
prevent a similar error when you exit the
IDE):
- Switch to the IDE workbench, if necessary.
- Choose from the menu.
- Switch to each of your open perspectives, and repeat step 2.
Note: This error reappears 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 remove 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.
Note the following:
- By default, the IDE offers to put your workspace in
home_directory/ide-5.0-workspace on Linux and on Windows
(whereas in QNX SDP 6.5.0 it was ide-4.7-workspace, in 6.4.1 it was
ide-4.6-workspace, in 6.4.0 it was ide-4.5-workspace,
in 6.3.2 it was ide-4-workspace, and earlier the default was
workspace), so now there's less chance of accidentally migrating your old
workspace.
- When you import existing projects, you now have the option of making a copy of it in your
workspace. This is preferable because it leaves the original untouched as a backup.
Note: Many project options have changed from the QNX Momentics Development Suite version 6.3.x (and earlier)
to QNX SDP 6.6. Although the conversion process attempts 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.
Migrate your projects
Like your existing workspace, your projects are automatically upgraded to take advantage of the new
IDE, except for managed make projects.
Note: If you want to use any of your existing managed make projects created in earlier
versions of the IDE in QNX Momentics IDE version 4.0, these
projects can't automatically be converted. You'll need to create a new managed make
project in QNX Momentics IDE version 5.0 for each project you want to convert, and then
copy the source code directly to the new project.
To complete the migration of your projects to the new IDE:
If your project is a QNX C/C++ project:
- Select QNX C/C++ Project in the list on the left, then the
Make Builder tab to display the Make Builder
settings:
- Check the Clean box in the Workbench Build
Behavior group, and enter clean in the text field.
- Click Apply to save your settings, or OK to save
your settings and close the dialog.
- Repeat this process for each of your projects.
If your project was a Make C/C++ project:
- Follow the instructions in Creating an empty Makefile project.
- Import your project data into the newly created project.
- Follow these steps for each make project.