anchor.diff:      cp -v deploy/qgroundcontrol.desktop $out/share/applications
   
       mkdir -p $out/bin
  -    cp -v build/release/QGroundControl "$out/bin/"
  +    cp -v build/staging/QGroundControl "$out/bin/"
   
       mkdir -p $out/share/qgroundcontrol
       cp -rv resources/ $out/share/qgroundcontrol
  
positive.code: 
  mkDerivation rec {
    pname = "qgroundcontrol";
    version = "4.0.11";
  
    qtInputs = [
      qtbase qtcharts qtlocation qtserialport qtsvg qtquickcontrols2
  
negative.code:   '';
  
    qmakeFlags = [
      "CONFIG+=StableBuild"
      # Default install tries to copy Qt files into package
      "CONFIG+=QGC_DISABLE_BUILD_SETUP"
      "../qgroundcontrol.pro"
  