- Dominic Létourneau (@doumdi)
- Simon Brière (@sbriere)
Please follow those steps to setup your development environment.
- Make sure you have a valid compiler installed
- Linux : gcc/g++
- Mac : LLVM through XCode
- Windows: Visual Studio C++ 2017
- Install CMake
- Install Qt + QtCreator
- Install the latest Desktop distribution fitting your compiling environment (will not be needed in the future)
- Install MiniConda3
- Install Python 3.6 version for current user (in user directory)
- Install PyCharm Community Edition
- Opening the root CMakeLists.txt will allow to create and build the project
- Build the project, it will automatically generate the Python environment in env/python-3.6, PyQt UI and RCC files.
- All python dependencies will be automatically downloaded
- Once the project is built, you will not need QtCreator until you change or add a resource file or a QtDesigner ui file.
- If you change or add ui or resources files, you need to rebuild the project from QtCreator.
- Using PyCharm, opening the directory "{PROJECT_ROOT}/python"
- Select the existing Python 3.6 environment in "{PROJECT_ROOT}/python/env/python-3.6" in the app menu :
- PyCharm->Preferences->Project:python->Project Interpreter
- Select the existing Python 3.6 environment in "{PROJECT_ROOT}/python/env/python-3.6" in the app menu :
- Run the OpenIMUApp.py application from PyCharm
- Edit the code as you would normally do in a python program.
- Run tests in the tests directory
- In a near future, we hope to have everything in the QtCreator IDE. Stay tuned!
Enjoy!