anchor.diff:  { stdenv, fetchurl, makeWrapper
  -, qtbase, qtquickcontrols, qtscript, qtdeclarative
  +, qtbase, makeQtWrapper, qtquickcontrols, qtscript, qtdeclarative, qmakeHook
   , withDocumentation ? false
   }:
   
  
positive.code: 
    buildInputs = [ makeWrapper qtbase qtscript qtquickcontrols qtdeclarative ];
  
    doCheck = false;
  
    enableParallelBuilding = true;
  
    preConfigure = ''
      qmake -spec linux-g++ qtcreator.pro
    '';
  
    buildFlags = optionalString withDocumentation " docs";
  
    installFlags = "INSTALL_ROOT=$(out)"
      + optionalString withDocumentation " install_docs";
  
    postInstall = ''
      # Install desktop file
  
negative.code:     Type=Application
      Categories=Qt;Development;IDE;
      __EOF__
      wrapQtProgram $out/bin/qtcreator
    '';
  
    meta = {
  