Adjusted TDF mapping to use paths relative to the resources directory

This commit is contained in:
Nav
2023-08-20 15:34:44 +01:00
parent cd260cc763
commit e6cafdb3cf
2 changed files with 3 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ namespace Targets::Microchip::Avr::Avr8Bit::TargetDescription
const auto descriptionFileObject = descriptionFileObjectIt.value().toObject();
const auto descriptionFilePath = QString::fromStdString(
Services::PathService::applicationDirPath()) + "/" + descriptionFileObject.find("tdfPath")->toString();
Services::PathService::resourcesDirPath()) + "/" + descriptionFileObject.find("tdfPath")->toString();
Logger::debug("Loading AVR8 target description file: " + descriptionFilePath.toStdString());