mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-03 09:14:12 +02:00
qet-mcp presets: include QPageSize outside the QtPdf guard
The preset code uses QPageSize and std::floor whether or not QtPdf was found; it compiled only because other headers bring them in. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -52,9 +52,9 @@
|
||||
#ifdef QET_HAS_QTPDF
|
||||
#include <QPdfDocument>
|
||||
#include <QPainter>
|
||||
#endif
|
||||
#include <QPageSize>
|
||||
#include <cmath>
|
||||
#endif
|
||||
#include "../qetgraphicsitem/dynamicelementtextitem.h"
|
||||
#include "../qetgraphicsitem/independenttextitem.h"
|
||||
#include "../qetgraphicsitem/qetshapeitem.h"
|
||||
|
||||
Reference in New Issue
Block a user