Difference between revisions of "Setup the MNE-CPP QtCreator wizard"
From MNE-CPP Wiki
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 | + | 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 | + | # 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.
- Navigate to your MNE-CPP repository \tools\coding_conventions\qtCreator_wizard
- 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.
- 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.