Skip to content

JuhoErvasti/qfield-plugin-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QField Plugin Sandbox

This is a repository for testing and getting started with QField plugin development. It contains a very simple structure for a development environment on Linux.

The development environment is for Project Plugins as it is easier to set up a quick workflow for them.

How to use

Download QField as an AppImage and make sure plugins are supported in the version.

Copy the .env template:

cp .env.template .env

Fill in the relevant variables:

PROJECT_NAME=<name of the plugin>
SOURCE_DIR="src" # doesn't necessarily have to be changed
BUILD_DIR=<location you want to copy the files over> # for example /home/<user>/QField/export/$PROJECT_NAME
QFIELD=<path to the QField AppImage>

Code in src/main.qml, test your changes with

./build.sh

See also

Based on this.

About

Minimal development environment for QField plugins.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published