|
|
3 anos atrás | |
|---|---|---|
| .ci | 3 anos atrás | |
| .docker | 3 anos atrás | |
| .github | 3 anos atrás | |
| .tx | 3 anos atrás | |
| 3rdparty | 3 anos atrás | |
| android | 3 anos atrás | |
| cmake | 3 anos atrás | |
| i18n | 3 anos atrás | |
| images | 3 anos atrás | |
| ios | 3 anos atrás | |
| platform | 3 anos atrás | |
| resources | 3 anos atrás | |
| scripts | 3 anos atrás | |
| src | 3 anos atrás | |
| templates | 3 anos atrás | |
| test | 3 anos atrás | |
| vcpkg | 3 anos atrás | |
| .clang-format | 3 anos atrás | |
| .cmake-format.yaml | 3 anos atrás | |
| .gitignore | 3 anos atrás | |
| .gitmodules | 3 anos atrás | |
| .pre-commit-config.yaml | 3 anos atrás | |
| CMakeLists.txt | 3 anos atrás | |
| LICENSE | 3 anos atrás | |
| README.md | 3 anos atrás | |
| RELEASE_NAME | 3 anos atrás | |
| publiccode.yml | 3 anos atrás | |
| sdk.conf | 3 anos atrás | |
| vcpkg.json | 3 anos atrás |
A simplified touch optimized interface for QGIS.
Perfect for field work on portable touch devices.
Check the documentation
An iOS version is in alpha state, subscribe as iOS tester to be among the first to try
QField is an open source project, licensed under the terms of the GPLv2 or later. This means that it is free to use and modify and will stay like that.
We are very happy if this app helps you to get your job done or in whatever creative way you may use it.
If you found it useful, we will be even happier if you could give something back. A couple of things you can do are
We automatically publish the latest master build to a dedicated channel on the playstore. You'll need to join the beta program to start getting the latest version.
Please remember that this is the latest development build and is not tested much.
You can build QField for Android using our Docker image. Just execute the provided script:
./scripts/build.sh
This will put the apk into a subfolder build-docker/out/build-arm64_v8a/outputs/apk
If you want to build for a different architecture, set the ARCH enviroment variable.
ARCH=x86_64 ./scripts/build.sh
You need to have Qt for Android installed and Qt Creator set up for Android development as in Qt documentation.
To setup QField for development in Qt Creator, do as follows:
OSGEO4A_STAGE_DIR to where you have extracted QField SDK to.ANDROID_TARGET_PLATFORM to an Android target platform version number of your choice. If in doubt, set it to the version of the SDK platform that you're going to use to build QField.Please note that you may get SIGILL when trying to debug QField using GDB. If that's the case, set this startup command for GDB in Qt Creator settings:
handle SIGILL pass nostop noprint
To build QField for a desktop environment:
cd QField
CMakeList.txt with QtCreator.(??)If you make your own QGIS build, use the following variables: QGIS_ANALYSIS_LIBRARY, QGIS_CORE_LIBRARY, QGIS_INCLUDE_DIR, and QGIS_PLUGIN_DIR.
In addition to the steps above, in QtCreator's build environment (access via Projects > Build), add the following variables:
QGIS_INSTALL_PATH: the same value than in the config.pri (could be /usr/local/opt/qgis3/ or the installation folder of a local build)DYLD_FRAMEWORK_PATH add _QGIS_INSTALL_PATH_/QGIS.app/Contents/Frameworks (replace _QGIS_INSTALL_PATH_)DYLD_LIBRARY_PATH add :_QGIS_INSTALL_PATH_/QGIS.app/Contents/Frameworks/qgis_core.framework/Versions/Current (replace _QGIS_INSTALL_PATH_)If you get the error invalid version number in '-mmacosx-version-min=', you need to hardcode the minimum deployment target by setting version_min_flag = -m$${version_identifier}-version-min=10.10 in /usr/local/opt/qt/mkspecs/features/mac/default_post.prf.
One line command:
gsed -i "s/version_min_flag = -m\$\${version_identifier}-version-min=\$\$deployment_target/version_min_flag = -m\$\${version_identifier}-version-min=10\.10/" /usr/local/opt/qt/mkspecs/features/mac/default_post.prf
Qt Creator > Projects > Run >Use debug version of frameworks_QField_SOURCE_DIR_/scripts/mac_deploy.sh with ${QGIS_INSTALL_PATH} as argument.Enable QMLIf you have any issue with qmake not finding the proper SDK, in /usr/local/opt/qt/mkspecs/features/mac/default_post.prf, replace $$QMAKE_MAC_SDK_PATH (3 occurences) by /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk