Setup the MNE-CPP QtCreator wizard

From MNE-CPP Wiki
Revision as of 15:13, 14 July 2016 by LorenzE (Talk | contribs)

Jump to: navigation, search

The following steps will show you how to setup the MNE-CPP QtCreator wizard. This wizard is of great help to conveniently create new C++ classes, which are conform with all the MNE-CPP coding conventions. This helps a great deal when contributing your code to the MNE-CPP main repository at a later point in time.

  1. Navigate to your MNE-CPP repository \tools\coding_conventions\qtCreator_wizard
  2. Copy all subfolders to your QtCreator installation folder \share\qtcreator\templates\wizards\classes. Usually QtCreator is installed in your Qt distribution's \Tools folder.
  3. Restart QtCreator.
  4. Now you should be able to right click on the project where you want to add a new class and see the MNE-CPP category appear in the wizard.