anchor.diff:  
   inherit qmake5
   
  -DEPENDS = "qtbase qtscript qtwebkit qtxmlpatterns qtx11extras qtdeclarative qttools qttools-native qtsvg"
  +DEPENDS = "qtbase qtscript qtwebkit qtxmlpatterns qtx11extras qtdeclarative qttools qttools-native qtsvg chrpath-replacement-native"
   DEPENDS_append_libc-musl = " libexecinfo"
   
   # Patches from https://github.com/meta-qt5/qtcreator/commits/b5.4.1
  
positive.code:     install -d ${D}${datadir}/applications
      install -m 0644 ${WORKDIR}/qtcreator.desktop.in ${D}${datadir}/applications/qtcreator.desktop
      sed -i 's:@QT5_QMAKE@:${OE_QMAKE_PATH_QT_BINS}:g' ${D}${datadir}/applications/qtcreator.desktop
  }
  
  FILES_${PN} += " \
  
negative.code: 
  EXTRA_QMAKEVARS_PRE += "IDE_LIBRARY_BASENAME=${baselib}${QT_DIR_NAME}"
  
  EXTRANATIVEPATH += "chrpath-native"
  
  do_configure_append() {
      # Find native tools
      sed -i 's:${STAGING_BINDIR}.*/qdoc:${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdoc:g' ${B}/Makefile
  