Difference between revisions of "Setup the MNE-CPP QtCreator wizard"

From MNE-CPP Wiki
Jump to: navigation, search
(Created page with "The following steps will show you hwo to setup the MNE-CPP QtCreator wizard. This wizard is of great help to conveniently create new C++ classes, which are conform with the MN...")
 
Line 1: Line 1:
The following steps will show you hwo to setup the MNE-CPP QtCreator wizard. This wizard is of great help to conveniently create new C++ classes, which are conform with the MNE-CPP coding conventions. This helps a great deal when contributing you code to the main repository.
+
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.
  
 
# Navigate to your MNE-CPP repository ''\tools\coding_conventions\qtCreator_wizard''
 
# Navigate to your MNE-CPP repository ''\tools\coding_conventions\qtCreator_wizard''
# Copy all subfolders to your QtCreator installation folder ''\share\qtcreator\templates\wizards\classes''. Usually QtCreator is installed under the location of your Qt distribution ''\Tools'' folder.
+
# Copy all subfolders to your QtCreator installation folder ''\share\qtcreator\templates\wizards\classes''. Usually QtCreator is installed in your Qt distribution's ''\Tools'' folder.
# After copying the folders is done, restart QtCreator.
+
# Restart QtCreator.
# 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.
+
# 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.

Revision as of 15:13, 14 July 2016

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.