diff options
Diffstat (limited to 'src/perlmodgen.cpp')
-rw-r--r-- | src/perlmodgen.cpp | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/src/perlmodgen.cpp b/src/perlmodgen.cpp index 054cc56..9a906bd 100644 --- a/src/perlmodgen.cpp +++ b/src/perlmodgen.cpp @@ -1405,7 +1405,7 @@ static QCString pathDoxyExec; void setPerlModDoxyfile(const QCString &qs) { pathDoxyfile = qs; - pathDoxyExec = QDir::currentDirPath(); + pathDoxyExec = QDir::currentDirPath().utf8(); } class PerlModGenerator @@ -2156,7 +2156,7 @@ bool PerlModGenerator::createOutputDir(QDir &perlModDir) QCString outputDirectory = Config_getString("OUTPUT_DIRECTORY"); if (outputDirectory.isEmpty()) { - outputDirectory=QDir::currentDirPath(); + outputDirectory=QDir::currentDirPath().utf8(); } else { @@ -2177,7 +2177,7 @@ bool PerlModGenerator::createOutputDir(QDir &perlModDir) } dir.cd(outputDirectory); } - outputDirectory=dir.absPath(); + outputDirectory=dir.absPath().utf8(); } QDir dir(outputDirectory); @@ -2870,20 +2870,21 @@ void PerlModGenerator::generate() bool perlmodLatex = Config_getBool("PERLMOD_LATEX"); - pathDoxyDocsPM = perlModDir.absPath() + "/DoxyDocs.pm"; - pathDoxyStructurePM = perlModDir.absPath() + "/DoxyStructure.pm"; - pathMakefile = perlModDir.absPath() + "/Makefile"; - pathDoxyRules = perlModDir.absPath() + "/doxyrules.make"; + QCString perlModAbsPath = perlModDir.absPath().utf8(); + pathDoxyDocsPM = perlModAbsPath + "/DoxyDocs.pm"; + pathDoxyStructurePM = perlModAbsPath + "/DoxyStructure.pm"; + pathMakefile = perlModAbsPath + "/Makefile"; + pathDoxyRules = perlModAbsPath + "/doxyrules.make"; if (perlmodLatex) { - pathDoxyStructureTex = perlModDir.absPath() + "/doxystructure.tex"; - pathDoxyFormatTex = perlModDir.absPath() + "/doxyformat.tex"; - pathDoxyLatexTex = perlModDir.absPath() + "/doxylatex.tex"; - pathDoxyLatexDVI = perlModDir.absPath() + "/doxylatex.dvi"; - pathDoxyLatexPDF = perlModDir.absPath() + "/doxylatex.pdf"; - pathDoxyDocsTex = perlModDir.absPath() + "/doxydocs.tex"; - pathDoxyLatexPL = perlModDir.absPath() + "/doxylatex.pl"; - pathDoxyLatexStructurePL = perlModDir.absPath() + "/doxylatex-structure.pl"; + pathDoxyStructureTex = perlModAbsPath + "/doxystructure.tex"; + pathDoxyFormatTex = perlModAbsPath + "/doxyformat.tex"; + pathDoxyLatexTex = perlModAbsPath + "/doxylatex.tex"; + pathDoxyLatexDVI = perlModAbsPath + "/doxylatex.dvi"; + pathDoxyLatexPDF = perlModAbsPath + "/doxylatex.pdf"; + pathDoxyDocsTex = perlModAbsPath + "/doxydocs.tex"; + pathDoxyLatexPL = perlModAbsPath + "/doxylatex.pl"; + pathDoxyLatexStructurePL = perlModAbsPath + "/doxylatex-structure.pl"; } if (!(generatePerlModOutput() |