Note BOTH GUIDE AND DEV SOURCES HAVE MOVED TO QGroundControl Repo: https://github.com/mavlink/qgroundcontrol/tree/master/docs/en
This repo will be archived shortly.
QGroundControl Developers Guide
Home Page: https://dev.qgroundcontrol.com/en/
License: Other
Note BOTH GUIDE AND DEV SOURCES HAVE MOVED TO QGroundControl Repo: https://github.com/mavlink/qgroundcontrol/tree/master/docs/en
This repo will be archived shortly.
As I understand this part is outdated in v4.0.8 ( there are no files named FlyView.qml and FlyViewCustomLayer.qml for instance)
issue #88 fixed a similiar thing.
Bug Page: Fly View Customization · QGroundControl Developer Guide
Hi
I git qgroundcontrol but have many problem with its compile. if I use MSVC2015 32 bit I get this:
":-1: error: Unsupported Windows toolchain, only Visual Studio 2010, 2012, and 2013 are supported"
and If I use MSVC2013 64bit I get a lot of error like it :
"...\QGCMapEngineData.h:39: error: C2065: 'UINT64_MAX' : undeclared identifier"
I have an Asus laptop 64 bit (K556U) with Windows 10.
QT 5.9.3 and VS2013, VS2015 and VS 2017 is installed.
please help me. what should I do. I didn't find any clear step by step procedure for compiling this software in the net. I did it 2-3 years age with VS2010 and QT on Windows 7 and a 32 bit system. but at the moment I didn't have that system and software.
Thanks in advances.
Hamid Moghadspour.
There is a typo issue at the first sentence.
... QGC sourec code terminology ...
Bug Page: Resources Overrides · QGroundControl Developer Guide
Following the instructions here on a Mac with an M1 chip fails. Recommending a note about adding the --platform linux/x86_64
argument when building the docker image. See: https://stackoverflow.com/questions/68630526/lib64-ld-linux-x86-64-so-2-no-such-file-or-directory-error
Bug Page: Build using Containers · QGroundControl Developer Guide
DESCRIBE PROBLEM WITH DOCS HERE
Bug Page: Getting Started · QGroundControl Developers Guide
Typo:
Under 'To install Qt:' in number 2. it lists for Windows 'MCVC 2015 32 bit'.
I believe that should be MSVC not MCVC.
adding config+=install as described here generates a package folder and a tarball in it. However extracting this tar in another computer and running the executable file did not work.
From the error I got I assume this is because some missing library. As I understand generating appimage is the solution for this problem (qground also puts appimage to relases) .Also probably this file in qground git generates the appimage. However I couldn't find anywhere how to use it and couldnt figure out myself. If this is the way to generate app image, please add how to use it at the "Building QGC Installation Files" section.
Note: I am new with linux so if I might be missing something obvious please tell
(https://dev.qgroundcontrol.com/master/en/getting_started/index.html)
The Qt-version in the docs on building for Android did not work for me. I had to upgrade to 5.12.4.
"./deploy/container
" on the docs should be changed to ./deploy/docker
to match proper directory names
Bug Page: Build using Containers · QGroundControl Developer Guide
Hi
I git qgroundcontrol but have problem with its compile. I get this:
"error: Unsupported Windows toolchain, only Visual Studio 2010, 2012, and 2013 are supported"
QT 5.13.0 and VS2013, VS2015 is installed.
Please help me. What should I do? I didn't find any clear step by step procedure for compiling this software in the net.
Thanks in advances.
Content from old site probably completely useless to seed this, but reproduced below FYI:
This page describes how to back a compiled binary with all required libraries into a redistributable executable or installer.
Windows
We are using the Nullsoft Scriptable Install System (NSIS). To build the installer follow these instructions:
Install NSIS: http://nsis.sourceforge.net/Main_Page
cd to your top level qgroundcontrol directory
Use the following settings for your qmake call: CONFIG+=release CONFIG+=installer
Build QGroundControl as you normally would
When the build is complete there will be a qgroundcontrol-installer-win32.exe in your release directory
More information on NSIS:
http://nsis.sourceforge.net/Main_Page
Mac
To build the Mac installer follow these instructions:
Make sure that you have installed the SDL framework in /Library/Frameworks/SDL.Framework
Use the following settings for your qmake call: CONFIG+=release CONFIG+=installer
Build QGroundControl as you normally would
When complete there will qgroundcontrol.dmg disk image in your release directory
The qgroundcontrol.dmg will be found in your release directory.
Ubuntu / Debian
mkdir qgroundcontrol-version
cd qgroundcontrol-version/
#create package
dh_make -e "[email protected]" -c gpl --createorig
#edit files in newly appeared debian folder
#add all files to be installed into directory
ls -R
./usr:
bin share
./usr/bin:
qgroundcontrol
./usr/share:
applications pixmaps
./usr/share/applications:
qgroundcontrol.desktop
./usr/share/pixmaps:
qgroundcontrol.png
debuild -b
It would be better if the package could be build from source directly…
Convert Icons
http://www.linuxinet.com/node/177
Is it possible to fly a survey mission while using an on-board laser rangefinder to follow terrain ?
My mission requires flight at low altitude with tight altitude compliance over rolling terrain. I have experimented using the DEM terrain height but it is just not accurate enough, even using 1 meter DEM data.
https://discuss.px4.io/t/terrain-following-in-survey-mission/11681
As per discussion here we should add information about core plugin support.
E.g. in that issue "...allows a core plugin to override the default setup for the Values Widget."
multiple typos in "Custom Build Respository" part (including but not limited to title)
Bug Page: Initial Repository Setup For Custom Build · QGroundControl Developer Guide
DESCRIBE PROBLEM WITH DOCS HERE
I cannot find MissionEditor.qml that is mentioned as Top level QML code of Plan View in the project folders.
@dogmaphobic Could you please move the documentation you wrote into the official dev guide? It's impossible to find right now 8)
The only supported Qt version 5.12.6 is not available when using the latest Qt Online Installer qt-unified-windows-x86-3.2.3-online.exe for Windows 10, not in the archive either.
The build when executing make after this step "Build using the "hammer" (or "play") icons:"
it result with an error missing header file "#include <airmap/qt/client.h>" as per this post
https://discuss.px4.io/t/missing-header-files/22635
The "curl" needs to be installed on the machine since this file "QGCExternalLibs.pri" has a curl call which gets to download the airmap
inside the libs.
It would be good to add the following hint in step 1 stating to check the existing of "curl" installed otherwise "curl" has to exist to avoid the error during the make.
https://docs.qgroundcontrol.com/en/releases/daily_build_new_features.html#plan-files states
Previous version of QGC saved missions, geo-fences and rally points in separate files (.mission, .fence, .rally). QGC now save all information related to a flight plan into a single file called a Plan File with a file extension of .plan.
Upshot is that we have to update the file formats described in pages including Mission · QGroundControl Developers Guide
@DonLakeFlyer Can we have doc for new file format. How do you want to deal with the old doc formats - do those docs need to be archived or can they just disappear?
Create page with link to all licences associated with QGC project:
Confirm version for images/artwork. Confirm version licence for docs.
Propose this lives in dev guide under code submission, and includes a note that anything submitted must also comply with X license.
There is a translation mistake here in Chinese version
which in the same place in English version
The code above in Chinese version will have got an error reported like:
no such option: --skip-break-y
Bug Page: Using QGC on CentOS · QGroundControl Developer Guide
this code (code details as below) can serve as draw a circle on map, when we planning the path. I use it in “SimpleItemMapVisual.qml”. it works perfectly. But when I copy and use it in the file “PlanView.qml” , Compiling is OK. But when run this function, it fail and report error: “ TypeError: Cannot call method 'addMapItem' of undefined,"
My Code details:
property var map ///< Map control to place item in
property var _circle
property bool _circleShowing: false
function hideCircle() {
if (_circleShowing) {
_circle.destroy()
_circleShowing = false
}
}
function showCircle() {
if (!_circleShowing) {
_circle = circleComponent.createObject(map)
map.addMapItem(_circle)
_circleShowing = true
}
}
Component {
id: circleComponent
MapCircle {
color: Qt.rgba(0,0,0,0)
border.color: "yellow"
border.width: 6
center: QtPositioning.coordinate()
radius: 200
visible: true
}
}
Component.onCompleted: {
showCircle()
}
Not sure if this is considered a bug here or in QGroundControl itself.
On https://dev.qgroundcontrol.com/en/custom_build/upstream_merge.html#upstream-merge there is a mention of a script updateqrc.py
(maybe a typo of updateqgc.py
). The way I understand the documentation, this script should be in the custom
dir, at least when you have a custom build set up, which really means it should be in custom-example
in the upstream repo. But I cannot find it there or anywhere else. Does it exist?
Apparently QGC master requires Qt 5.12.5, not 5.11.3. Can we keep this information in a place where it is maintained and in sync? Maybe in the README of the source tree?
@DonLakeFlyer
Make contribution section more obvious - https://dev.qgroundcontrol.com/en/contribute/ - ie rename. Provide some more general information/rules on how to do so.
QGC can not compile without NSIS in windows. This would be a nice information in the "getting started" section.
It can be downloaded at:
https://sourceforge.net/projects/nsis/
Hi there, I build and run daily build of QGC without any problem on Win10 but I can’t build installer file for this.
Note, I install NSIS and in build settings enter ‘CONFIG+=installer’ in qmake!
Thanks a lot for any body to guide me.
"Ubuntu: Desktop Qt 5.11.0 GCC bit"
^ this line is incomplete.. what bit??
There have been some new customisation examples added to QGC recently:
Minimally each of these needs:
Propose we create a section/page "Customised Builds" in which we introduce the supported customisations.
For each customisation we have single page that covers the points above.
Now it might be for the last point (how to customise the custom example/how the custom code works) that the code is largely self explanatory??? In that case you don't need to say too much - just comment that overridding a "thingy" means creating a file of name xyz in location abc - and that you can either provide your whole new thingy by replacing the files, or tweak the example.
@dogmaphobic You want me to create placeholder docs for these? If so, will have to wait until next week.
if higher visual studio and Qt versions are supported it should be mentioned in Getting started page. Normally I would think this is not an issue however since Qt 5.12.6 is an archived old version, some errors related to it might go unnoticed (in my case Online installer failed to download related files).
If anyone uses other version and able to build QGroundControl , feel free to comment
DESCRIBE PROBLEM WITH DOCS HERE
Bug Page: Code Submission · QGroundControl Developer Guide
OS: Windows 10
QT Version: 5.15.2
Hi,
I tried to compile with both qmake and cmake on QGC Qt Creator.
When I compiled it with qmake, the codes compiled correctly. But when I try to compile with cmake it gives an error.
linux operating system is running. I think it's the bottom part.
if (WIN32) # append application icon resource for Windows set(QGC_RESOURCES ${QGC_RESOURCES} **${CMAKE_CURRENT_SOURCE_DIR}/windows/QGroundControl.rc)** endif()
Since there is no such path, it gives an error in the add_executable part. When switching to the win operating system, this part is opened.
${CMAKE_CURRENT_SOURCE_DIR}/windows/QGroundControl.rc)
path should be fixed to ${CMAKE_CURRENT_SOURCE_DIR}/deploy/windows/QGroundControl.rc)
so that cmake will run
Although it doesn't work as well as the result of compiling with qmake, at least cmake works on compiling.
Can this situation be controlled?
Docs being out of sync with the actual build process is causing support issues. This forum comment may be a reasonable starting point.
I want to fill the entire screen with QGC. Including the windows taskbar section at the bottom. no need to show the close minimize buttons on the top, as if f11 is pressed.
mainRootWindow.qml
`
ApplicationWindow {
id: mainWindow
// minimumWidth: ScreenTools.isMobile ? Screen.width : Math.min(ScreenTools.defaultFontPixelWidth * 100, Screen.width)
// minimumHeight: ScreenTools.isMobile ? Screen.height : Math.min(ScreenTools.defaultFontPixelWidth * 50, Screen.height)
visible: true
visibility: Window.FullScreen
// visibility: mainWindow.FullScreen
Component.onCompleted: {
if (!ScreenTools.isMobile || Screen.height / ScreenTools.realPixelDensity < 120 ) {
console.log("APP: true")
mainWindow.showFullScreen()
} else {
console.log("APP: false")
// width = ScreenTools.isMobile ? Screen.width : Math.min(250 * Screen.pixelDensity, Screen.width)
// height = ScreenTools.isMobile ? Screen.height : Math.min(150 * Screen.pixelDensity, Screen.height)
mainWindow.fullScreen()
}
firstRunPromptManager.nextPrompt()
}
`
I added main mainWindow.fullScreen() to the else part of this code, but still no change
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.