anchor.diff:  inherit qmake5 mime-xdg
   
   DEPENDS += "qtbase qtscript qtxmlpatterns qtx11extras qtdeclarative qttools qttools-native qtsvg chrpath-replacement-native zlib"
  -DEPENDS_append_toolchain-clang = " clang llvm-common"
   DEPENDS_append_libc-musl = " libexecinfo"
   
   SRCREV = "501e7c2fddec6b93e273dadcac389cd8c934cf00"
  
positive.code: 
  do_install() {
      oe_runmake install INSTALL_ROOT=${D}${prefix}
  }
  do_install_append_toolchain-clang () {
      # Remove RPATHs embedded in bins
      chrpath --delete ${D}${libdir}/qtcreator/plugins/libClang*
      chrpath --delete ${D}${libexecdir}/qtcreator/clang*
  }
  
  FILES_${PN} += " \
  
negative.code: 
  EXTRANATIVEPATH += "chrpath-native"
  
  PACKAGECONFIG ??= ""
  PACKAGECONFIG_append_toolchain-clang = " clang"
  
  # Important note: In case clang was added to qttools' PACKAGECONFIG, it has to
  # be added here too - otherwise build fails trying to link native clang libraries
  PACKAGECONFIG[clang] = ",,clang llvm-common"
  
  COMPATIBLE_HOST_toolchain-clang_riscv32 = "null"
  COMPATIBLE_HOST_toolchain-clang_riscv64 = "null"
  
  