mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Add missing check for Qt version when using QPdfWriter class
This commit is contained in:
parent
7661462400
commit
0273d607c5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user