summaryrefslogtreecommitdiffstats
path: root/addon/doxyapp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-06-18 19:33:39 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-06-18 19:33:39 (GMT)
commitba9bb02abf6f6922a83beb2092e7bc270e6f25c1 (patch)
treed4529ac748f9e278f08a5c9ffeb803d3fd3263df /addon/doxyapp
parentf415b624a6cf6b9e577ec6131a23cb4a0e830aaf (diff)
downloadDoxygen-ba9bb02abf6f6922a83beb2092e7bc270e6f25c1.zip
Doxygen-ba9bb02abf6f6922a83beb2092e7bc270e6f25c1.tar.gz
Doxygen-ba9bb02abf6f6922a83beb2092e7bc270e6f25c1.tar.bz2
Further cleanups related to the cmake build system
Diffstat (limited to 'addon/doxyapp')
-rw-r--r--addon/doxyapp/doxyapp.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/addon/doxyapp/doxyapp.cpp b/addon/doxyapp/doxyapp.cpp
index 466a77d..6564981 100644
--- a/addon/doxyapp/doxyapp.cpp
+++ b/addon/doxyapp/doxyapp.cpp
@@ -26,7 +26,8 @@
*/
#include <stdlib.h>
-#include <unistd.h>
+#include <qfile.h>
+#include <qdir.h>
#include "doxygen.h"
#include "outputgen.h"
#include "parserintf.h"
@@ -308,10 +309,10 @@ int main(int argc,char **argv)
}
// remove temporary files
- if (!Doxygen::objDBFileName.isEmpty()) unlink(Doxygen::objDBFileName);
- if (!Doxygen::entryDBFileName.isEmpty()) unlink(Doxygen::entryDBFileName);
+ if (!Doxygen::objDBFileName.isEmpty()) QFile::remove(Doxygen::objDBFileName);
+ if (!Doxygen::entryDBFileName.isEmpty()) QFile::remove(Doxygen::entryDBFileName);
// clean up after us
- rmdir("/tmp/doxygen");
+ QDir().rmdir("/tmp/doxygen");
while (1)
{