Development in QGIS

Core Development

QGIS is an Open Source Geographic Information System that currently runs on most Unix platforms (macOS/OS X included) and Windows. Developed using the Qt toolkit (https://www.qt.io), it’s mainly written in C++ and Python languages. This means that QGIS feels snappy to use and has a pleasing, easy to use graphical user interface.

QGIS source code is available at https://github.com/qgis/QGIS. If you wish to help on bug fixing or adding new features to the application, you are most welcome and can freely contribute via pull requests. You can also get in touch with the other developers through their mailing list at https://lists.osgeo.org/mailman/listinfo/qgis-developer.

Beside this, we’ve written a short QGIS Developers Guide to help you in QGIS coding. It provides rules, tools and steps to easily and efficiently contribute to QGIS code and is available at https://docs.qgis.org. You are warmly encouraged to read it.

Розробка плаґінів

QGIS має модульну архітектуру. Ви можете додати безліч нових функцій шляхом написання власних плаґінів. Плаґіни можуть бути написані з використанням мови C++ або Python.

If you want to contribute to QGIS Project with your plugin, it’s highly recommended to read the QGIS Developers Guide at our documentation website: https://docs.qgis.org

Розробка плаґінів на C++

Підготовка оточення та налаштування репозиторію

  1. Go to the QGIS repository in GitHub at https://github.com/qgis/QGIS/

  2. Зробіть форк репозиторія. Інформацію про форки та синхронізацію між репозиторіями можна отримати на сторінці http://help.github.com/fork-a-repo/.

  3. Клонуйте свій форк на комп’ютер, додайте батьківський репозиторій, як це описано у наведеному вище посиланні.

  4. Read the https://github.com/qgis/QGIS/blob/master/INSTALL.md about setting up the installation environment and make a compilation with ccache enabled.

Налаштування каталогу плаґіна

У каталозі QGIS:

cd src/plugins/
python plugin_builder.py

Щоб створити каталог плаґіна виконуйте інструкції майстра. Після завершення всіх кроків буде створено каталог плаґіна. Прочитайте README у каталозі плаґіна, щоб дізнатися про подальші кроки.

Під час збирання QGIS також буде зібрано ваш плаґін. Після запуску QGIS активуйте плаґін, що отримати можливість запускати його.

Розробка плаґінів на Python

QGIS has a lot to offer to python developers too.

QGIS has python bindings so you can automate tasks in QGIS via python. We provide a documentation for QGIS API at https://qgis.org/pyqgis/

You can also have a look into the Python Cookbook in our Documentation site: https://docs.qgis.org/

Particularly interested in python plugin development, you can find some instructions at https://docs.qgis.org/latest/en/docs/pyqgis_developer_cookbook/plugins/index.html

Looking for examples of python plugins, see https://plugins.qgis.org