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:
ispyisail
2026-10-02 23:28:58 +13:00
parent 0b4fc8beb0
commit 487b67136b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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"