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 7661462400
commit 0273d607c5

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)