anchor.diff:            -e "/^host_bins=/ c host_bins=$dev/bin"
       '';
   
  +  dontStrip = debugSymbols;
  +
     setupHook = ../hooks/qtbase-setup-hook.sh;
   
     meta = with lib; {
  
positive.code:   compareVersion = v: builtins.compareVersions version v;
    qmakeCacheName =
      if compareVersion "5.12.4" < 0 then ".qmake.cache" else ".qmake.stash";
  in
  
  stdenv.mkDerivation {
  
    name = "qtbase-${version}";
    inherit qtCompatVersion src version;
    inherit debug;
  
    propagatedBuildInputs =
      [
  
negative.code:       "-I" "${icu.dev}/include"
        "-pch"
      ]
      ++ lib.optional debugSymbols "-debug"
      ++ lib.optionals (compareVersion "5.11.0" < 0)
      [
        "-qml-debug"
  