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

From MNE-CPP Wiki
Jump to: navigation, search
 
Line 1: Line 1:
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.
+
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 and sub-projects 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 in your Qt distribution's ''\Tools'' folder.
+
# Copy the ''mnecpp'' folder to your QtCreator installation folder ''\share\qtcreator\templates\wizards\''. Usually QtCreator is installed in your Qt distribution's ''\Tools'' folder, e.g., ''C:\Qt\Tools\QtCreator\share\qtcreator\templates\wizards''.
 
# 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.

Latest revision as of 23:33, 31 January 2018

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 and sub-projects 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 the mnecpp folder to your QtCreator installation folder \share\qtcreator\templates\wizards\. Usually QtCreator is installed in your Qt distribution's \Tools folder, e.g., C:\Qt\Tools\QtCreator\share\qtcreator\templates\wizards.
  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.