diff --git a/libs/vtextedit b/libs/vtextedit index 8bcd2f04..76a963c0 160000 --- a/libs/vtextedit +++ b/libs/vtextedit @@ -1 +1 @@ -Subproject commit 8bcd2f0416df45409bb3b97c330adea7e3e3295b +Subproject commit 76a963c0e2ac488001872ac6f324ba1c8b177bfd diff --git a/src/widgets/editors/graphvizhelper.cpp b/src/widgets/editors/graphvizhelper.cpp index d0046231..141687c9 100644 --- a/src/widgets/editors/graphvizhelper.cpp +++ b/src/widgets/editors/graphvizhelper.cpp @@ -1,6 +1,7 @@ #include "graphvizhelper.h" #include +#include #include @@ -37,7 +38,7 @@ void GraphvizHelper::prepareProgramAndArgs(const QString &p_graphvizFile, p_program.clear(); p_args.clear(); - p_program = p_graphvizFile.isEmpty() ? QStringLiteral("dot") : p_graphvizFile; + p_program = p_graphvizFile.isEmpty() ? QStringLiteral("dot") : QDir::toNativeSeparators(p_graphvizFile); } QPair GraphvizHelper::testGraphviz(const QString &p_graphvizFile) diff --git a/src/widgets/editors/plantumlhelper.cpp b/src/widgets/editors/plantumlhelper.cpp index f891694e..2fe147b4 100644 --- a/src/widgets/editors/plantumlhelper.cpp +++ b/src/widgets/editors/plantumlhelper.cpp @@ -1,6 +1,7 @@ #include "plantumlhelper.h" #include +#include #include @@ -58,12 +59,12 @@ void PlantUmlHelper::prepareProgramAndArgs(const QString &p_plantUmlJarFile, p_args << "-Djava.awt.headless=true"; - p_args << "-jar" << p_plantUmlJarFile; + p_args << "-jar" << QDir::toNativeSeparators(p_plantUmlJarFile); p_args << "-charset" << "UTF-8"; if (!p_graphvizFile.isEmpty()) { - p_args << "-graphvizdot" << p_graphvizFile; + p_args << "-graphvizdot" << QDir::toNativeSeparators(p_graphvizFile); } p_args << "-pipe";