Add support for poppler-qt6

Fixes #352
This commit is contained in:
Felix Kauselmann
2022-11-13 17:05:29 +01:00
parent be85954b0c
commit 4a59dd6db6
6 changed files with 38 additions and 14 deletions

View File

@ -12,7 +12,7 @@
#include "pdf_comic.h"
#endif // NO_PDF
class ComicDB;
//#define EXTENSIONS << "*.jpg" << "*.jpeg" << "*.png" << "*.gif" << "*.tiff" << "*.tif" << "*.bmp" Comic::getSupportedImageFormats()
//#define EXTENSIONS_LITERAL << ".jpg" << ".jpeg" << ".png" << ".gif" << ".tiff" << ".tif" << ".bmp" //Comic::getSupportedImageLiteralFormats()
class Comic : public QObject
{
@ -172,6 +172,7 @@ private:
std::unique_ptr<Poppler::Document> pdfComic;
#endif
void renderPage(int page);
// void run();
public: