Add missing check for Qt version when using QPdfWriter class

This commit is contained in:
Stephan Witt 2017-10-03 22:49:23 +02:00
parent ba046cf1da
commit a4e9861278

View File

@ -8,7 +8,9 @@ g++ -std=gnu++11 $cflags lyxconvert.cpp -o lyxconvert $libs
#include <QImage>
#include <QFile>
#include <QPainter>
#if (QT_VERSION >= 0x050300)
#include <QPdfWriter>
#endif
const char * basename(const char * name)