Issue #25: Linux build

This commit is contained in:
Jakub Melka
2022-09-18 13:08:21 +02:00
parent 3b57f85d4d
commit dd466d5073
44 changed files with 208 additions and 184 deletions

View File

@@ -52,4 +52,8 @@ if(MINGW)
target_link_libraries(PdfTool PRIVATE ole32 sapi)
endif()
if(LINUX_GCC)
target_link_libraries(PdfTool PRIVATE tbb)
endif()
install(TARGETS PdfTool)

View File

@@ -679,7 +679,7 @@ void PDFConsole::writeError(QString text, QStringConverter::Encoding encoding)
#else
QTextStream stream(stdout);
stream << text;
stream << endl;
stream << Qt::endl;
#endif
}

View File

@@ -18,6 +18,7 @@
#ifndef PDFTOOLABSTRACTAPPLICATION_H
#define PDFTOOLABSTRACTAPPLICATION_H
#include "pdfglobal.h"
#include "pdfoutputformatter.h"
#include "pdfdocument.h"
#include "pdfdocumenttextflow.h"